]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
Add flush() to PyOnDemandOutputWindow
[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 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
656 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
657 // Python aware sorting function for wxPyListCtrl
658 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
659 int retval = 0;
660 PyObject* func = (PyObject*)funcPtr;
661 bool blocked = wxPyBeginBlockThreads();
662
663 PyObject* args = Py_BuildValue("(ii)", item1, item2);
664 PyObject* result = PyEval_CallObject(func, args);
665 Py_DECREF(args);
666 if (result) {
667 retval = PyInt_AsLong(result);
668 Py_DECREF(result);
669 }
670
671 wxPyEndBlockThreads(blocked);
672 return retval;
673 }
674
675 // C++ Version of a Python aware class
676 class wxPyListCtrl : public wxListCtrl {
677 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
678 public:
679 wxPyListCtrl() : wxListCtrl() {}
680 wxPyListCtrl(wxWindow* parent, wxWindowID id,
681 const wxPoint& pos,
682 const wxSize& size,
683 long style,
684 const wxValidator& validator,
685 const wxString& name) :
686 wxListCtrl(parent, id, pos, size, style, validator, name) {}
687
688 bool Create(wxWindow* parent, wxWindowID id,
689 const wxPoint& pos,
690 const wxSize& size,
691 long style,
692 const wxValidator& validator,
693 const wxString& name) {
694 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
695 }
696
697 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
698 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
699 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
700
701 PYPRIVATE;
702 };
703
704 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
705
706 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
707 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
708 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
709
710 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
711 wxListItem item;
712 item.SetMask( wxLIST_MASK_STATE |
713 wxLIST_MASK_TEXT |
714 wxLIST_MASK_IMAGE |
715 wxLIST_MASK_DATA |
716 wxLIST_SET_ITEM |
717 wxLIST_MASK_WIDTH |
718 wxLIST_MASK_FORMAT
719 );
720 if (self->GetColumn(col, item))
721 return new wxListItem(item);
722 else
723 return NULL;
724 }
725 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
726 wxListItem* info = new wxListItem;
727 info->m_itemId = itemId;
728 info->m_col = col;
729 info->m_mask = 0xFFFF;
730 self->GetItem(*info);
731 return info;
732 }
733 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
734 wxPoint pos;
735 self->GetItemPosition(item, pos);
736 return pos;
737 }
738 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
739 wxRect rect;
740 self->GetItemRect(item, rect, code);
741 return rect;
742 }
743 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
744 if (!PyCallable_Check(func))
745 return False;
746 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
747 }
748 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
749
750
751
752 return (wxWindow*)self->m_mainWin;
753
754 }
755
756 #include <wx/treectrl.h>
757 #include "wx/wxPython/pytree.h"
758
759 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
760 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
761 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
762 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
763 // C++ version of Python aware wxTreeCtrl
764 class wxPyTreeCtrl : public wxTreeCtrl {
765 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
766 public:
767 wxPyTreeCtrl() : wxTreeCtrl() {}
768 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
769 const wxPoint& pos,
770 const wxSize& size,
771 long style,
772 const wxValidator& validator,
773 const wxString& name) :
774 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
775
776 bool Create(wxWindow *parent, wxWindowID id,
777 const wxPoint& pos,
778 const wxSize& size,
779 long style,
780 const wxValidator& validator,
781 const wxString& name) {
782 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
783 }
784
785
786 int OnCompareItems(const wxTreeItemId& item1,
787 const wxTreeItemId& item2) {
788 int rval = 0;
789 bool found;
790 bool blocked = wxPyBeginBlockThreads();
791 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
792 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
793 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
794 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
795 Py_DECREF(o1);
796 Py_DECREF(o2);
797 }
798 wxPyEndBlockThreads(blocked);
799 if (! found)
800 rval = wxTreeCtrl::OnCompareItems(item1, item2);
801 return rval;
802 }
803 PYPRIVATE;
804 };
805
806 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
807
808
809
810 #if UINT_MAX < LONG_MAX
811 #define SWIG_FromUnsignedInt SWIG_FromLong
812 #else
813 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 #endif
815
816
817 SWIGSTATICINLINE(unsigned long)
818 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
819 unsigned long max_value)
820 {
821 if (!PyErr_Occurred()) {
822 if (value > max_value) {
823 PyObject *err =
824 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
825 value, type, max_value);
826 PyErr_SetObject(PyExc_OverflowError, err);
827 Py_DECREF(err);
828 }
829 }
830 return value;
831 }
832
833
834 #if UINT_MAX != ULONG_MAX
835 SWIGSTATICINLINE(unsigned int)
836 SWIG_AsUnsignedInt(PyObject *obj)
837 {
838 return swig_numeric_cast(unsigned int,
839 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
840 "unsigned int", UINT_MAX));
841 }
842 #else
843 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 #endif
845
846
847 SWIGSTATICINLINE(int)
848 SWIG_CheckUnsignedInt(PyObject* obj)
849 {
850 SWIG_AsUnsignedInt(obj);
851 if (PyErr_Occurred()) {
852 PyErr_Clear();
853 return 0;
854 } else {
855 return 1;
856 }
857 }
858
859 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
860 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
861 if (data == NULL) {
862 data = new wxPyTreeItemData();
863 data->SetId(item); // set the id
864 self->SetItemData(item, data);
865 }
866 return data;
867 }
868 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
869 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
870 if (data == NULL) {
871 data = new wxPyTreeItemData();
872 data->SetId(item); // set the id
873 self->SetItemData(item, data);
874 }
875 return data->GetData();
876 }
877 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
878 data->SetId(item); // set the id
879 self->SetItemData(item, data);
880 }
881 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
882 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
883 if (data == NULL) {
884 data = new wxPyTreeItemData(obj);
885 data->SetId(item); // set the id
886 self->SetItemData(item, data);
887 } else
888 data->SetData(obj);
889 }
890 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
891 bool blocked = wxPyBeginBlockThreads();
892 PyObject* rval = PyList_New(0);
893 wxArrayTreeItemIds array;
894 size_t num, x;
895 num = self->GetSelections(array);
896 for (x=0; x < num; x++) {
897 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
898 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
899 PyList_Append(rval, item);
900 Py_DECREF(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 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
952
953 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
954 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
956 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
957
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
960 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
961
962 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
963 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
964
965 DEC_PYCALLBACK__(InitDialog);
966 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
967 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
968 DEC_PYCALLBACK_BOOL_(Validate);
969
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
971 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
972 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
973
974 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
975 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
976
977 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
978 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
979 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
980
981 PYPRIVATE;
982 };
983
984 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
985
986 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
987 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
988 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
989 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
990
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
992 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
993 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
994
995 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
996 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
997
998 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
999 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1000 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1001 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1002
1003 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1004 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1005 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1006
1007 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1008 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1009
1010 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1011 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1012 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1013
1014
1015
1016 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1017
1018 #include <wx/generic/dragimgg.h>
1019
1020 #ifdef __cplusplus
1021 extern "C" {
1022 #endif
1023 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1024 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1025 return 1;
1026 }
1027
1028
1029 static PyObject *_wrap_ButtonNameStr_get() {
1030 PyObject *pyobj;
1031
1032 {
1033 #if wxUSE_UNICODE
1034 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1035 #else
1036 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1037 #endif
1038 }
1039 return pyobj;
1040 }
1041
1042
1043 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxWindow *arg1 = (wxWindow *) 0 ;
1046 int arg2 = (int) -1 ;
1047 wxString const &arg3_defvalue = wxPyEmptyString ;
1048 wxString *arg3 = (wxString *) &arg3_defvalue ;
1049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1051 wxSize const &arg5_defvalue = wxDefaultSize ;
1052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1053 long arg6 = (long) 0 ;
1054 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1055 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1056 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1057 wxString *arg8 = (wxString *) &arg8_defvalue ;
1058 wxButton *result;
1059 bool temp3 = False ;
1060 wxPoint temp4 ;
1061 wxSize temp5 ;
1062 bool temp8 = False ;
1063 PyObject * obj0 = 0 ;
1064 PyObject * obj1 = 0 ;
1065 PyObject * obj2 = 0 ;
1066 PyObject * obj3 = 0 ;
1067 PyObject * obj4 = 0 ;
1068 PyObject * obj5 = 0 ;
1069 PyObject * obj6 = 0 ;
1070 PyObject * obj7 = 0 ;
1071 char *kwnames[] = {
1072 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1073 };
1074
1075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1078 if (obj1) {
1079 arg2 = (int) SWIG_AsInt(obj1);
1080 if (PyErr_Occurred()) SWIG_fail;
1081 }
1082 if (obj2) {
1083 {
1084 arg3 = wxString_in_helper(obj2);
1085 if (arg3 == NULL) SWIG_fail;
1086 temp3 = True;
1087 }
1088 }
1089 if (obj3) {
1090 {
1091 arg4 = &temp4;
1092 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1093 }
1094 }
1095 if (obj4) {
1096 {
1097 arg5 = &temp5;
1098 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1099 }
1100 }
1101 if (obj5) {
1102 arg6 = (long) SWIG_AsLong(obj5);
1103 if (PyErr_Occurred()) SWIG_fail;
1104 }
1105 if (obj6) {
1106 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1107 SWIG_POINTER_EXCEPTION | 0)) == -1)
1108 SWIG_fail;
1109 if (arg7 == NULL) {
1110 PyErr_SetString(PyExc_TypeError,"null reference");
1111 SWIG_fail;
1112 }
1113 }
1114 if (obj7) {
1115 {
1116 arg8 = wxString_in_helper(obj7);
1117 if (arg8 == NULL) SWIG_fail;
1118 temp8 = True;
1119 }
1120 }
1121 {
1122 if (!wxPyCheckForApp()) SWIG_fail;
1123 PyThreadState* __tstate = wxPyBeginAllowThreads();
1124 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1125
1126 wxPyEndAllowThreads(__tstate);
1127 if (PyErr_Occurred()) SWIG_fail;
1128 }
1129 {
1130 resultobj = wxPyMake_wxObject(result);
1131 }
1132 {
1133 if (temp3)
1134 delete arg3;
1135 }
1136 {
1137 if (temp8)
1138 delete arg8;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp3)
1144 delete arg3;
1145 }
1146 {
1147 if (temp8)
1148 delete arg8;
1149 }
1150 return NULL;
1151 }
1152
1153
1154 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1155 PyObject *resultobj;
1156 wxButton *result;
1157 char *kwnames[] = {
1158 NULL
1159 };
1160
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1162 {
1163 if (!wxPyCheckForApp()) SWIG_fail;
1164 PyThreadState* __tstate = wxPyBeginAllowThreads();
1165 result = (wxButton *)new wxButton();
1166
1167 wxPyEndAllowThreads(__tstate);
1168 if (PyErr_Occurred()) SWIG_fail;
1169 }
1170 {
1171 resultobj = wxPyMake_wxObject(result);
1172 }
1173 return resultobj;
1174 fail:
1175 return NULL;
1176 }
1177
1178
1179 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject *resultobj;
1181 wxButton *arg1 = (wxButton *) 0 ;
1182 wxWindow *arg2 = (wxWindow *) 0 ;
1183 int arg3 = (int) -1 ;
1184 wxString const &arg4_defvalue = wxPyEmptyString ;
1185 wxString *arg4 = (wxString *) &arg4_defvalue ;
1186 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1187 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1188 wxSize const &arg6_defvalue = wxDefaultSize ;
1189 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1190 long arg7 = (long) 0 ;
1191 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1192 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1193 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1194 wxString *arg9 = (wxString *) &arg9_defvalue ;
1195 bool result;
1196 bool temp4 = False ;
1197 wxPoint temp5 ;
1198 wxSize temp6 ;
1199 bool temp9 = False ;
1200 PyObject * obj0 = 0 ;
1201 PyObject * obj1 = 0 ;
1202 PyObject * obj2 = 0 ;
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj4 = 0 ;
1205 PyObject * obj5 = 0 ;
1206 PyObject * obj6 = 0 ;
1207 PyObject * obj7 = 0 ;
1208 PyObject * obj8 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1218 if (obj2) {
1219 arg3 = (int) SWIG_AsInt(obj2);
1220 if (PyErr_Occurred()) SWIG_fail;
1221 }
1222 if (obj3) {
1223 {
1224 arg4 = wxString_in_helper(obj3);
1225 if (arg4 == NULL) SWIG_fail;
1226 temp4 = True;
1227 }
1228 }
1229 if (obj4) {
1230 {
1231 arg5 = &temp5;
1232 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1233 }
1234 }
1235 if (obj5) {
1236 {
1237 arg6 = &temp6;
1238 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1239 }
1240 }
1241 if (obj6) {
1242 arg7 = (long) SWIG_AsLong(obj6);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 }
1245 if (obj7) {
1246 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1247 SWIG_POINTER_EXCEPTION | 0)) == -1)
1248 SWIG_fail;
1249 if (arg8 == NULL) {
1250 PyErr_SetString(PyExc_TypeError,"null reference");
1251 SWIG_fail;
1252 }
1253 }
1254 if (obj8) {
1255 {
1256 arg9 = wxString_in_helper(obj8);
1257 if (arg9 == NULL) SWIG_fail;
1258 temp9 = True;
1259 }
1260 }
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 {
1269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1270 }
1271 {
1272 if (temp4)
1273 delete arg4;
1274 }
1275 {
1276 if (temp9)
1277 delete arg9;
1278 }
1279 return resultobj;
1280 fail:
1281 {
1282 if (temp4)
1283 delete arg4;
1284 }
1285 {
1286 if (temp9)
1287 delete arg9;
1288 }
1289 return NULL;
1290 }
1291
1292
1293 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1294 PyObject *resultobj;
1295 wxButton *arg1 = (wxButton *) 0 ;
1296 PyObject * obj0 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 (arg1)->SetDefault();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 Py_INCREF(Py_None); resultobj = Py_None;
1312 return resultobj;
1313 fail:
1314 return NULL;
1315 }
1316
1317
1318 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject *resultobj;
1320 wxSize result;
1321 char *kwnames[] = {
1322 NULL
1323 };
1324
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = wxButton::GetDefaultSize();
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 {
1334 wxSize * resultptr;
1335 resultptr = new wxSize((wxSize &) result);
1336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1337 }
1338 return resultobj;
1339 fail:
1340 return NULL;
1341 }
1342
1343
1344 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1347 wxVisualAttributes result;
1348 PyObject * obj0 = 0 ;
1349 char *kwnames[] = {
1350 (char *) "variant", NULL
1351 };
1352
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1354 if (obj0) {
1355 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 }
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 {
1366 wxVisualAttributes * resultptr;
1367 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1369 }
1370 return resultobj;
1371 fail:
1372 return NULL;
1373 }
1374
1375
1376 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1377 PyObject *obj;
1378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1379 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1380 Py_INCREF(obj);
1381 return Py_BuildValue((char *)"");
1382 }
1383 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1384 PyObject *resultobj;
1385 wxWindow *arg1 = (wxWindow *) 0 ;
1386 int arg2 = (int) -1 ;
1387 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1388 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1391 wxSize const &arg5_defvalue = wxDefaultSize ;
1392 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1393 long arg6 = (long) wxBU_AUTODRAW ;
1394 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1395 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1396 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1397 wxString *arg8 = (wxString *) &arg8_defvalue ;
1398 wxBitmapButton *result;
1399 wxPoint temp4 ;
1400 wxSize temp5 ;
1401 bool temp8 = False ;
1402 PyObject * obj0 = 0 ;
1403 PyObject * obj1 = 0 ;
1404 PyObject * obj2 = 0 ;
1405 PyObject * obj3 = 0 ;
1406 PyObject * obj4 = 0 ;
1407 PyObject * obj5 = 0 ;
1408 PyObject * obj6 = 0 ;
1409 PyObject * obj7 = 0 ;
1410 char *kwnames[] = {
1411 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1412 };
1413
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1417 if (obj1) {
1418 arg2 = (int) SWIG_AsInt(obj1);
1419 if (PyErr_Occurred()) SWIG_fail;
1420 }
1421 if (obj2) {
1422 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1423 SWIG_POINTER_EXCEPTION | 0)) == -1)
1424 SWIG_fail;
1425 if (arg3 == NULL) {
1426 PyErr_SetString(PyExc_TypeError,"null reference");
1427 SWIG_fail;
1428 }
1429 }
1430 if (obj3) {
1431 {
1432 arg4 = &temp4;
1433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1434 }
1435 }
1436 if (obj4) {
1437 {
1438 arg5 = &temp5;
1439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1440 }
1441 }
1442 if (obj5) {
1443 arg6 = (long) SWIG_AsLong(obj5);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 if (obj6) {
1447 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1448 SWIG_POINTER_EXCEPTION | 0)) == -1)
1449 SWIG_fail;
1450 if (arg7 == NULL) {
1451 PyErr_SetString(PyExc_TypeError,"null reference");
1452 SWIG_fail;
1453 }
1454 }
1455 if (obj7) {
1456 {
1457 arg8 = wxString_in_helper(obj7);
1458 if (arg8 == NULL) SWIG_fail;
1459 temp8 = True;
1460 }
1461 }
1462 {
1463 if (!wxPyCheckForApp()) SWIG_fail;
1464 PyThreadState* __tstate = wxPyBeginAllowThreads();
1465 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1466
1467 wxPyEndAllowThreads(__tstate);
1468 if (PyErr_Occurred()) SWIG_fail;
1469 }
1470 {
1471 resultobj = wxPyMake_wxObject(result);
1472 }
1473 {
1474 if (temp8)
1475 delete arg8;
1476 }
1477 return resultobj;
1478 fail:
1479 {
1480 if (temp8)
1481 delete arg8;
1482 }
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxBitmapButton *result;
1490 char *kwnames[] = {
1491 NULL
1492 };
1493
1494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1495 {
1496 if (!wxPyCheckForApp()) SWIG_fail;
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 result = (wxBitmapButton *)new wxBitmapButton();
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) SWIG_fail;
1502 }
1503 {
1504 resultobj = wxPyMake_wxObject(result);
1505 }
1506 return resultobj;
1507 fail:
1508 return NULL;
1509 }
1510
1511
1512 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject *resultobj;
1514 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1515 wxWindow *arg2 = (wxWindow *) 0 ;
1516 int arg3 = (int) -1 ;
1517 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1518 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1519 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1520 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1521 wxSize const &arg6_defvalue = wxDefaultSize ;
1522 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1523 long arg7 = (long) wxBU_AUTODRAW ;
1524 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1525 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1526 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1527 wxString *arg9 = (wxString *) &arg9_defvalue ;
1528 bool result;
1529 wxPoint temp5 ;
1530 wxSize temp6 ;
1531 bool temp9 = False ;
1532 PyObject * obj0 = 0 ;
1533 PyObject * obj1 = 0 ;
1534 PyObject * obj2 = 0 ;
1535 PyObject * obj3 = 0 ;
1536 PyObject * obj4 = 0 ;
1537 PyObject * obj5 = 0 ;
1538 PyObject * obj6 = 0 ;
1539 PyObject * obj7 = 0 ;
1540 PyObject * obj8 = 0 ;
1541 char *kwnames[] = {
1542 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1543 };
1544
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1550 if (obj2) {
1551 arg3 = (int) SWIG_AsInt(obj2);
1552 if (PyErr_Occurred()) SWIG_fail;
1553 }
1554 if (obj3) {
1555 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1556 SWIG_POINTER_EXCEPTION | 0)) == -1)
1557 SWIG_fail;
1558 if (arg4 == NULL) {
1559 PyErr_SetString(PyExc_TypeError,"null reference");
1560 SWIG_fail;
1561 }
1562 }
1563 if (obj4) {
1564 {
1565 arg5 = &temp5;
1566 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1567 }
1568 }
1569 if (obj5) {
1570 {
1571 arg6 = &temp6;
1572 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1573 }
1574 }
1575 if (obj6) {
1576 arg7 = (long) SWIG_AsLong(obj6);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 if (obj7) {
1580 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1581 SWIG_POINTER_EXCEPTION | 0)) == -1)
1582 SWIG_fail;
1583 if (arg8 == NULL) {
1584 PyErr_SetString(PyExc_TypeError,"null reference");
1585 SWIG_fail;
1586 }
1587 }
1588 if (obj8) {
1589 {
1590 arg9 = wxString_in_helper(obj8);
1591 if (arg9 == NULL) SWIG_fail;
1592 temp9 = True;
1593 }
1594 }
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) SWIG_fail;
1601 }
1602 {
1603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1604 }
1605 {
1606 if (temp9)
1607 delete arg9;
1608 }
1609 return resultobj;
1610 fail:
1611 {
1612 if (temp9)
1613 delete arg9;
1614 }
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1622 wxBitmap result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1631 {
1632 PyThreadState* __tstate = wxPyBeginAllowThreads();
1633 result = (arg1)->GetBitmapLabel();
1634
1635 wxPyEndAllowThreads(__tstate);
1636 if (PyErr_Occurred()) SWIG_fail;
1637 }
1638 {
1639 wxBitmap * resultptr;
1640 resultptr = new wxBitmap((wxBitmap &) result);
1641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1642 }
1643 return resultobj;
1644 fail:
1645 return NULL;
1646 }
1647
1648
1649 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject *resultobj;
1651 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1652 wxBitmap result;
1653 PyObject * obj0 = 0 ;
1654 char *kwnames[] = {
1655 (char *) "self", NULL
1656 };
1657
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1661 {
1662 PyThreadState* __tstate = wxPyBeginAllowThreads();
1663 result = (arg1)->GetBitmapDisabled();
1664
1665 wxPyEndAllowThreads(__tstate);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 }
1668 {
1669 wxBitmap * resultptr;
1670 resultptr = new wxBitmap((wxBitmap &) result);
1671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1672 }
1673 return resultobj;
1674 fail:
1675 return NULL;
1676 }
1677
1678
1679 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject *resultobj;
1681 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1682 wxBitmap result;
1683 PyObject * obj0 = 0 ;
1684 char *kwnames[] = {
1685 (char *) "self", NULL
1686 };
1687
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1691 {
1692 PyThreadState* __tstate = wxPyBeginAllowThreads();
1693 result = (arg1)->GetBitmapFocus();
1694
1695 wxPyEndAllowThreads(__tstate);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 {
1699 wxBitmap * resultptr;
1700 resultptr = new wxBitmap((wxBitmap &) result);
1701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1702 }
1703 return resultobj;
1704 fail:
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1712 wxBitmap result;
1713 PyObject * obj0 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "self", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1721 {
1722 PyThreadState* __tstate = wxPyBeginAllowThreads();
1723 result = (arg1)->GetBitmapSelected();
1724
1725 wxPyEndAllowThreads(__tstate);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 {
1729 wxBitmap * resultptr;
1730 resultptr = new wxBitmap((wxBitmap &) result);
1731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1732 }
1733 return resultobj;
1734 fail:
1735 return NULL;
1736 }
1737
1738
1739 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject *resultobj;
1741 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1742 wxBitmap *arg2 = 0 ;
1743 PyObject * obj0 = 0 ;
1744 PyObject * obj1 = 0 ;
1745 char *kwnames[] = {
1746 (char *) "self",(char *) "bitmap", NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1753 SWIG_POINTER_EXCEPTION | 0)) == -1)
1754 SWIG_fail;
1755 if (arg2 == NULL) {
1756 PyErr_SetString(PyExc_TypeError,"null reference");
1757 SWIG_fail;
1758 }
1759 {
1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
1761 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1762
1763 wxPyEndAllowThreads(__tstate);
1764 if (PyErr_Occurred()) SWIG_fail;
1765 }
1766 Py_INCREF(Py_None); resultobj = Py_None;
1767 return resultobj;
1768 fail:
1769 return NULL;
1770 }
1771
1772
1773 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject *resultobj;
1775 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1776 wxBitmap *arg2 = 0 ;
1777 PyObject * obj0 = 0 ;
1778 PyObject * obj1 = 0 ;
1779 char *kwnames[] = {
1780 (char *) "self",(char *) "bitmap", NULL
1781 };
1782
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1787 SWIG_POINTER_EXCEPTION | 0)) == -1)
1788 SWIG_fail;
1789 if (arg2 == NULL) {
1790 PyErr_SetString(PyExc_TypeError,"null reference");
1791 SWIG_fail;
1792 }
1793 {
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 Py_INCREF(Py_None); resultobj = Py_None;
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1810 wxBitmap *arg2 = 0 ;
1811 PyObject * obj0 = 0 ;
1812 PyObject * obj1 = 0 ;
1813 char *kwnames[] = {
1814 (char *) "self",(char *) "bitmap", NULL
1815 };
1816
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1)
1822 SWIG_fail;
1823 if (arg2 == NULL) {
1824 PyErr_SetString(PyExc_TypeError,"null reference");
1825 SWIG_fail;
1826 }
1827 {
1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
1829 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 Py_INCREF(Py_None); resultobj = Py_None;
1835 return resultobj;
1836 fail:
1837 return NULL;
1838 }
1839
1840
1841 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject *resultobj;
1843 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1844 wxBitmap *arg2 = 0 ;
1845 PyObject * obj0 = 0 ;
1846 PyObject * obj1 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self",(char *) "bitmap", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1855 SWIG_POINTER_EXCEPTION | 0)) == -1)
1856 SWIG_fail;
1857 if (arg2 == NULL) {
1858 PyErr_SetString(PyExc_TypeError,"null reference");
1859 SWIG_fail;
1860 }
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 Py_INCREF(Py_None); resultobj = Py_None;
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1878 int arg2 ;
1879 int arg3 ;
1880 PyObject * obj0 = 0 ;
1881 PyObject * obj1 = 0 ;
1882 PyObject * obj2 = 0 ;
1883 char *kwnames[] = {
1884 (char *) "self",(char *) "x",(char *) "y", NULL
1885 };
1886
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1890 arg2 = (int) SWIG_AsInt(obj1);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 arg3 = (int) SWIG_AsInt(obj2);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 {
1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
1896 (arg1)->SetMargins(arg2,arg3);
1897
1898 wxPyEndAllowThreads(__tstate);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 }
1901 Py_INCREF(Py_None); resultobj = Py_None;
1902 return resultobj;
1903 fail:
1904 return NULL;
1905 }
1906
1907
1908 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1911 int result;
1912 PyObject * obj0 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "self", NULL
1915 };
1916
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1920 {
1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
1922 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1923
1924 wxPyEndAllowThreads(__tstate);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 resultobj = SWIG_FromInt((int)result);
1928 return resultobj;
1929 fail:
1930 return NULL;
1931 }
1932
1933
1934 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1937 int result;
1938 PyObject * obj0 = 0 ;
1939 char *kwnames[] = {
1940 (char *) "self", NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1946 {
1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
1948 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1949
1950 wxPyEndAllowThreads(__tstate);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 }
1953 resultobj = SWIG_FromInt((int)result);
1954 return resultobj;
1955 fail:
1956 return NULL;
1957 }
1958
1959
1960 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1961 PyObject *obj;
1962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1963 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1964 Py_INCREF(obj);
1965 return Py_BuildValue((char *)"");
1966 }
1967 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1968 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1969 return 1;
1970 }
1971
1972
1973 static PyObject *_wrap_CheckBoxNameStr_get() {
1974 PyObject *pyobj;
1975
1976 {
1977 #if wxUSE_UNICODE
1978 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1979 #else
1980 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1981 #endif
1982 }
1983 return pyobj;
1984 }
1985
1986
1987 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 wxWindow *arg1 = (wxWindow *) 0 ;
1990 int arg2 = (int) -1 ;
1991 wxString const &arg3_defvalue = wxPyEmptyString ;
1992 wxString *arg3 = (wxString *) &arg3_defvalue ;
1993 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1994 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1995 wxSize const &arg5_defvalue = wxDefaultSize ;
1996 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1997 long arg6 = (long) 0 ;
1998 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1999 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2000 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
2001 wxString *arg8 = (wxString *) &arg8_defvalue ;
2002 wxCheckBox *result;
2003 bool temp3 = False ;
2004 wxPoint temp4 ;
2005 wxSize temp5 ;
2006 bool temp8 = False ;
2007 PyObject * obj0 = 0 ;
2008 PyObject * obj1 = 0 ;
2009 PyObject * obj2 = 0 ;
2010 PyObject * obj3 = 0 ;
2011 PyObject * obj4 = 0 ;
2012 PyObject * obj5 = 0 ;
2013 PyObject * obj6 = 0 ;
2014 PyObject * obj7 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2022 if (obj1) {
2023 arg2 = (int) SWIG_AsInt(obj1);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 }
2026 if (obj2) {
2027 {
2028 arg3 = wxString_in_helper(obj2);
2029 if (arg3 == NULL) SWIG_fail;
2030 temp3 = True;
2031 }
2032 }
2033 if (obj3) {
2034 {
2035 arg4 = &temp4;
2036 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2037 }
2038 }
2039 if (obj4) {
2040 {
2041 arg5 = &temp5;
2042 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2043 }
2044 }
2045 if (obj5) {
2046 arg6 = (long) SWIG_AsLong(obj5);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 }
2049 if (obj6) {
2050 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2051 SWIG_POINTER_EXCEPTION | 0)) == -1)
2052 SWIG_fail;
2053 if (arg7 == NULL) {
2054 PyErr_SetString(PyExc_TypeError,"null reference");
2055 SWIG_fail;
2056 }
2057 }
2058 if (obj7) {
2059 {
2060 arg8 = wxString_in_helper(obj7);
2061 if (arg8 == NULL) SWIG_fail;
2062 temp8 = True;
2063 }
2064 }
2065 {
2066 if (!wxPyCheckForApp()) SWIG_fail;
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2074 {
2075 if (temp3)
2076 delete arg3;
2077 }
2078 {
2079 if (temp8)
2080 delete arg8;
2081 }
2082 return resultobj;
2083 fail:
2084 {
2085 if (temp3)
2086 delete arg3;
2087 }
2088 {
2089 if (temp8)
2090 delete arg8;
2091 }
2092 return NULL;
2093 }
2094
2095
2096 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 wxCheckBox *result;
2099 char *kwnames[] = {
2100 NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2104 {
2105 if (!wxPyCheckForApp()) SWIG_fail;
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 result = (wxCheckBox *)new wxCheckBox();
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) SWIG_fail;
2111 }
2112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2113 return resultobj;
2114 fail:
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2122 wxWindow *arg2 = (wxWindow *) 0 ;
2123 int arg3 = (int) -1 ;
2124 wxString const &arg4_defvalue = wxPyEmptyString ;
2125 wxString *arg4 = (wxString *) &arg4_defvalue ;
2126 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2127 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2128 wxSize const &arg6_defvalue = wxDefaultSize ;
2129 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2130 long arg7 = (long) 0 ;
2131 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2132 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2133 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2134 wxString *arg9 = (wxString *) &arg9_defvalue ;
2135 bool result;
2136 bool temp4 = False ;
2137 wxPoint temp5 ;
2138 wxSize temp6 ;
2139 bool temp9 = False ;
2140 PyObject * obj0 = 0 ;
2141 PyObject * obj1 = 0 ;
2142 PyObject * obj2 = 0 ;
2143 PyObject * obj3 = 0 ;
2144 PyObject * obj4 = 0 ;
2145 PyObject * obj5 = 0 ;
2146 PyObject * obj6 = 0 ;
2147 PyObject * obj7 = 0 ;
2148 PyObject * obj8 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2158 if (obj2) {
2159 arg3 = (int) SWIG_AsInt(obj2);
2160 if (PyErr_Occurred()) SWIG_fail;
2161 }
2162 if (obj3) {
2163 {
2164 arg4 = wxString_in_helper(obj3);
2165 if (arg4 == NULL) SWIG_fail;
2166 temp4 = True;
2167 }
2168 }
2169 if (obj4) {
2170 {
2171 arg5 = &temp5;
2172 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2173 }
2174 }
2175 if (obj5) {
2176 {
2177 arg6 = &temp6;
2178 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2179 }
2180 }
2181 if (obj6) {
2182 arg7 = (long) SWIG_AsLong(obj6);
2183 if (PyErr_Occurred()) SWIG_fail;
2184 }
2185 if (obj7) {
2186 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2187 SWIG_POINTER_EXCEPTION | 0)) == -1)
2188 SWIG_fail;
2189 if (arg8 == NULL) {
2190 PyErr_SetString(PyExc_TypeError,"null reference");
2191 SWIG_fail;
2192 }
2193 }
2194 if (obj8) {
2195 {
2196 arg9 = wxString_in_helper(obj8);
2197 if (arg9 == NULL) SWIG_fail;
2198 temp9 = True;
2199 }
2200 }
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 {
2209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2210 }
2211 {
2212 if (temp4)
2213 delete arg4;
2214 }
2215 {
2216 if (temp9)
2217 delete arg9;
2218 }
2219 return resultobj;
2220 fail:
2221 {
2222 if (temp4)
2223 delete arg4;
2224 }
2225 {
2226 if (temp9)
2227 delete arg9;
2228 }
2229 return NULL;
2230 }
2231
2232
2233 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2234 PyObject *resultobj;
2235 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2236 bool result;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = (bool)(arg1)->GetValue();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 {
2253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2254 }
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2264 bool result;
2265 PyObject * obj0 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 result = (bool)(arg1)->IsChecked();
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 {
2281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2282 }
2283 return resultobj;
2284 fail:
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject *resultobj;
2291 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2292 bool arg2 ;
2293 PyObject * obj0 = 0 ;
2294 PyObject * obj1 = 0 ;
2295 char *kwnames[] = {
2296 (char *) "self",(char *) "state", NULL
2297 };
2298
2299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2302 arg2 = (bool const) SWIG_AsBool(obj1);
2303 if (PyErr_Occurred()) SWIG_fail;
2304 {
2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
2306 (arg1)->SetValue(arg2);
2307
2308 wxPyEndAllowThreads(__tstate);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 }
2311 Py_INCREF(Py_None); resultobj = Py_None;
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2321 int result;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 resultobj = SWIG_FromInt((int)result);
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2347 int arg2 ;
2348 PyObject * obj0 = 0 ;
2349 PyObject * obj1 = 0 ;
2350 char *kwnames[] = {
2351 (char *) "self",(char *) "state", NULL
2352 };
2353
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2357 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 {
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
2361 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2362
2363 wxPyEndAllowThreads(__tstate);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 }
2366 Py_INCREF(Py_None); resultobj = Py_None;
2367 return resultobj;
2368 fail:
2369 return NULL;
2370 }
2371
2372
2373 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2376 bool result;
2377 PyObject * obj0 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2385 {
2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
2387 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2388
2389 wxPyEndAllowThreads(__tstate);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 }
2392 {
2393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2394 }
2395 return resultobj;
2396 fail:
2397 return NULL;
2398 }
2399
2400
2401 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject *resultobj;
2403 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2404 bool result;
2405 PyObject * obj0 = 0 ;
2406 char *kwnames[] = {
2407 (char *) "self", NULL
2408 };
2409
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2413 {
2414 PyThreadState* __tstate = wxPyBeginAllowThreads();
2415 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2416
2417 wxPyEndAllowThreads(__tstate);
2418 if (PyErr_Occurred()) SWIG_fail;
2419 }
2420 {
2421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2422 }
2423 return resultobj;
2424 fail:
2425 return NULL;
2426 }
2427
2428
2429 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2432 wxVisualAttributes result;
2433 PyObject * obj0 = 0 ;
2434 char *kwnames[] = {
2435 (char *) "variant", NULL
2436 };
2437
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2439 if (obj0) {
2440 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2441 if (PyErr_Occurred()) SWIG_fail;
2442 }
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 {
2451 wxVisualAttributes * resultptr;
2452 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2454 }
2455 return resultobj;
2456 fail:
2457 return NULL;
2458 }
2459
2460
2461 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2462 PyObject *obj;
2463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2464 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2465 Py_INCREF(obj);
2466 return Py_BuildValue((char *)"");
2467 }
2468 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2469 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2470 return 1;
2471 }
2472
2473
2474 static PyObject *_wrap_ChoiceNameStr_get() {
2475 PyObject *pyobj;
2476
2477 {
2478 #if wxUSE_UNICODE
2479 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2480 #else
2481 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2482 #endif
2483 }
2484 return pyobj;
2485 }
2486
2487
2488 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2489 PyObject *resultobj;
2490 wxWindow *arg1 = (wxWindow *) 0 ;
2491 int arg2 = (int) -1 ;
2492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2494 wxSize const &arg4_defvalue = wxDefaultSize ;
2495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2496 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2497 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2498 long arg6 = (long) 0 ;
2499 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2500 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2501 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2502 wxString *arg8 = (wxString *) &arg8_defvalue ;
2503 wxChoice *result;
2504 wxPoint temp3 ;
2505 wxSize temp4 ;
2506 bool temp5 = False ;
2507 bool temp8 = False ;
2508 PyObject * obj0 = 0 ;
2509 PyObject * obj1 = 0 ;
2510 PyObject * obj2 = 0 ;
2511 PyObject * obj3 = 0 ;
2512 PyObject * obj4 = 0 ;
2513 PyObject * obj5 = 0 ;
2514 PyObject * obj6 = 0 ;
2515 PyObject * obj7 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2523 if (obj1) {
2524 arg2 = (int) SWIG_AsInt(obj1);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 if (obj2) {
2528 {
2529 arg3 = &temp3;
2530 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2531 }
2532 }
2533 if (obj3) {
2534 {
2535 arg4 = &temp4;
2536 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2537 }
2538 }
2539 if (obj4) {
2540 {
2541 if (! PySequence_Check(obj4)) {
2542 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2543 SWIG_fail;
2544 }
2545 arg5 = new wxArrayString;
2546 temp5 = True;
2547 int i, len=PySequence_Length(obj4);
2548 for (i=0; i<len; i++) {
2549 PyObject* item = PySequence_GetItem(obj4, i);
2550 #if wxUSE_UNICODE
2551 PyObject* str = PyObject_Unicode(item);
2552 #else
2553 PyObject* str = PyObject_Str(item);
2554 #endif
2555 if (PyErr_Occurred()) SWIG_fail;
2556 arg5->Add(Py2wxString(str));
2557 Py_DECREF(item);
2558 Py_DECREF(str);
2559 }
2560 }
2561 }
2562 if (obj5) {
2563 arg6 = (long) SWIG_AsLong(obj5);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 if (obj6) {
2567 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2568 SWIG_POINTER_EXCEPTION | 0)) == -1)
2569 SWIG_fail;
2570 if (arg7 == NULL) {
2571 PyErr_SetString(PyExc_TypeError,"null reference");
2572 SWIG_fail;
2573 }
2574 }
2575 if (obj7) {
2576 {
2577 arg8 = wxString_in_helper(obj7);
2578 if (arg8 == NULL) SWIG_fail;
2579 temp8 = True;
2580 }
2581 }
2582 {
2583 if (!wxPyCheckForApp()) SWIG_fail;
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2586
2587 wxPyEndAllowThreads(__tstate);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2591 {
2592 if (temp5) delete arg5;
2593 }
2594 {
2595 if (temp8)
2596 delete arg8;
2597 }
2598 return resultobj;
2599 fail:
2600 {
2601 if (temp5) delete arg5;
2602 }
2603 {
2604 if (temp8)
2605 delete arg8;
2606 }
2607 return NULL;
2608 }
2609
2610
2611 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxChoice *result;
2614 char *kwnames[] = {
2615 NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2619 {
2620 if (!wxPyCheckForApp()) SWIG_fail;
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 result = (wxChoice *)new wxChoice();
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2628 return resultobj;
2629 fail:
2630 return NULL;
2631 }
2632
2633
2634 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2635 PyObject *resultobj;
2636 wxChoice *arg1 = (wxChoice *) 0 ;
2637 wxWindow *arg2 = (wxWindow *) 0 ;
2638 int arg3 = (int) -1 ;
2639 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2640 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2641 wxSize const &arg5_defvalue = wxDefaultSize ;
2642 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2643 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2644 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2645 long arg7 = (long) 0 ;
2646 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2647 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2648 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2649 wxString *arg9 = (wxString *) &arg9_defvalue ;
2650 bool result;
2651 wxPoint temp4 ;
2652 wxSize temp5 ;
2653 bool temp6 = False ;
2654 bool temp9 = False ;
2655 PyObject * obj0 = 0 ;
2656 PyObject * obj1 = 0 ;
2657 PyObject * obj2 = 0 ;
2658 PyObject * obj3 = 0 ;
2659 PyObject * obj4 = 0 ;
2660 PyObject * obj5 = 0 ;
2661 PyObject * obj6 = 0 ;
2662 PyObject * obj7 = 0 ;
2663 PyObject * obj8 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2673 if (obj2) {
2674 arg3 = (int) SWIG_AsInt(obj2);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 if (obj3) {
2678 {
2679 arg4 = &temp4;
2680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2681 }
2682 }
2683 if (obj4) {
2684 {
2685 arg5 = &temp5;
2686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2687 }
2688 }
2689 if (obj5) {
2690 {
2691 if (! PySequence_Check(obj5)) {
2692 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2693 SWIG_fail;
2694 }
2695 arg6 = new wxArrayString;
2696 temp6 = True;
2697 int i, len=PySequence_Length(obj5);
2698 for (i=0; i<len; i++) {
2699 PyObject* item = PySequence_GetItem(obj5, i);
2700 #if wxUSE_UNICODE
2701 PyObject* str = PyObject_Unicode(item);
2702 #else
2703 PyObject* str = PyObject_Str(item);
2704 #endif
2705 if (PyErr_Occurred()) SWIG_fail;
2706 arg6->Add(Py2wxString(str));
2707 Py_DECREF(item);
2708 Py_DECREF(str);
2709 }
2710 }
2711 }
2712 if (obj6) {
2713 arg7 = (long) SWIG_AsLong(obj6);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 if (obj7) {
2717 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2718 SWIG_POINTER_EXCEPTION | 0)) == -1)
2719 SWIG_fail;
2720 if (arg8 == NULL) {
2721 PyErr_SetString(PyExc_TypeError,"null reference");
2722 SWIG_fail;
2723 }
2724 }
2725 if (obj8) {
2726 {
2727 arg9 = wxString_in_helper(obj8);
2728 if (arg9 == NULL) SWIG_fail;
2729 temp9 = True;
2730 }
2731 }
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2741 }
2742 {
2743 if (temp6) delete arg6;
2744 }
2745 {
2746 if (temp9)
2747 delete arg9;
2748 }
2749 return resultobj;
2750 fail:
2751 {
2752 if (temp6) delete arg6;
2753 }
2754 {
2755 if (temp9)
2756 delete arg9;
2757 }
2758 return NULL;
2759 }
2760
2761
2762 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject *resultobj;
2764 wxChoice *arg1 = (wxChoice *) 0 ;
2765 int arg2 ;
2766 PyObject * obj0 = 0 ;
2767 PyObject * obj1 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self",(char *) "n", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2775 arg2 = (int const) SWIG_AsInt(obj1);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 (arg1)->SetSelection(arg2);
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 Py_INCREF(Py_None); resultobj = Py_None;
2785 return resultobj;
2786 fail:
2787 return NULL;
2788 }
2789
2790
2791 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject *resultobj;
2793 wxChoice *arg1 = (wxChoice *) 0 ;
2794 wxString *arg2 = 0 ;
2795 bool result;
2796 bool temp2 = False ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "string", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2806 {
2807 arg2 = wxString_in_helper(obj1);
2808 if (arg2 == NULL) SWIG_fail;
2809 temp2 = True;
2810 }
2811 {
2812 PyThreadState* __tstate = wxPyBeginAllowThreads();
2813 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2814
2815 wxPyEndAllowThreads(__tstate);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 {
2819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2820 }
2821 {
2822 if (temp2)
2823 delete arg2;
2824 }
2825 return resultobj;
2826 fail:
2827 {
2828 if (temp2)
2829 delete arg2;
2830 }
2831 return NULL;
2832 }
2833
2834
2835 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 wxChoice *arg1 = (wxChoice *) 0 ;
2838 int arg2 ;
2839 wxString *arg3 = 0 ;
2840 bool temp3 = False ;
2841 PyObject * obj0 = 0 ;
2842 PyObject * obj1 = 0 ;
2843 PyObject * obj2 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "n",(char *) "string", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2851 arg2 = (int) SWIG_AsInt(obj1);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 {
2854 arg3 = wxString_in_helper(obj2);
2855 if (arg3 == NULL) SWIG_fail;
2856 temp3 = True;
2857 }
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 (arg1)->SetString(arg2,(wxString const &)*arg3);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 Py_INCREF(Py_None); resultobj = Py_None;
2866 {
2867 if (temp3)
2868 delete arg3;
2869 }
2870 return resultobj;
2871 fail:
2872 {
2873 if (temp3)
2874 delete arg3;
2875 }
2876 return NULL;
2877 }
2878
2879
2880 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2883 wxVisualAttributes result;
2884 PyObject * obj0 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "variant", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2890 if (obj0) {
2891 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 {
2902 wxVisualAttributes * resultptr;
2903 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909 }
2910
2911
2912 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2913 PyObject *obj;
2914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2916 Py_INCREF(obj);
2917 return Py_BuildValue((char *)"");
2918 }
2919 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2920 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2921 return 1;
2922 }
2923
2924
2925 static PyObject *_wrap_ComboBoxNameStr_get() {
2926 PyObject *pyobj;
2927
2928 {
2929 #if wxUSE_UNICODE
2930 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2931 #else
2932 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2933 #endif
2934 }
2935 return pyobj;
2936 }
2937
2938
2939 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxWindow *arg1 = (wxWindow *) 0 ;
2942 int arg2 = (int) -1 ;
2943 wxString const &arg3_defvalue = wxPyEmptyString ;
2944 wxString *arg3 = (wxString *) &arg3_defvalue ;
2945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2947 wxSize const &arg5_defvalue = wxDefaultSize ;
2948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2949 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2950 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2951 long arg7 = (long) 0 ;
2952 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2953 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2954 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2955 wxString *arg9 = (wxString *) &arg9_defvalue ;
2956 wxComboBox *result;
2957 bool temp3 = False ;
2958 wxPoint temp4 ;
2959 wxSize temp5 ;
2960 bool temp6 = False ;
2961 bool temp9 = False ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 PyObject * obj2 = 0 ;
2965 PyObject * obj3 = 0 ;
2966 PyObject * obj4 = 0 ;
2967 PyObject * obj5 = 0 ;
2968 PyObject * obj6 = 0 ;
2969 PyObject * obj7 = 0 ;
2970 PyObject * obj8 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2978 if (obj1) {
2979 arg2 = (int) SWIG_AsInt(obj1);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 if (obj2) {
2983 {
2984 arg3 = wxString_in_helper(obj2);
2985 if (arg3 == NULL) SWIG_fail;
2986 temp3 = True;
2987 }
2988 }
2989 if (obj3) {
2990 {
2991 arg4 = &temp4;
2992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2993 }
2994 }
2995 if (obj4) {
2996 {
2997 arg5 = &temp5;
2998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2999 }
3000 }
3001 if (obj5) {
3002 {
3003 if (! PySequence_Check(obj5)) {
3004 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3005 SWIG_fail;
3006 }
3007 arg6 = new wxArrayString;
3008 temp6 = True;
3009 int i, len=PySequence_Length(obj5);
3010 for (i=0; i<len; i++) {
3011 PyObject* item = PySequence_GetItem(obj5, i);
3012 #if wxUSE_UNICODE
3013 PyObject* str = PyObject_Unicode(item);
3014 #else
3015 PyObject* str = PyObject_Str(item);
3016 #endif
3017 if (PyErr_Occurred()) SWIG_fail;
3018 arg6->Add(Py2wxString(str));
3019 Py_DECREF(item);
3020 Py_DECREF(str);
3021 }
3022 }
3023 }
3024 if (obj6) {
3025 arg7 = (long) SWIG_AsLong(obj6);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 if (obj7) {
3029 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3030 SWIG_POINTER_EXCEPTION | 0)) == -1)
3031 SWIG_fail;
3032 if (arg8 == NULL) {
3033 PyErr_SetString(PyExc_TypeError,"null reference");
3034 SWIG_fail;
3035 }
3036 }
3037 if (obj8) {
3038 {
3039 arg9 = wxString_in_helper(obj8);
3040 if (arg9 == NULL) SWIG_fail;
3041 temp9 = True;
3042 }
3043 }
3044 {
3045 if (!wxPyCheckForApp()) SWIG_fail;
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 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);
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3053 {
3054 if (temp3)
3055 delete arg3;
3056 }
3057 {
3058 if (temp6) delete arg6;
3059 }
3060 {
3061 if (temp9)
3062 delete arg9;
3063 }
3064 return resultobj;
3065 fail:
3066 {
3067 if (temp3)
3068 delete arg3;
3069 }
3070 {
3071 if (temp6) delete arg6;
3072 }
3073 {
3074 if (temp9)
3075 delete arg9;
3076 }
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxComboBox *result;
3084 char *kwnames[] = {
3085 NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3089 {
3090 if (!wxPyCheckForApp()) SWIG_fail;
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 result = (wxComboBox *)new wxComboBox();
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxComboBox *arg1 = (wxComboBox *) 0 ;
3107 wxWindow *arg2 = (wxWindow *) 0 ;
3108 int arg3 = (int) -1 ;
3109 wxString const &arg4_defvalue = wxPyEmptyString ;
3110 wxString *arg4 = (wxString *) &arg4_defvalue ;
3111 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3112 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3113 wxSize const &arg6_defvalue = wxDefaultSize ;
3114 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3115 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3116 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3117 long arg8 = (long) 0 ;
3118 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3119 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3120 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3121 wxString *arg10 = (wxString *) &arg10_defvalue ;
3122 bool result;
3123 bool temp4 = False ;
3124 wxPoint temp5 ;
3125 wxSize temp6 ;
3126 bool temp7 = False ;
3127 bool temp10 = False ;
3128 PyObject * obj0 = 0 ;
3129 PyObject * obj1 = 0 ;
3130 PyObject * obj2 = 0 ;
3131 PyObject * obj3 = 0 ;
3132 PyObject * obj4 = 0 ;
3133 PyObject * obj5 = 0 ;
3134 PyObject * obj6 = 0 ;
3135 PyObject * obj7 = 0 ;
3136 PyObject * obj8 = 0 ;
3137 PyObject * obj9 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3147 if (obj2) {
3148 arg3 = (int) SWIG_AsInt(obj2);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 if (obj3) {
3152 {
3153 arg4 = wxString_in_helper(obj3);
3154 if (arg4 == NULL) SWIG_fail;
3155 temp4 = True;
3156 }
3157 }
3158 if (obj4) {
3159 {
3160 arg5 = &temp5;
3161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3162 }
3163 }
3164 if (obj5) {
3165 {
3166 arg6 = &temp6;
3167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3168 }
3169 }
3170 if (obj6) {
3171 {
3172 if (! PySequence_Check(obj6)) {
3173 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3174 SWIG_fail;
3175 }
3176 arg7 = new wxArrayString;
3177 temp7 = True;
3178 int i, len=PySequence_Length(obj6);
3179 for (i=0; i<len; i++) {
3180 PyObject* item = PySequence_GetItem(obj6, i);
3181 #if wxUSE_UNICODE
3182 PyObject* str = PyObject_Unicode(item);
3183 #else
3184 PyObject* str = PyObject_Str(item);
3185 #endif
3186 if (PyErr_Occurred()) SWIG_fail;
3187 arg7->Add(Py2wxString(str));
3188 Py_DECREF(item);
3189 Py_DECREF(str);
3190 }
3191 }
3192 }
3193 if (obj7) {
3194 arg8 = (long) SWIG_AsLong(obj7);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 if (obj8) {
3198 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3199 SWIG_POINTER_EXCEPTION | 0)) == -1)
3200 SWIG_fail;
3201 if (arg9 == NULL) {
3202 PyErr_SetString(PyExc_TypeError,"null reference");
3203 SWIG_fail;
3204 }
3205 }
3206 if (obj9) {
3207 {
3208 arg10 = wxString_in_helper(obj9);
3209 if (arg10 == NULL) SWIG_fail;
3210 temp10 = True;
3211 }
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 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);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3222 }
3223 {
3224 if (temp4)
3225 delete arg4;
3226 }
3227 {
3228 if (temp7) delete arg7;
3229 }
3230 {
3231 if (temp10)
3232 delete arg10;
3233 }
3234 return resultobj;
3235 fail:
3236 {
3237 if (temp4)
3238 delete arg4;
3239 }
3240 {
3241 if (temp7) delete arg7;
3242 }
3243 {
3244 if (temp10)
3245 delete arg10;
3246 }
3247 return NULL;
3248 }
3249
3250
3251 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxComboBox *arg1 = (wxComboBox *) 0 ;
3254 wxString result;
3255 PyObject * obj0 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = ((wxComboBox const *)arg1)->GetValue();
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 {
3271 #if wxUSE_UNICODE
3272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3273 #else
3274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3275 #endif
3276 }
3277 return resultobj;
3278 fail:
3279 return NULL;
3280 }
3281
3282
3283 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxComboBox *arg1 = (wxComboBox *) 0 ;
3286 wxString *arg2 = 0 ;
3287 bool temp2 = False ;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "value", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 {
3298 arg2 = wxString_in_helper(obj1);
3299 if (arg2 == NULL) SWIG_fail;
3300 temp2 = True;
3301 }
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 (arg1)->SetValue((wxString const &)*arg2);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 {
3311 if (temp2)
3312 delete arg2;
3313 }
3314 return resultobj;
3315 fail:
3316 {
3317 if (temp2)
3318 delete arg2;
3319 }
3320 return NULL;
3321 }
3322
3323
3324 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj;
3326 wxComboBox *arg1 = (wxComboBox *) 0 ;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->Copy();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxComboBox *arg1 = (wxComboBox *) 0 ;
3352 PyObject * obj0 = 0 ;
3353 char *kwnames[] = {
3354 (char *) "self", NULL
3355 };
3356
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 (arg1)->Cut();
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxComboBox *arg1 = (wxComboBox *) 0 ;
3377 PyObject * obj0 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 (arg1)->Paste();
3388
3389 wxPyEndAllowThreads(__tstate);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 Py_INCREF(Py_None); resultobj = Py_None;
3393 return resultobj;
3394 fail:
3395 return NULL;
3396 }
3397
3398
3399 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3400 PyObject *resultobj;
3401 wxComboBox *arg1 = (wxComboBox *) 0 ;
3402 long arg2 ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "pos", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 arg2 = (long) SWIG_AsLong(obj1);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 (arg1)->SetInsertionPoint(arg2);
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 Py_INCREF(Py_None); resultobj = Py_None;
3422 return resultobj;
3423 fail:
3424 return NULL;
3425 }
3426
3427
3428 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxComboBox *arg1 = (wxComboBox *) 0 ;
3431 long result;
3432 PyObject * obj0 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "self", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
3447 resultobj = SWIG_FromLong((long)result);
3448 return resultobj;
3449 fail:
3450 return NULL;
3451 }
3452
3453
3454 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxComboBox *arg1 = (wxComboBox *) 0 ;
3457 long result;
3458 PyObject * obj0 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 resultobj = SWIG_FromLong((long)result);
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxComboBox *arg1 = (wxComboBox *) 0 ;
3483 long arg2 ;
3484 long arg3 ;
3485 wxString *arg4 = 0 ;
3486 bool temp4 = False ;
3487 PyObject * obj0 = 0 ;
3488 PyObject * obj1 = 0 ;
3489 PyObject * obj2 = 0 ;
3490 PyObject * obj3 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3498 arg2 = (long) SWIG_AsLong(obj1);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 arg3 = (long) SWIG_AsLong(obj2);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 {
3503 arg4 = wxString_in_helper(obj3);
3504 if (arg4 == NULL) SWIG_fail;
3505 temp4 = True;
3506 }
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 Py_INCREF(Py_None); resultobj = Py_None;
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 return resultobj;
3520 fail:
3521 {
3522 if (temp4)
3523 delete arg4;
3524 }
3525 return NULL;
3526 }
3527
3528
3529 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxComboBox *arg1 = (wxComboBox *) 0 ;
3532 int arg2 ;
3533 PyObject * obj0 = 0 ;
3534 PyObject * obj1 = 0 ;
3535 char *kwnames[] = {
3536 (char *) "self",(char *) "n", NULL
3537 };
3538
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3542 arg2 = (int) SWIG_AsInt(obj1);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 (arg1)->SetSelection(arg2);
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 Py_INCREF(Py_None); resultobj = Py_None;
3552 return resultobj;
3553 fail:
3554 return NULL;
3555 }
3556
3557
3558 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxComboBox *arg1 = (wxComboBox *) 0 ;
3561 long arg2 ;
3562 long arg3 ;
3563 PyObject * obj0 = 0 ;
3564 PyObject * obj1 = 0 ;
3565 PyObject * obj2 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 arg2 = (long) SWIG_AsLong(obj1);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 arg3 = (long) SWIG_AsLong(obj2);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetSelection(arg2,arg3);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxComboBox *arg1 = (wxComboBox *) 0 ;
3594 wxString *arg2 = 0 ;
3595 bool result;
3596 bool temp2 = False ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "string", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3606 {
3607 arg2 = wxString_in_helper(obj1);
3608 if (arg2 == NULL) SWIG_fail;
3609 temp2 = True;
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (temp2)
3629 delete arg2;
3630 }
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxComboBox *arg1 = (wxComboBox *) 0 ;
3638 int arg2 ;
3639 wxString *arg3 = 0 ;
3640 bool temp3 = False ;
3641 PyObject * obj0 = 0 ;
3642 PyObject * obj1 = 0 ;
3643 PyObject * obj2 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3651 arg2 = (int) SWIG_AsInt(obj1);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 {
3654 arg3 = wxString_in_helper(obj2);
3655 if (arg3 == NULL) SWIG_fail;
3656 temp3 = True;
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 (arg1)->SetString(arg2,(wxString const &)*arg3);
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 Py_INCREF(Py_None); resultobj = Py_None;
3666 {
3667 if (temp3)
3668 delete arg3;
3669 }
3670 return resultobj;
3671 fail:
3672 {
3673 if (temp3)
3674 delete arg3;
3675 }
3676 return NULL;
3677 }
3678
3679
3680 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxComboBox *arg1 = (wxComboBox *) 0 ;
3683 bool arg2 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "editable", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 arg2 = (bool) SWIG_AsBool(obj1);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 (arg1)->SetEditable(arg2);
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 Py_INCREF(Py_None); resultobj = Py_None;
3703 return resultobj;
3704 fail:
3705 return NULL;
3706 }
3707
3708
3709 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxComboBox *arg1 = (wxComboBox *) 0 ;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SetInsertionPointEnd();
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731 }
3732
3733
3734 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxComboBox *arg1 = (wxComboBox *) 0 ;
3737 long arg2 ;
3738 long arg3 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 PyObject * obj2 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3749 arg2 = (long) SWIG_AsLong(obj1);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 arg3 = (long) SWIG_AsLong(obj2);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 (arg1)->Remove(arg2,arg3);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 Py_INCREF(Py_None); resultobj = Py_None;
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3770 wxVisualAttributes result;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "variant", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3777 if (obj0) {
3778 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
3788 {
3789 wxVisualAttributes * resultptr;
3790 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3792 }
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3800 PyObject *obj;
3801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3802 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3803 Py_INCREF(obj);
3804 return Py_BuildValue((char *)"");
3805 }
3806 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3807 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3808 return 1;
3809 }
3810
3811
3812 static PyObject *_wrap_GaugeNameStr_get() {
3813 PyObject *pyobj;
3814
3815 {
3816 #if wxUSE_UNICODE
3817 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3818 #else
3819 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3820 #endif
3821 }
3822 return pyobj;
3823 }
3824
3825
3826 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxWindow *arg1 = (wxWindow *) 0 ;
3829 int arg2 = (int) -1 ;
3830 int arg3 = (int) 100 ;
3831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3833 wxSize const &arg5_defvalue = wxDefaultSize ;
3834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3835 long arg6 = (long) wxGA_HORIZONTAL ;
3836 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3837 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3838 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3839 wxString *arg8 = (wxString *) &arg8_defvalue ;
3840 wxGauge *result;
3841 wxPoint temp4 ;
3842 wxSize temp5 ;
3843 bool temp8 = False ;
3844 PyObject * obj0 = 0 ;
3845 PyObject * obj1 = 0 ;
3846 PyObject * obj2 = 0 ;
3847 PyObject * obj3 = 0 ;
3848 PyObject * obj4 = 0 ;
3849 PyObject * obj5 = 0 ;
3850 PyObject * obj6 = 0 ;
3851 PyObject * obj7 = 0 ;
3852 char *kwnames[] = {
3853 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3854 };
3855
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3859 if (obj1) {
3860 arg2 = (int) SWIG_AsInt(obj1);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 if (obj2) {
3864 arg3 = (int) SWIG_AsInt(obj2);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 if (obj3) {
3868 {
3869 arg4 = &temp4;
3870 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3871 }
3872 }
3873 if (obj4) {
3874 {
3875 arg5 = &temp5;
3876 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3877 }
3878 }
3879 if (obj5) {
3880 arg6 = (long) SWIG_AsLong(obj5);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 if (obj6) {
3884 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3885 SWIG_POINTER_EXCEPTION | 0)) == -1)
3886 SWIG_fail;
3887 if (arg7 == NULL) {
3888 PyErr_SetString(PyExc_TypeError,"null reference");
3889 SWIG_fail;
3890 }
3891 }
3892 if (obj7) {
3893 {
3894 arg8 = wxString_in_helper(obj7);
3895 if (arg8 == NULL) SWIG_fail;
3896 temp8 = True;
3897 }
3898 }
3899 {
3900 if (!wxPyCheckForApp()) SWIG_fail;
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3908 {
3909 if (temp8)
3910 delete arg8;
3911 }
3912 return resultobj;
3913 fail:
3914 {
3915 if (temp8)
3916 delete arg8;
3917 }
3918 return NULL;
3919 }
3920
3921
3922 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxGauge *result;
3925 char *kwnames[] = {
3926 NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3930 {
3931 if (!wxPyCheckForApp()) SWIG_fail;
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (wxGauge *)new wxGauge();
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxGauge *arg1 = (wxGauge *) 0 ;
3948 wxWindow *arg2 = (wxWindow *) 0 ;
3949 int arg3 = (int) -1 ;
3950 int arg4 = (int) 100 ;
3951 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3952 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3953 wxSize const &arg6_defvalue = wxDefaultSize ;
3954 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3955 long arg7 = (long) wxGA_HORIZONTAL ;
3956 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3957 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3958 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3959 wxString *arg9 = (wxString *) &arg9_defvalue ;
3960 bool result;
3961 wxPoint temp5 ;
3962 wxSize temp6 ;
3963 bool temp9 = False ;
3964 PyObject * obj0 = 0 ;
3965 PyObject * obj1 = 0 ;
3966 PyObject * obj2 = 0 ;
3967 PyObject * obj3 = 0 ;
3968 PyObject * obj4 = 0 ;
3969 PyObject * obj5 = 0 ;
3970 PyObject * obj6 = 0 ;
3971 PyObject * obj7 = 0 ;
3972 PyObject * obj8 = 0 ;
3973 char *kwnames[] = {
3974 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3982 if (obj2) {
3983 arg3 = (int) SWIG_AsInt(obj2);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 if (obj3) {
3987 arg4 = (int) SWIG_AsInt(obj3);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 if (obj4) {
3991 {
3992 arg5 = &temp5;
3993 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3994 }
3995 }
3996 if (obj5) {
3997 {
3998 arg6 = &temp6;
3999 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4000 }
4001 }
4002 if (obj6) {
4003 arg7 = (long) SWIG_AsLong(obj6);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 if (obj7) {
4007 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4008 SWIG_POINTER_EXCEPTION | 0)) == -1)
4009 SWIG_fail;
4010 if (arg8 == NULL) {
4011 PyErr_SetString(PyExc_TypeError,"null reference");
4012 SWIG_fail;
4013 }
4014 }
4015 if (obj8) {
4016 {
4017 arg9 = wxString_in_helper(obj8);
4018 if (arg9 == NULL) SWIG_fail;
4019 temp9 = True;
4020 }
4021 }
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 {
4030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4031 }
4032 {
4033 if (temp9)
4034 delete arg9;
4035 }
4036 return resultobj;
4037 fail:
4038 {
4039 if (temp9)
4040 delete arg9;
4041 }
4042 return NULL;
4043 }
4044
4045
4046 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 wxGauge *arg1 = (wxGauge *) 0 ;
4049 int arg2 ;
4050 PyObject * obj0 = 0 ;
4051 PyObject * obj1 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "self",(char *) "range", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4059 arg2 = (int) SWIG_AsInt(obj1);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 (arg1)->SetRange(arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 Py_INCREF(Py_None); resultobj = Py_None;
4069 return resultobj;
4070 fail:
4071 return NULL;
4072 }
4073
4074
4075 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 wxGauge *arg1 = (wxGauge *) 0 ;
4078 int result;
4079 PyObject * obj0 = 0 ;
4080 char *kwnames[] = {
4081 (char *) "self", NULL
4082 };
4083
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (int)((wxGauge const *)arg1)->GetRange();
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_FromInt((int)result);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxGauge *arg1 = (wxGauge *) 0 ;
4104 int arg2 ;
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "pos", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 arg2 = (int) SWIG_AsInt(obj1);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 (arg1)->SetValue(arg2);
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 Py_INCREF(Py_None); resultobj = Py_None;
4124 return resultobj;
4125 fail:
4126 return NULL;
4127 }
4128
4129
4130 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxGauge *arg1 = (wxGauge *) 0 ;
4133 int result;
4134 PyObject * obj0 = 0 ;
4135 char *kwnames[] = {
4136 (char *) "self", NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (int)((wxGauge const *)arg1)->GetValue();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 resultobj = SWIG_FromInt((int)result);
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxGauge *arg1 = (wxGauge *) 0 ;
4159 bool result;
4160 PyObject * obj0 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (bool)((wxGauge const *)arg1)->IsVertical();
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
4175 {
4176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxGauge *arg1 = (wxGauge *) 0 ;
4187 int arg2 ;
4188 PyObject * obj0 = 0 ;
4189 PyObject * obj1 = 0 ;
4190 char *kwnames[] = {
4191 (char *) "self",(char *) "w", NULL
4192 };
4193
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4197 arg2 = (int) SWIG_AsInt(obj1);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 (arg1)->SetShadowWidth(arg2);
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 Py_INCREF(Py_None); resultobj = Py_None;
4207 return resultobj;
4208 fail:
4209 return NULL;
4210 }
4211
4212
4213 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxGauge *arg1 = (wxGauge *) 0 ;
4216 int result;
4217 PyObject * obj0 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 resultobj = SWIG_FromInt((int)result);
4233 return resultobj;
4234 fail:
4235 return NULL;
4236 }
4237
4238
4239 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj;
4241 wxGauge *arg1 = (wxGauge *) 0 ;
4242 int arg2 ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self",(char *) "w", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4252 arg2 = (int) SWIG_AsInt(obj1);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->SetBezelFace(arg2);
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 Py_INCREF(Py_None); resultobj = Py_None;
4262 return resultobj;
4263 fail:
4264 return NULL;
4265 }
4266
4267
4268 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxGauge *arg1 = (wxGauge *) 0 ;
4271 int result;
4272 PyObject * obj0 = 0 ;
4273 char *kwnames[] = {
4274 (char *) "self", NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 resultobj = SWIG_FromInt((int)result);
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4297 wxVisualAttributes result;
4298 PyObject * obj0 = 0 ;
4299 char *kwnames[] = {
4300 (char *) "variant", NULL
4301 };
4302
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4304 if (obj0) {
4305 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 {
4316 wxVisualAttributes * resultptr;
4317 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4319 }
4320 return resultobj;
4321 fail:
4322 return NULL;
4323 }
4324
4325
4326 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4327 PyObject *obj;
4328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4329 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4330 Py_INCREF(obj);
4331 return Py_BuildValue((char *)"");
4332 }
4333 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4334 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4335 return 1;
4336 }
4337
4338
4339 static PyObject *_wrap_StaticBitmapNameStr_get() {
4340 PyObject *pyobj;
4341
4342 {
4343 #if wxUSE_UNICODE
4344 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4345 #else
4346 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4347 #endif
4348 }
4349 return pyobj;
4350 }
4351
4352
4353 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4354 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4355 return 1;
4356 }
4357
4358
4359 static PyObject *_wrap_StaticBoxNameStr_get() {
4360 PyObject *pyobj;
4361
4362 {
4363 #if wxUSE_UNICODE
4364 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4365 #else
4366 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4367 #endif
4368 }
4369 return pyobj;
4370 }
4371
4372
4373 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4374 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4375 return 1;
4376 }
4377
4378
4379 static PyObject *_wrap_StaticTextNameStr_get() {
4380 PyObject *pyobj;
4381
4382 {
4383 #if wxUSE_UNICODE
4384 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4385 #else
4386 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4387 #endif
4388 }
4389 return pyobj;
4390 }
4391
4392
4393 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj;
4395 wxWindow *arg1 = (wxWindow *) 0 ;
4396 int arg2 = (int) -1 ;
4397 wxString const &arg3_defvalue = wxPyEmptyString ;
4398 wxString *arg3 = (wxString *) &arg3_defvalue ;
4399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4401 wxSize const &arg5_defvalue = wxDefaultSize ;
4402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4403 long arg6 = (long) 0 ;
4404 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4405 wxString *arg7 = (wxString *) &arg7_defvalue ;
4406 wxStaticBox *result;
4407 bool temp3 = False ;
4408 wxPoint temp4 ;
4409 wxSize temp5 ;
4410 bool temp7 = False ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 PyObject * obj2 = 0 ;
4414 PyObject * obj3 = 0 ;
4415 PyObject * obj4 = 0 ;
4416 PyObject * obj5 = 0 ;
4417 PyObject * obj6 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 if (obj1) {
4426 arg2 = (int) SWIG_AsInt(obj1);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4429 if (obj2) {
4430 {
4431 arg3 = wxString_in_helper(obj2);
4432 if (arg3 == NULL) SWIG_fail;
4433 temp3 = True;
4434 }
4435 }
4436 if (obj3) {
4437 {
4438 arg4 = &temp4;
4439 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4440 }
4441 }
4442 if (obj4) {
4443 {
4444 arg5 = &temp5;
4445 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4446 }
4447 }
4448 if (obj5) {
4449 arg6 = (long) SWIG_AsLong(obj5);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 if (obj6) {
4453 {
4454 arg7 = wxString_in_helper(obj6);
4455 if (arg7 == NULL) SWIG_fail;
4456 temp7 = True;
4457 }
4458 }
4459 {
4460 if (!wxPyCheckForApp()) SWIG_fail;
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 {
4468 resultobj = wxPyMake_wxObject(result);
4469 }
4470 {
4471 if (temp3)
4472 delete arg3;
4473 }
4474 {
4475 if (temp7)
4476 delete arg7;
4477 }
4478 return resultobj;
4479 fail:
4480 {
4481 if (temp3)
4482 delete arg3;
4483 }
4484 {
4485 if (temp7)
4486 delete arg7;
4487 }
4488 return NULL;
4489 }
4490
4491
4492 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxStaticBox *result;
4495 char *kwnames[] = {
4496 NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4500 {
4501 if (!wxPyCheckForApp()) SWIG_fail;
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 result = (wxStaticBox *)new wxStaticBox();
4504
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 {
4509 resultobj = wxPyMake_wxObject(result);
4510 }
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4520 wxWindow *arg2 = (wxWindow *) 0 ;
4521 int arg3 = (int) -1 ;
4522 wxString const &arg4_defvalue = wxPyEmptyString ;
4523 wxString *arg4 = (wxString *) &arg4_defvalue ;
4524 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4525 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4526 wxSize const &arg6_defvalue = wxDefaultSize ;
4527 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4528 long arg7 = (long) 0 ;
4529 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4530 wxString *arg8 = (wxString *) &arg8_defvalue ;
4531 bool result;
4532 bool temp4 = False ;
4533 wxPoint temp5 ;
4534 wxSize temp6 ;
4535 bool temp8 = False ;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 PyObject * obj2 = 0 ;
4539 PyObject * obj3 = 0 ;
4540 PyObject * obj4 = 0 ;
4541 PyObject * obj5 = 0 ;
4542 PyObject * obj6 = 0 ;
4543 PyObject * obj7 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4553 if (obj2) {
4554 arg3 = (int) SWIG_AsInt(obj2);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 if (obj3) {
4558 {
4559 arg4 = wxString_in_helper(obj3);
4560 if (arg4 == NULL) SWIG_fail;
4561 temp4 = True;
4562 }
4563 }
4564 if (obj4) {
4565 {
4566 arg5 = &temp5;
4567 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4568 }
4569 }
4570 if (obj5) {
4571 {
4572 arg6 = &temp6;
4573 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4574 }
4575 }
4576 if (obj6) {
4577 arg7 = (long) SWIG_AsLong(obj6);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 if (obj7) {
4581 {
4582 arg8 = wxString_in_helper(obj7);
4583 if (arg8 == NULL) SWIG_fail;
4584 temp8 = True;
4585 }
4586 }
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 {
4595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4596 }
4597 {
4598 if (temp4)
4599 delete arg4;
4600 }
4601 {
4602 if (temp8)
4603 delete arg8;
4604 }
4605 return resultobj;
4606 fail:
4607 {
4608 if (temp4)
4609 delete arg4;
4610 }
4611 {
4612 if (temp8)
4613 delete arg8;
4614 }
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4622 wxVisualAttributes result;
4623 PyObject * obj0 = 0 ;
4624 char *kwnames[] = {
4625 (char *) "variant", NULL
4626 };
4627
4628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4629 if (obj0) {
4630 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641 wxVisualAttributes * resultptr;
4642 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4644 }
4645 return resultobj;
4646 fail:
4647 return NULL;
4648 }
4649
4650
4651 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4652 PyObject *obj;
4653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4654 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4655 Py_INCREF(obj);
4656 return Py_BuildValue((char *)"");
4657 }
4658 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxWindow *arg1 = (wxWindow *) 0 ;
4661 int arg2 = (int) -1 ;
4662 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4663 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4664 wxSize const &arg4_defvalue = wxDefaultSize ;
4665 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4666 long arg5 = (long) wxLI_HORIZONTAL ;
4667 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4668 wxString *arg6 = (wxString *) &arg6_defvalue ;
4669 wxStaticLine *result;
4670 wxPoint temp3 ;
4671 wxSize temp4 ;
4672 bool temp6 = False ;
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 PyObject * obj4 = 0 ;
4678 PyObject * obj5 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4686 if (obj1) {
4687 arg2 = (int) SWIG_AsInt(obj1);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 if (obj2) {
4691 {
4692 arg3 = &temp3;
4693 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4694 }
4695 }
4696 if (obj3) {
4697 {
4698 arg4 = &temp4;
4699 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4700 }
4701 }
4702 if (obj4) {
4703 arg5 = (long) SWIG_AsLong(obj4);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 if (obj5) {
4707 {
4708 arg6 = wxString_in_helper(obj5);
4709 if (arg6 == NULL) SWIG_fail;
4710 temp6 = True;
4711 }
4712 }
4713 {
4714 if (!wxPyCheckForApp()) SWIG_fail;
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4722 {
4723 if (temp6)
4724 delete arg6;
4725 }
4726 return resultobj;
4727 fail:
4728 {
4729 if (temp6)
4730 delete arg6;
4731 }
4732 return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxStaticLine *result;
4739 char *kwnames[] = {
4740 NULL
4741 };
4742
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4744 {
4745 if (!wxPyCheckForApp()) SWIG_fail;
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (wxStaticLine *)new wxStaticLine();
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4753 return resultobj;
4754 fail:
4755 return NULL;
4756 }
4757
4758
4759 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4760 PyObject *resultobj;
4761 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4762 wxWindow *arg2 = (wxWindow *) 0 ;
4763 int arg3 = (int) -1 ;
4764 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4765 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4766 wxSize const &arg5_defvalue = wxDefaultSize ;
4767 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4768 long arg6 = (long) wxLI_HORIZONTAL ;
4769 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4770 wxString *arg7 = (wxString *) &arg7_defvalue ;
4771 bool result;
4772 wxPoint temp4 ;
4773 wxSize temp5 ;
4774 bool temp7 = False ;
4775 PyObject * obj0 = 0 ;
4776 PyObject * obj1 = 0 ;
4777 PyObject * obj2 = 0 ;
4778 PyObject * obj3 = 0 ;
4779 PyObject * obj4 = 0 ;
4780 PyObject * obj5 = 0 ;
4781 PyObject * obj6 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4791 if (obj2) {
4792 arg3 = (int) SWIG_AsInt(obj2);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 if (obj3) {
4796 {
4797 arg4 = &temp4;
4798 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4799 }
4800 }
4801 if (obj4) {
4802 {
4803 arg5 = &temp5;
4804 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4805 }
4806 }
4807 if (obj5) {
4808 arg6 = (long) SWIG_AsLong(obj5);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 if (obj6) {
4812 {
4813 arg7 = wxString_in_helper(obj6);
4814 if (arg7 == NULL) SWIG_fail;
4815 temp7 = True;
4816 }
4817 }
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 {
4826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4827 }
4828 {
4829 if (temp7)
4830 delete arg7;
4831 }
4832 return resultobj;
4833 fail:
4834 {
4835 if (temp7)
4836 delete arg7;
4837 }
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4845 bool result;
4846 PyObject * obj0 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 {
4862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4863 }
4864 return resultobj;
4865 fail:
4866 return NULL;
4867 }
4868
4869
4870 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 int result;
4873 char *kwnames[] = {
4874 NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 result = (int)wxStaticLine::GetDefaultSize();
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 resultobj = SWIG_FromInt((int)result);
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4895 wxVisualAttributes result;
4896 PyObject * obj0 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "variant", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4902 if (obj0) {
4903 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 {
4914 wxVisualAttributes * resultptr;
4915 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4917 }
4918 return resultobj;
4919 fail:
4920 return NULL;
4921 }
4922
4923
4924 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4925 PyObject *obj;
4926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4927 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4928 Py_INCREF(obj);
4929 return Py_BuildValue((char *)"");
4930 }
4931 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxWindow *arg1 = (wxWindow *) 0 ;
4934 int arg2 = (int) -1 ;
4935 wxString const &arg3_defvalue = wxPyEmptyString ;
4936 wxString *arg3 = (wxString *) &arg3_defvalue ;
4937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4939 wxSize const &arg5_defvalue = wxDefaultSize ;
4940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4941 long arg6 = (long) 0 ;
4942 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4943 wxString *arg7 = (wxString *) &arg7_defvalue ;
4944 wxStaticText *result;
4945 bool temp3 = False ;
4946 wxPoint temp4 ;
4947 wxSize temp5 ;
4948 bool temp7 = False ;
4949 PyObject * obj0 = 0 ;
4950 PyObject * obj1 = 0 ;
4951 PyObject * obj2 = 0 ;
4952 PyObject * obj3 = 0 ;
4953 PyObject * obj4 = 0 ;
4954 PyObject * obj5 = 0 ;
4955 PyObject * obj6 = 0 ;
4956 char *kwnames[] = {
4957 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4958 };
4959
4960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4963 if (obj1) {
4964 arg2 = (int) SWIG_AsInt(obj1);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 if (obj2) {
4968 {
4969 arg3 = wxString_in_helper(obj2);
4970 if (arg3 == NULL) SWIG_fail;
4971 temp3 = True;
4972 }
4973 }
4974 if (obj3) {
4975 {
4976 arg4 = &temp4;
4977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4978 }
4979 }
4980 if (obj4) {
4981 {
4982 arg5 = &temp5;
4983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4984 }
4985 }
4986 if (obj5) {
4987 arg6 = (long) SWIG_AsLong(obj5);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 if (obj6) {
4991 {
4992 arg7 = wxString_in_helper(obj6);
4993 if (arg7 == NULL) SWIG_fail;
4994 temp7 = True;
4995 }
4996 }
4997 {
4998 if (!wxPyCheckForApp()) SWIG_fail;
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5006 {
5007 if (temp3)
5008 delete arg3;
5009 }
5010 {
5011 if (temp7)
5012 delete arg7;
5013 }
5014 return resultobj;
5015 fail:
5016 {
5017 if (temp3)
5018 delete arg3;
5019 }
5020 {
5021 if (temp7)
5022 delete arg7;
5023 }
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxStaticText *result;
5031 char *kwnames[] = {
5032 NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5036 {
5037 if (!wxPyCheckForApp()) SWIG_fail;
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (wxStaticText *)new wxStaticText();
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxStaticText *arg1 = (wxStaticText *) 0 ;
5054 wxWindow *arg2 = (wxWindow *) 0 ;
5055 int arg3 = (int) -1 ;
5056 wxString const &arg4_defvalue = wxPyEmptyString ;
5057 wxString *arg4 = (wxString *) &arg4_defvalue ;
5058 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5059 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5060 wxSize const &arg6_defvalue = wxDefaultSize ;
5061 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5062 long arg7 = (long) 0 ;
5063 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5064 wxString *arg8 = (wxString *) &arg8_defvalue ;
5065 bool result;
5066 bool temp4 = False ;
5067 wxPoint temp5 ;
5068 wxSize temp6 ;
5069 bool temp8 = False ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 PyObject * obj2 = 0 ;
5073 PyObject * obj3 = 0 ;
5074 PyObject * obj4 = 0 ;
5075 PyObject * obj5 = 0 ;
5076 PyObject * obj6 = 0 ;
5077 PyObject * obj7 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5087 if (obj2) {
5088 arg3 = (int) SWIG_AsInt(obj2);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 if (obj3) {
5092 {
5093 arg4 = wxString_in_helper(obj3);
5094 if (arg4 == NULL) SWIG_fail;
5095 temp4 = True;
5096 }
5097 }
5098 if (obj4) {
5099 {
5100 arg5 = &temp5;
5101 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5102 }
5103 }
5104 if (obj5) {
5105 {
5106 arg6 = &temp6;
5107 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5108 }
5109 }
5110 if (obj6) {
5111 arg7 = (long) SWIG_AsLong(obj6);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 if (obj7) {
5115 {
5116 arg8 = wxString_in_helper(obj7);
5117 if (arg8 == NULL) SWIG_fail;
5118 temp8 = True;
5119 }
5120 }
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 {
5129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5130 }
5131 {
5132 if (temp4)
5133 delete arg4;
5134 }
5135 {
5136 if (temp8)
5137 delete arg8;
5138 }
5139 return resultobj;
5140 fail:
5141 {
5142 if (temp4)
5143 delete arg4;
5144 }
5145 {
5146 if (temp8)
5147 delete arg8;
5148 }
5149 return NULL;
5150 }
5151
5152
5153 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5156 wxVisualAttributes result;
5157 PyObject * obj0 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "variant", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5163 if (obj0) {
5164 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 {
5175 wxVisualAttributes * resultptr;
5176 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5178 }
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5186 PyObject *obj;
5187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5188 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5189 Py_INCREF(obj);
5190 return Py_BuildValue((char *)"");
5191 }
5192 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxWindow *arg1 = (wxWindow *) 0 ;
5195 int arg2 = (int) -1 ;
5196 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5197 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
5198 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5199 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5200 wxSize const &arg5_defvalue = wxDefaultSize ;
5201 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5202 long arg6 = (long) 0 ;
5203 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5204 wxString *arg7 = (wxString *) &arg7_defvalue ;
5205 wxStaticBitmap *result;
5206 wxPoint temp4 ;
5207 wxSize temp5 ;
5208 bool temp7 = False ;
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
5211 PyObject * obj2 = 0 ;
5212 PyObject * obj3 = 0 ;
5213 PyObject * obj4 = 0 ;
5214 PyObject * obj5 = 0 ;
5215 PyObject * obj6 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5223 if (obj1) {
5224 arg2 = (int) SWIG_AsInt(obj1);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 if (obj2) {
5228 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5229 SWIG_POINTER_EXCEPTION | 0)) == -1)
5230 SWIG_fail;
5231 if (arg3 == NULL) {
5232 PyErr_SetString(PyExc_TypeError,"null reference");
5233 SWIG_fail;
5234 }
5235 }
5236 if (obj3) {
5237 {
5238 arg4 = &temp4;
5239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5240 }
5241 }
5242 if (obj4) {
5243 {
5244 arg5 = &temp5;
5245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5246 }
5247 }
5248 if (obj5) {
5249 arg6 = (long) SWIG_AsLong(obj5);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 if (obj6) {
5253 {
5254 arg7 = wxString_in_helper(obj6);
5255 if (arg7 == NULL) SWIG_fail;
5256 temp7 = True;
5257 }
5258 }
5259 {
5260 if (!wxPyCheckForApp()) SWIG_fail;
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5268 {
5269 if (temp7)
5270 delete arg7;
5271 }
5272 return resultobj;
5273 fail:
5274 {
5275 if (temp7)
5276 delete arg7;
5277 }
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxStaticBitmap *result;
5285 char *kwnames[] = {
5286 NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5290 {
5291 if (!wxPyCheckForApp()) SWIG_fail;
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = (wxStaticBitmap *)new wxStaticBitmap();
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5299 return resultobj;
5300 fail:
5301 return NULL;
5302 }
5303
5304
5305 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5308 wxWindow *arg2 = (wxWindow *) 0 ;
5309 int arg3 = (int) -1 ;
5310 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5311 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
5312 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5313 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5314 wxSize const &arg6_defvalue = wxDefaultSize ;
5315 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5316 long arg7 = (long) 0 ;
5317 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5318 wxString *arg8 = (wxString *) &arg8_defvalue ;
5319 bool result;
5320 wxPoint temp5 ;
5321 wxSize temp6 ;
5322 bool temp8 = False ;
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 PyObject * obj2 = 0 ;
5326 PyObject * obj3 = 0 ;
5327 PyObject * obj4 = 0 ;
5328 PyObject * obj5 = 0 ;
5329 PyObject * obj6 = 0 ;
5330 PyObject * obj7 = 0 ;
5331 char *kwnames[] = {
5332 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5333 };
5334
5335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5340 if (obj2) {
5341 arg3 = (int) SWIG_AsInt(obj2);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 if (obj3) {
5345 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5346 SWIG_POINTER_EXCEPTION | 0)) == -1)
5347 SWIG_fail;
5348 if (arg4 == NULL) {
5349 PyErr_SetString(PyExc_TypeError,"null reference");
5350 SWIG_fail;
5351 }
5352 }
5353 if (obj4) {
5354 {
5355 arg5 = &temp5;
5356 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5357 }
5358 }
5359 if (obj5) {
5360 {
5361 arg6 = &temp6;
5362 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5363 }
5364 }
5365 if (obj6) {
5366 arg7 = (long) SWIG_AsLong(obj6);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 if (obj7) {
5370 {
5371 arg8 = wxString_in_helper(obj7);
5372 if (arg8 == NULL) SWIG_fail;
5373 temp8 = True;
5374 }
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 {
5384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5385 }
5386 {
5387 if (temp8)
5388 delete arg8;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (temp8)
5394 delete arg8;
5395 }
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5403 wxBitmap result;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (arg1)->GetBitmap();
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 {
5420 wxBitmap * resultptr;
5421 resultptr = new wxBitmap((wxBitmap &) result);
5422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5423 }
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5433 wxBitmap *arg2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "bitmap", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5444 SWIG_POINTER_EXCEPTION | 0)) == -1)
5445 SWIG_fail;
5446 if (arg2 == NULL) {
5447 PyErr_SetString(PyExc_TypeError,"null reference");
5448 SWIG_fail;
5449 }
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5467 wxIcon *arg2 = 0 ;
5468 PyObject * obj0 = 0 ;
5469 PyObject * obj1 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "icon", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1)
5479 SWIG_fail;
5480 if (arg2 == NULL) {
5481 PyErr_SetString(PyExc_TypeError,"null reference");
5482 SWIG_fail;
5483 }
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 (arg1)->SetIcon((wxIcon const &)*arg2);
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 Py_INCREF(Py_None); resultobj = Py_None;
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject *resultobj;
5500 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5501 wxVisualAttributes result;
5502 PyObject * obj0 = 0 ;
5503 char *kwnames[] = {
5504 (char *) "variant", NULL
5505 };
5506
5507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5508 if (obj0) {
5509 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 wxVisualAttributes * resultptr;
5521 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5523 }
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5531 PyObject *obj;
5532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5533 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5534 Py_INCREF(obj);
5535 return Py_BuildValue((char *)"");
5536 }
5537 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5538 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5539 return 1;
5540 }
5541
5542
5543 static PyObject *_wrap_ListBoxNameStr_get() {
5544 PyObject *pyobj;
5545
5546 {
5547 #if wxUSE_UNICODE
5548 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5549 #else
5550 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5551 #endif
5552 }
5553 return pyobj;
5554 }
5555
5556
5557 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxWindow *arg1 = (wxWindow *) 0 ;
5560 int arg2 = (int) -1 ;
5561 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5562 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5563 wxSize const &arg4_defvalue = wxDefaultSize ;
5564 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5565 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5566 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5567 long arg6 = (long) 0 ;
5568 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5569 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5570 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5571 wxString *arg8 = (wxString *) &arg8_defvalue ;
5572 wxListBox *result;
5573 wxPoint temp3 ;
5574 wxSize temp4 ;
5575 bool temp5 = False ;
5576 bool temp8 = False ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 PyObject * obj2 = 0 ;
5580 PyObject * obj3 = 0 ;
5581 PyObject * obj4 = 0 ;
5582 PyObject * obj5 = 0 ;
5583 PyObject * obj6 = 0 ;
5584 PyObject * obj7 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5592 if (obj1) {
5593 arg2 = (int) SWIG_AsInt(obj1);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 if (obj2) {
5597 {
5598 arg3 = &temp3;
5599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5600 }
5601 }
5602 if (obj3) {
5603 {
5604 arg4 = &temp4;
5605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5606 }
5607 }
5608 if (obj4) {
5609 {
5610 if (! PySequence_Check(obj4)) {
5611 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5612 SWIG_fail;
5613 }
5614 arg5 = new wxArrayString;
5615 temp5 = True;
5616 int i, len=PySequence_Length(obj4);
5617 for (i=0; i<len; i++) {
5618 PyObject* item = PySequence_GetItem(obj4, i);
5619 #if wxUSE_UNICODE
5620 PyObject* str = PyObject_Unicode(item);
5621 #else
5622 PyObject* str = PyObject_Str(item);
5623 #endif
5624 if (PyErr_Occurred()) SWIG_fail;
5625 arg5->Add(Py2wxString(str));
5626 Py_DECREF(item);
5627 Py_DECREF(str);
5628 }
5629 }
5630 }
5631 if (obj5) {
5632 arg6 = (long) SWIG_AsLong(obj5);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 if (obj6) {
5636 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5637 SWIG_POINTER_EXCEPTION | 0)) == -1)
5638 SWIG_fail;
5639 if (arg7 == NULL) {
5640 PyErr_SetString(PyExc_TypeError,"null reference");
5641 SWIG_fail;
5642 }
5643 }
5644 if (obj7) {
5645 {
5646 arg8 = wxString_in_helper(obj7);
5647 if (arg8 == NULL) SWIG_fail;
5648 temp8 = True;
5649 }
5650 }
5651 {
5652 if (!wxPyCheckForApp()) SWIG_fail;
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5660 {
5661 if (temp5) delete arg5;
5662 }
5663 {
5664 if (temp8)
5665 delete arg8;
5666 }
5667 return resultobj;
5668 fail:
5669 {
5670 if (temp5) delete arg5;
5671 }
5672 {
5673 if (temp8)
5674 delete arg8;
5675 }
5676 return NULL;
5677 }
5678
5679
5680 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5681 PyObject *resultobj;
5682 wxListBox *result;
5683 char *kwnames[] = {
5684 NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5688 {
5689 if (!wxPyCheckForApp()) SWIG_fail;
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 result = (wxListBox *)new wxListBox();
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5697 return resultobj;
5698 fail:
5699 return NULL;
5700 }
5701
5702
5703 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject *resultobj;
5705 wxListBox *arg1 = (wxListBox *) 0 ;
5706 wxWindow *arg2 = (wxWindow *) 0 ;
5707 int arg3 = (int) -1 ;
5708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5710 wxSize const &arg5_defvalue = wxDefaultSize ;
5711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5712 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5713 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5714 long arg7 = (long) 0 ;
5715 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5716 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5717 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5718 wxString *arg9 = (wxString *) &arg9_defvalue ;
5719 bool result;
5720 wxPoint temp4 ;
5721 wxSize temp5 ;
5722 bool temp6 = False ;
5723 bool temp9 = False ;
5724 PyObject * obj0 = 0 ;
5725 PyObject * obj1 = 0 ;
5726 PyObject * obj2 = 0 ;
5727 PyObject * obj3 = 0 ;
5728 PyObject * obj4 = 0 ;
5729 PyObject * obj5 = 0 ;
5730 PyObject * obj6 = 0 ;
5731 PyObject * obj7 = 0 ;
5732 PyObject * obj8 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5742 if (obj2) {
5743 arg3 = (int) SWIG_AsInt(obj2);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 if (obj3) {
5747 {
5748 arg4 = &temp4;
5749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5750 }
5751 }
5752 if (obj4) {
5753 {
5754 arg5 = &temp5;
5755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5756 }
5757 }
5758 if (obj5) {
5759 {
5760 if (! PySequence_Check(obj5)) {
5761 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5762 SWIG_fail;
5763 }
5764 arg6 = new wxArrayString;
5765 temp6 = True;
5766 int i, len=PySequence_Length(obj5);
5767 for (i=0; i<len; i++) {
5768 PyObject* item = PySequence_GetItem(obj5, i);
5769 #if wxUSE_UNICODE
5770 PyObject* str = PyObject_Unicode(item);
5771 #else
5772 PyObject* str = PyObject_Str(item);
5773 #endif
5774 if (PyErr_Occurred()) SWIG_fail;
5775 arg6->Add(Py2wxString(str));
5776 Py_DECREF(item);
5777 Py_DECREF(str);
5778 }
5779 }
5780 }
5781 if (obj6) {
5782 arg7 = (long) SWIG_AsLong(obj6);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 if (obj7) {
5786 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1)
5788 SWIG_fail;
5789 if (arg8 == NULL) {
5790 PyErr_SetString(PyExc_TypeError,"null reference");
5791 SWIG_fail;
5792 }
5793 }
5794 if (obj8) {
5795 {
5796 arg9 = wxString_in_helper(obj8);
5797 if (arg9 == NULL) SWIG_fail;
5798 temp9 = True;
5799 }
5800 }
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 {
5809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5810 }
5811 {
5812 if (temp6) delete arg6;
5813 }
5814 {
5815 if (temp9)
5816 delete arg9;
5817 }
5818 return resultobj;
5819 fail:
5820 {
5821 if (temp6) delete arg6;
5822 }
5823 {
5824 if (temp9)
5825 delete arg9;
5826 }
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxListBox *arg1 = (wxListBox *) 0 ;
5834 wxString *arg2 = 0 ;
5835 int arg3 ;
5836 PyObject *arg4 = (PyObject *) NULL ;
5837 bool temp2 = False ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 PyObject * obj2 = 0 ;
5841 PyObject * obj3 = 0 ;
5842 char *kwnames[] = {
5843 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5849 {
5850 arg2 = wxString_in_helper(obj1);
5851 if (arg2 == NULL) SWIG_fail;
5852 temp2 = True;
5853 }
5854 arg3 = (int) SWIG_AsInt(obj2);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 if (obj3) {
5857 arg4 = obj3;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return resultobj;
5872 fail:
5873 {
5874 if (temp2)
5875 delete arg2;
5876 }
5877 return NULL;
5878 }
5879
5880
5881 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxListBox *arg1 = (wxListBox *) 0 ;
5884 wxArrayString *arg2 = 0 ;
5885 int arg3 ;
5886 bool temp2 = False ;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 PyObject * obj2 = 0 ;
5890 char *kwnames[] = {
5891 (char *) "self",(char *) "items",(char *) "pos", NULL
5892 };
5893
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5897 {
5898 if (! PySequence_Check(obj1)) {
5899 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5900 SWIG_fail;
5901 }
5902 arg2 = new wxArrayString;
5903 temp2 = True;
5904 int i, len=PySequence_Length(obj1);
5905 for (i=0; i<len; i++) {
5906 PyObject* item = PySequence_GetItem(obj1, i);
5907 #if wxUSE_UNICODE
5908 PyObject* str = PyObject_Unicode(item);
5909 #else
5910 PyObject* str = PyObject_Str(item);
5911 #endif
5912 if (PyErr_Occurred()) SWIG_fail;
5913 arg2->Add(Py2wxString(str));
5914 Py_DECREF(item);
5915 Py_DECREF(str);
5916 }
5917 }
5918 arg3 = (int) SWIG_AsInt(obj2);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 Py_INCREF(Py_None); resultobj = Py_None;
5928 {
5929 if (temp2) delete arg2;
5930 }
5931 return resultobj;
5932 fail:
5933 {
5934 if (temp2) delete arg2;
5935 }
5936 return NULL;
5937 }
5938
5939
5940 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 wxListBox *arg1 = (wxListBox *) 0 ;
5943 wxArrayString *arg2 = 0 ;
5944 bool temp2 = False ;
5945 PyObject * obj0 = 0 ;
5946 PyObject * obj1 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self",(char *) "items", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5954 {
5955 if (! PySequence_Check(obj1)) {
5956 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5957 SWIG_fail;
5958 }
5959 arg2 = new wxArrayString;
5960 temp2 = True;
5961 int i, len=PySequence_Length(obj1);
5962 for (i=0; i<len; i++) {
5963 PyObject* item = PySequence_GetItem(obj1, i);
5964 #if wxUSE_UNICODE
5965 PyObject* str = PyObject_Unicode(item);
5966 #else
5967 PyObject* str = PyObject_Str(item);
5968 #endif
5969 if (PyErr_Occurred()) SWIG_fail;
5970 arg2->Add(Py2wxString(str));
5971 Py_DECREF(item);
5972 Py_DECREF(str);
5973 }
5974 }
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 (arg1)->Set((wxArrayString const &)*arg2);
5978
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 Py_INCREF(Py_None); resultobj = Py_None;
5983 {
5984 if (temp2) delete arg2;
5985 }
5986 return resultobj;
5987 fail:
5988 {
5989 if (temp2) delete arg2;
5990 }
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxListBox *arg1 = (wxListBox *) 0 ;
5998 int arg2 ;
5999 bool result;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 char *kwnames[] = {
6003 (char *) "self",(char *) "n", NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6009 arg2 = (int) SWIG_AsInt(obj1);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 {
6019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6020 }
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxListBox *arg1 = (wxListBox *) 0 ;
6030 int arg2 ;
6031 bool arg3 = (bool) True ;
6032 PyObject * obj0 = 0 ;
6033 PyObject * obj1 = 0 ;
6034 PyObject * obj2 = 0 ;
6035 char *kwnames[] = {
6036 (char *) "self",(char *) "n",(char *) "select", NULL
6037 };
6038
6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6042 arg2 = (int) SWIG_AsInt(obj1);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 if (obj2) {
6045 arg3 = (bool) SWIG_AsBool(obj2);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 (arg1)->SetSelection(arg2,arg3);
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 Py_INCREF(Py_None); resultobj = Py_None;
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxListBox *arg1 = (wxListBox *) 0 ;
6065 int arg2 ;
6066 PyObject * obj0 = 0 ;
6067 PyObject * obj1 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self",(char *) "n", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6075 arg2 = (int) SWIG_AsInt(obj1);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 (arg1)->Select(arg2);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 Py_INCREF(Py_None); resultobj = Py_None;
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj;
6093 wxListBox *arg1 = (wxListBox *) 0 ;
6094 int arg2 ;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "n", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6104 arg2 = (int) SWIG_AsInt(obj1);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 (arg1)->Deselect(arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 Py_INCREF(Py_None); resultobj = Py_None;
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxListBox *arg1 = (wxListBox *) 0 ;
6123 int arg2 = (int) -1 ;
6124 PyObject * obj0 = 0 ;
6125 PyObject * obj1 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "self",(char *) "itemToLeaveSelected", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6133 if (obj1) {
6134 arg2 = (int) SWIG_AsInt(obj1);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 (arg1)->DeselectAll(arg2);
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 Py_INCREF(Py_None); resultobj = Py_None;
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxListBox *arg1 = (wxListBox *) 0 ;
6154 wxString *arg2 = 0 ;
6155 bool arg3 = (bool) True ;
6156 bool result;
6157 bool temp2 = False ;
6158 PyObject * obj0 = 0 ;
6159 PyObject * obj1 = 0 ;
6160 PyObject * obj2 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self",(char *) "s",(char *) "select", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6168 {
6169 arg2 = wxString_in_helper(obj1);
6170 if (arg2 == NULL) SWIG_fail;
6171 temp2 = True;
6172 }
6173 if (obj2) {
6174 arg3 = (bool) SWIG_AsBool(obj2);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 {
6185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6186 }
6187 {
6188 if (temp2)
6189 delete arg2;
6190 }
6191 return resultobj;
6192 fail:
6193 {
6194 if (temp2)
6195 delete arg2;
6196 }
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxListBox *arg1 = (wxListBox *) 0 ;
6204 PyObject *result;
6205 PyObject * obj0 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (PyObject *)wxListBox_GetSelections(arg1);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = result;
6221 return resultobj;
6222 fail:
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxListBox *arg1 = (wxListBox *) 0 ;
6230 int arg2 ;
6231 PyObject * obj0 = 0 ;
6232 PyObject * obj1 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "self",(char *) "n", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6240 arg2 = (int) SWIG_AsInt(obj1);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 (arg1)->SetFirstItem(arg2);
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 Py_INCREF(Py_None); resultobj = Py_None;
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxListBox *arg1 = (wxListBox *) 0 ;
6259 wxString *arg2 = 0 ;
6260 bool temp2 = False ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "s", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 {
6271 arg2 = wxString_in_helper(obj1);
6272 if (arg2 == NULL) SWIG_fail;
6273 temp2 = True;
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->SetFirstItem((wxString const &)*arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 {
6284 if (temp2)
6285 delete arg2;
6286 }
6287 return resultobj;
6288 fail:
6289 {
6290 if (temp2)
6291 delete arg2;
6292 }
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxListBox *arg1 = (wxListBox *) 0 ;
6300 int arg2 ;
6301 PyObject * obj0 = 0 ;
6302 PyObject * obj1 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "n", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 arg2 = (int) SWIG_AsInt(obj1);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->EnsureVisible(arg2);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323 }
6324
6325
6326 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxListBox *arg1 = (wxListBox *) 0 ;
6329 wxString *arg2 = 0 ;
6330 bool temp2 = False ;
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self",(char *) "s", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6340 {
6341 arg2 = wxString_in_helper(obj1);
6342 if (arg2 == NULL) SWIG_fail;
6343 temp2 = True;
6344 }
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 {
6354 if (temp2)
6355 delete arg2;
6356 }
6357 return resultobj;
6358 fail:
6359 {
6360 if (temp2)
6361 delete arg2;
6362 }
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxListBox *arg1 = (wxListBox *) 0 ;
6370 bool result;
6371 PyObject * obj0 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "self", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 result = (bool)((wxListBox const *)arg1)->IsSorted();
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 {
6387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6388 }
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxListBox *arg1 = (wxListBox *) 0 ;
6398 int arg2 ;
6399 wxColour *arg3 = 0 ;
6400 wxColour temp3 ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 PyObject * obj2 = 0 ;
6404 char *kwnames[] = {
6405 (char *) "self",(char *) "item",(char *) "c", NULL
6406 };
6407
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6411 arg2 = (int) SWIG_AsInt(obj1);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 {
6414 arg3 = &temp3;
6415 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6416 }
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6420
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 Py_INCREF(Py_None); resultobj = Py_None;
6425 return resultobj;
6426 fail:
6427 return NULL;
6428 }
6429
6430
6431 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj;
6433 wxListBox *arg1 = (wxListBox *) 0 ;
6434 int arg2 ;
6435 wxColour *arg3 = 0 ;
6436 wxColour temp3 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self",(char *) "item",(char *) "c", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6447 arg2 = (int) SWIG_AsInt(obj1);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 {
6450 arg3 = &temp3;
6451 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 Py_INCREF(Py_None); resultobj = Py_None;
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj;
6469 wxListBox *arg1 = (wxListBox *) 0 ;
6470 int arg2 ;
6471 wxFont *arg3 = 0 ;
6472 PyObject * obj0 = 0 ;
6473 PyObject * obj1 = 0 ;
6474 PyObject * obj2 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self",(char *) "item",(char *) "f", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6482 arg2 = (int) SWIG_AsInt(obj1);
6483 if (PyErr_Occurred()) SWIG_fail;
6484 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6485 SWIG_POINTER_EXCEPTION | 0)) == -1)
6486 SWIG_fail;
6487 if (arg3 == NULL) {
6488 PyErr_SetString(PyExc_TypeError,"null reference");
6489 SWIG_fail;
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 Py_INCREF(Py_None); resultobj = Py_None;
6499 return resultobj;
6500 fail:
6501 return NULL;
6502 }
6503
6504
6505 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6508 wxVisualAttributes result;
6509 PyObject * obj0 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "variant", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6515 if (obj0) {
6516 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 {
6527 wxVisualAttributes * resultptr;
6528 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6530 }
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6538 PyObject *obj;
6539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6540 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6541 Py_INCREF(obj);
6542 return Py_BuildValue((char *)"");
6543 }
6544 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6545 PyObject *resultobj;
6546 wxWindow *arg1 = (wxWindow *) 0 ;
6547 int arg2 = (int) -1 ;
6548 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6549 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6550 wxSize const &arg4_defvalue = wxDefaultSize ;
6551 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6552 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6553 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6554 long arg6 = (long) 0 ;
6555 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6556 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6557 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6558 wxString *arg8 = (wxString *) &arg8_defvalue ;
6559 wxCheckListBox *result;
6560 wxPoint temp3 ;
6561 wxSize temp4 ;
6562 bool temp5 = False ;
6563 bool temp8 = False ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 PyObject * obj2 = 0 ;
6567 PyObject * obj3 = 0 ;
6568 PyObject * obj4 = 0 ;
6569 PyObject * obj5 = 0 ;
6570 PyObject * obj6 = 0 ;
6571 PyObject * obj7 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6579 if (obj1) {
6580 arg2 = (int) SWIG_AsInt(obj1);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 if (obj2) {
6584 {
6585 arg3 = &temp3;
6586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6587 }
6588 }
6589 if (obj3) {
6590 {
6591 arg4 = &temp4;
6592 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6593 }
6594 }
6595 if (obj4) {
6596 {
6597 if (! PySequence_Check(obj4)) {
6598 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6599 SWIG_fail;
6600 }
6601 arg5 = new wxArrayString;
6602 temp5 = True;
6603 int i, len=PySequence_Length(obj4);
6604 for (i=0; i<len; i++) {
6605 PyObject* item = PySequence_GetItem(obj4, i);
6606 #if wxUSE_UNICODE
6607 PyObject* str = PyObject_Unicode(item);
6608 #else
6609 PyObject* str = PyObject_Str(item);
6610 #endif
6611 if (PyErr_Occurred()) SWIG_fail;
6612 arg5->Add(Py2wxString(str));
6613 Py_DECREF(item);
6614 Py_DECREF(str);
6615 }
6616 }
6617 }
6618 if (obj5) {
6619 arg6 = (long) SWIG_AsLong(obj5);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 if (obj6) {
6623 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1)
6625 SWIG_fail;
6626 if (arg7 == NULL) {
6627 PyErr_SetString(PyExc_TypeError,"null reference");
6628 SWIG_fail;
6629 }
6630 }
6631 if (obj7) {
6632 {
6633 arg8 = wxString_in_helper(obj7);
6634 if (arg8 == NULL) SWIG_fail;
6635 temp8 = True;
6636 }
6637 }
6638 {
6639 if (!wxPyCheckForApp()) SWIG_fail;
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6647 {
6648 if (temp5) delete arg5;
6649 }
6650 {
6651 if (temp8)
6652 delete arg8;
6653 }
6654 return resultobj;
6655 fail:
6656 {
6657 if (temp5) delete arg5;
6658 }
6659 {
6660 if (temp8)
6661 delete arg8;
6662 }
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxCheckListBox *result;
6670 char *kwnames[] = {
6671 NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6675 {
6676 if (!wxPyCheckForApp()) SWIG_fail;
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (wxCheckListBox *)new wxCheckListBox();
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj;
6692 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6693 wxWindow *arg2 = (wxWindow *) 0 ;
6694 int arg3 = (int) -1 ;
6695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6697 wxSize const &arg5_defvalue = wxDefaultSize ;
6698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6699 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6700 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6701 long arg7 = (long) 0 ;
6702 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6703 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6704 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6705 wxString *arg9 = (wxString *) &arg9_defvalue ;
6706 bool result;
6707 wxPoint temp4 ;
6708 wxSize temp5 ;
6709 bool temp6 = False ;
6710 bool temp9 = False ;
6711 PyObject * obj0 = 0 ;
6712 PyObject * obj1 = 0 ;
6713 PyObject * obj2 = 0 ;
6714 PyObject * obj3 = 0 ;
6715 PyObject * obj4 = 0 ;
6716 PyObject * obj5 = 0 ;
6717 PyObject * obj6 = 0 ;
6718 PyObject * obj7 = 0 ;
6719 PyObject * obj8 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6729 if (obj2) {
6730 arg3 = (int) SWIG_AsInt(obj2);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 if (obj3) {
6734 {
6735 arg4 = &temp4;
6736 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6737 }
6738 }
6739 if (obj4) {
6740 {
6741 arg5 = &temp5;
6742 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6743 }
6744 }
6745 if (obj5) {
6746 {
6747 if (! PySequence_Check(obj5)) {
6748 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6749 SWIG_fail;
6750 }
6751 arg6 = new wxArrayString;
6752 temp6 = True;
6753 int i, len=PySequence_Length(obj5);
6754 for (i=0; i<len; i++) {
6755 PyObject* item = PySequence_GetItem(obj5, i);
6756 #if wxUSE_UNICODE
6757 PyObject* str = PyObject_Unicode(item);
6758 #else
6759 PyObject* str = PyObject_Str(item);
6760 #endif
6761 if (PyErr_Occurred()) SWIG_fail;
6762 arg6->Add(Py2wxString(str));
6763 Py_DECREF(item);
6764 Py_DECREF(str);
6765 }
6766 }
6767 }
6768 if (obj6) {
6769 arg7 = (long) SWIG_AsLong(obj6);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 if (obj7) {
6773 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1)
6775 SWIG_fail;
6776 if (arg8 == NULL) {
6777 PyErr_SetString(PyExc_TypeError,"null reference");
6778 SWIG_fail;
6779 }
6780 }
6781 if (obj8) {
6782 {
6783 arg9 = wxString_in_helper(obj8);
6784 if (arg9 == NULL) SWIG_fail;
6785 temp9 = True;
6786 }
6787 }
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 {
6796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6797 }
6798 {
6799 if (temp6) delete arg6;
6800 }
6801 {
6802 if (temp9)
6803 delete arg9;
6804 }
6805 return resultobj;
6806 fail:
6807 {
6808 if (temp6) delete arg6;
6809 }
6810 {
6811 if (temp9)
6812 delete arg9;
6813 }
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6821 int arg2 ;
6822 bool result;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self",(char *) "index", NULL
6827 };
6828
6829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6832 arg2 = (int) SWIG_AsInt(obj1);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (bool)(arg1)->IsChecked(arg2);
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 {
6842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6843 }
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6853 int arg2 ;
6854 int arg3 = (int) True ;
6855 PyObject * obj0 = 0 ;
6856 PyObject * obj1 = 0 ;
6857 PyObject * obj2 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "index",(char *) "check", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6865 arg2 = (int) SWIG_AsInt(obj1);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 if (obj2) {
6868 arg3 = (int) SWIG_AsInt(obj2);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 (arg1)->Check(arg2,arg3);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 Py_INCREF(Py_None); resultobj = Py_None;
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6888 int result;
6889 PyObject * obj0 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (int)(arg1)->GetItemHeight();
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 resultobj = SWIG_FromInt((int)result);
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6914 wxPoint *arg2 = 0 ;
6915 int result;
6916 wxPoint temp2 ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "pt", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6926 {
6927 arg2 = &temp2;
6928 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6929 }
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 resultobj = SWIG_FromInt((int)result);
6938 return resultobj;
6939 fail:
6940 return NULL;
6941 }
6942
6943
6944 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj;
6946 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6947 int arg2 ;
6948 int arg3 ;
6949 int result;
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
6952 PyObject * obj2 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "x",(char *) "y", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6960 arg2 = (int) SWIG_AsInt(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 arg3 = (int) SWIG_AsInt(obj2);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_FromInt((int)result);
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6979 PyObject *obj;
6980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6981 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6982 Py_INCREF(obj);
6983 return Py_BuildValue((char *)"");
6984 }
6985 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6986 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6987 return 1;
6988 }
6989
6990
6991 static PyObject *_wrap_TextCtrlNameStr_get() {
6992 PyObject *pyobj;
6993
6994 {
6995 #if wxUSE_UNICODE
6996 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6997 #else
6998 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6999 #endif
7000 }
7001 return pyobj;
7002 }
7003
7004
7005 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxColour const &arg1_defvalue = wxNullColour ;
7008 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
7009 wxColour const &arg2_defvalue = wxNullColour ;
7010 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7011 wxFont const &arg3_defvalue = wxNullFont ;
7012 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7013 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7014 wxTextAttr *result;
7015 wxColour temp1 ;
7016 wxColour temp2 ;
7017 PyObject * obj0 = 0 ;
7018 PyObject * obj1 = 0 ;
7019 PyObject * obj2 = 0 ;
7020 PyObject * obj3 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7026 if (obj0) {
7027 {
7028 arg1 = &temp1;
7029 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7030 }
7031 }
7032 if (obj1) {
7033 {
7034 arg2 = &temp2;
7035 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7036 }
7037 }
7038 if (obj2) {
7039 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7040 SWIG_POINTER_EXCEPTION | 0)) == -1)
7041 SWIG_fail;
7042 if (arg3 == NULL) {
7043 PyErr_SetString(PyExc_TypeError,"null reference");
7044 SWIG_fail;
7045 }
7046 }
7047 if (obj3) {
7048 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7068 PyObject * obj0 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 delete arg1;
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 Py_INCREF(Py_None); resultobj = Py_None;
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7093 PyObject * obj0 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->Init();
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 Py_INCREF(Py_None); resultobj = Py_None;
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7118 wxColour *arg2 = 0 ;
7119 wxColour temp2 ;
7120 PyObject * obj0 = 0 ;
7121 PyObject * obj1 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self",(char *) "colText", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7129 {
7130 arg2 = &temp2;
7131 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7132 }
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->SetTextColour((wxColour const &)*arg2);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7150 wxColour *arg2 = 0 ;
7151 wxColour temp2 ;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self",(char *) "colBack", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7161 {
7162 arg2 = &temp2;
7163 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7164 }
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 Py_INCREF(Py_None); resultobj = Py_None;
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj;
7181 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7182 wxFont *arg2 = 0 ;
7183 long arg3 = (long) wxTEXT_ATTR_FONT ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 PyObject * obj2 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self",(char *) "font",(char *) "flags", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7195 SWIG_POINTER_EXCEPTION | 0)) == -1)
7196 SWIG_fail;
7197 if (arg2 == NULL) {
7198 PyErr_SetString(PyExc_TypeError,"null reference");
7199 SWIG_fail;
7200 }
7201 if (obj2) {
7202 arg3 = (long) SWIG_AsLong(obj2);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 Py_INCREF(Py_None); resultobj = Py_None;
7213 return resultobj;
7214 fail:
7215 return NULL;
7216 }
7217
7218
7219 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7222 int arg2 ;
7223 PyObject * obj0 = 0 ;
7224 PyObject * obj1 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self",(char *) "alignment", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7232 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7251 wxArrayInt *arg2 = 0 ;
7252 bool temp2 = False ;
7253 PyObject * obj0 = 0 ;
7254 PyObject * obj1 = 0 ;
7255 char *kwnames[] = {
7256 (char *) "self",(char *) "tabs", NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7262 {
7263 if (! PySequence_Check(obj1)) {
7264 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7265 SWIG_fail;
7266 }
7267 arg2 = new wxArrayInt;
7268 temp2 = True;
7269 int i, len=PySequence_Length(obj1);
7270 for (i=0; i<len; i++) {
7271 PyObject* item = PySequence_GetItem(obj1, i);
7272 PyObject* number = PyNumber_Int(item);
7273 arg2->Add(PyInt_AS_LONG(number));
7274 Py_DECREF(item);
7275 Py_DECREF(number);
7276 }
7277 }
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 Py_INCREF(Py_None); resultobj = Py_None;
7286 {
7287 if (temp2) delete arg2;
7288 }
7289 return resultobj;
7290 fail:
7291 {
7292 if (temp2) delete arg2;
7293 }
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7301 int arg2 ;
7302 int arg3 = (int) 0 ;
7303 PyObject * obj0 = 0 ;
7304 PyObject * obj1 = 0 ;
7305 PyObject * obj2 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7313 arg2 = (int) SWIG_AsInt(obj1);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 if (obj2) {
7316 arg3 = (int) SWIG_AsInt(obj2);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 (arg1)->SetLeftIndent(arg2,arg3);
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 Py_INCREF(Py_None); resultobj = Py_None;
7327 return resultobj;
7328 fail:
7329 return NULL;
7330 }
7331
7332
7333 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7336 int arg2 ;
7337 PyObject * obj0 = 0 ;
7338 PyObject * obj1 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "self",(char *) "indent", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7346 arg2 = (int) SWIG_AsInt(obj1);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 (arg1)->SetRightIndent(arg2);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 Py_INCREF(Py_None); resultobj = Py_None;
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7365 long arg2 ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "self",(char *) "flags", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7375 arg2 = (long) SWIG_AsLong(obj1);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 (arg1)->SetFlags(arg2);
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 Py_INCREF(Py_None); resultobj = Py_None;
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7394 bool result;
7395 PyObject * obj0 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 {
7411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7412 }
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7422 bool result;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 {
7439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7440 }
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7450 bool result;
7451 PyObject * obj0 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 {
7467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7468 }
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7478 bool result;
7479 PyObject * obj0 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 {
7495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7496 }
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7506 bool result;
7507 PyObject * obj0 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 {
7523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7524 }
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7534 bool result;
7535 PyObject * obj0 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7552 }
7553 return resultobj;
7554 fail:
7555 return NULL;
7556 }
7557
7558
7559 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7562 bool result;
7563 PyObject * obj0 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 {
7579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7580 }
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7590 long arg2 ;
7591 bool result;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "flag", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7601 arg2 = (long) SWIG_AsLong(obj1);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 {
7611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7612 }
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7622 wxColour *result;
7623 PyObject * obj0 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 {
7634 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7635 result = (wxColour *) &_result_ref;
7636 }
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj;
7650 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7651 wxColour *result;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 {
7663 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7664 result = (wxColour *) &_result_ref;
7665 }
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7680 wxFont *result;
7681 PyObject * obj0 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "self", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 {
7692 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7693 result = (wxFont *) &_result_ref;
7694 }
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 {
7700 wxFont* resultptr = new wxFont(*result);
7701 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7702 }
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7712 int result;
7713 PyObject * obj0 = 0 ;
7714 char *kwnames[] = {
7715 (char *) "self", NULL
7716 };
7717
7718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 resultobj = SWIG_FromInt((int)result);
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7738 wxArrayInt *result;
7739 PyObject * obj0 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 {
7750 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7751 result = (wxArrayInt *) &_result_ref;
7752 }
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 {
7758 resultobj = PyList_New(0);
7759 size_t idx;
7760 for (idx = 0; idx < result->GetCount(); idx += 1) {
7761 PyObject* val = PyInt_FromLong( result->Item(idx) );
7762 PyList_Append(resultobj, val);
7763 Py_DECREF(val);
7764 }
7765 }
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7775 long result;
7776 PyObject * obj0 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 resultobj = SWIG_FromLong((long)result);
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7801 long result;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = SWIG_FromLong((long)result);
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7827 long result;
7828 PyObject * obj0 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 resultobj = SWIG_FromLong((long)result);
7844 return resultobj;
7845 fail:
7846 return NULL;
7847 }
7848
7849
7850 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7851 PyObject *resultobj;
7852 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7853 long result;
7854 PyObject * obj0 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 resultobj = SWIG_FromLong((long)result);
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7879 bool result;
7880 PyObject * obj0 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 {
7896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7897 }
7898 return resultobj;
7899 fail:
7900 return NULL;
7901 }
7902
7903
7904 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxTextAttr *arg1 = 0 ;
7907 wxTextAttr *arg2 = 0 ;
7908 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7909 wxTextAttr result;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 PyObject * obj2 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1)
7920 SWIG_fail;
7921 if (arg1 == NULL) {
7922 PyErr_SetString(PyExc_TypeError,"null reference");
7923 SWIG_fail;
7924 }
7925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7926 SWIG_POINTER_EXCEPTION | 0)) == -1)
7927 SWIG_fail;
7928 if (arg2 == NULL) {
7929 PyErr_SetString(PyExc_TypeError,"null reference");
7930 SWIG_fail;
7931 }
7932 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 {
7942 wxTextAttr * resultptr;
7943 resultptr = new wxTextAttr((wxTextAttr &) result);
7944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7945 }
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7953 PyObject *obj;
7954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7955 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7956 Py_INCREF(obj);
7957 return Py_BuildValue((char *)"");
7958 }
7959 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxWindow *arg1 = (wxWindow *) 0 ;
7962 int arg2 = (int) -1 ;
7963 wxString const &arg3_defvalue = wxPyEmptyString ;
7964 wxString *arg3 = (wxString *) &arg3_defvalue ;
7965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7967 wxSize const &arg5_defvalue = wxDefaultSize ;
7968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7969 long arg6 = (long) 0 ;
7970 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7971 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7972 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7973 wxString *arg8 = (wxString *) &arg8_defvalue ;
7974 wxTextCtrl *result;
7975 bool temp3 = False ;
7976 wxPoint temp4 ;
7977 wxSize temp5 ;
7978 bool temp8 = False ;
7979 PyObject * obj0 = 0 ;
7980 PyObject * obj1 = 0 ;
7981 PyObject * obj2 = 0 ;
7982 PyObject * obj3 = 0 ;
7983 PyObject * obj4 = 0 ;
7984 PyObject * obj5 = 0 ;
7985 PyObject * obj6 = 0 ;
7986 PyObject * obj7 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7994 if (obj1) {
7995 arg2 = (int) SWIG_AsInt(obj1);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 if (obj2) {
7999 {
8000 arg3 = wxString_in_helper(obj2);
8001 if (arg3 == NULL) SWIG_fail;
8002 temp3 = True;
8003 }
8004 }
8005 if (obj3) {
8006 {
8007 arg4 = &temp4;
8008 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8009 }
8010 }
8011 if (obj4) {
8012 {
8013 arg5 = &temp5;
8014 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8015 }
8016 }
8017 if (obj5) {
8018 arg6 = (long) SWIG_AsLong(obj5);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 if (obj6) {
8022 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8023 SWIG_POINTER_EXCEPTION | 0)) == -1)
8024 SWIG_fail;
8025 if (arg7 == NULL) {
8026 PyErr_SetString(PyExc_TypeError,"null reference");
8027 SWIG_fail;
8028 }
8029 }
8030 if (obj7) {
8031 {
8032 arg8 = wxString_in_helper(obj7);
8033 if (arg8 == NULL) SWIG_fail;
8034 temp8 = True;
8035 }
8036 }
8037 {
8038 if (!wxPyCheckForApp()) SWIG_fail;
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 {
8046 resultobj = wxPyMake_wxObject(result);
8047 }
8048 {
8049 if (temp3)
8050 delete arg3;
8051 }
8052 {
8053 if (temp8)
8054 delete arg8;
8055 }
8056 return resultobj;
8057 fail:
8058 {
8059 if (temp3)
8060 delete arg3;
8061 }
8062 {
8063 if (temp8)
8064 delete arg8;
8065 }
8066 return NULL;
8067 }
8068
8069
8070 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj;
8072 wxTextCtrl *result;
8073 char *kwnames[] = {
8074 NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8078 {
8079 if (!wxPyCheckForApp()) SWIG_fail;
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 result = (wxTextCtrl *)new wxTextCtrl();
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 {
8087 resultobj = wxPyMake_wxObject(result);
8088 }
8089 return resultobj;
8090 fail:
8091 return NULL;
8092 }
8093
8094
8095 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj;
8097 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8098 wxWindow *arg2 = (wxWindow *) 0 ;
8099 int arg3 = (int) -1 ;
8100 wxString const &arg4_defvalue = wxPyEmptyString ;
8101 wxString *arg4 = (wxString *) &arg4_defvalue ;
8102 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8103 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8104 wxSize const &arg6_defvalue = wxDefaultSize ;
8105 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8106 long arg7 = (long) 0 ;
8107 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8108 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8109 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8110 wxString *arg9 = (wxString *) &arg9_defvalue ;
8111 bool result;
8112 bool temp4 = False ;
8113 wxPoint temp5 ;
8114 wxSize temp6 ;
8115 bool temp9 = False ;
8116 PyObject * obj0 = 0 ;
8117 PyObject * obj1 = 0 ;
8118 PyObject * obj2 = 0 ;
8119 PyObject * obj3 = 0 ;
8120 PyObject * obj4 = 0 ;
8121 PyObject * obj5 = 0 ;
8122 PyObject * obj6 = 0 ;
8123 PyObject * obj7 = 0 ;
8124 PyObject * obj8 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8134 if (obj2) {
8135 arg3 = (int) SWIG_AsInt(obj2);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 if (obj3) {
8139 {
8140 arg4 = wxString_in_helper(obj3);
8141 if (arg4 == NULL) SWIG_fail;
8142 temp4 = True;
8143 }
8144 }
8145 if (obj4) {
8146 {
8147 arg5 = &temp5;
8148 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8149 }
8150 }
8151 if (obj5) {
8152 {
8153 arg6 = &temp6;
8154 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8155 }
8156 }
8157 if (obj6) {
8158 arg7 = (long) SWIG_AsLong(obj6);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 if (obj7) {
8162 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8163 SWIG_POINTER_EXCEPTION | 0)) == -1)
8164 SWIG_fail;
8165 if (arg8 == NULL) {
8166 PyErr_SetString(PyExc_TypeError,"null reference");
8167 SWIG_fail;
8168 }
8169 }
8170 if (obj8) {
8171 {
8172 arg9 = wxString_in_helper(obj8);
8173 if (arg9 == NULL) SWIG_fail;
8174 temp9 = True;
8175 }
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 {
8185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8186 }
8187 {
8188 if (temp4)
8189 delete arg4;
8190 }
8191 {
8192 if (temp9)
8193 delete arg9;
8194 }
8195 return resultobj;
8196 fail:
8197 {
8198 if (temp4)
8199 delete arg4;
8200 }
8201 {
8202 if (temp9)
8203 delete arg9;
8204 }
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8212 wxString result;
8213 PyObject * obj0 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = ((wxTextCtrl const *)arg1)->GetValue();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 {
8229 #if wxUSE_UNICODE
8230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8231 #else
8232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8233 #endif
8234 }
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8244 wxString *arg2 = 0 ;
8245 bool temp2 = False ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "value", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8255 {
8256 arg2 = wxString_in_helper(obj1);
8257 if (arg2 == NULL) SWIG_fail;
8258 temp2 = True;
8259 }
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 (arg1)->SetValue((wxString const &)*arg2);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 Py_INCREF(Py_None); resultobj = Py_None;
8268 {
8269 if (temp2)
8270 delete arg2;
8271 }
8272 return resultobj;
8273 fail:
8274 {
8275 if (temp2)
8276 delete arg2;
8277 }
8278 return NULL;
8279 }
8280
8281
8282 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8285 long arg2 ;
8286 long arg3 ;
8287 wxString result;
8288 PyObject * obj0 = 0 ;
8289 PyObject * obj1 = 0 ;
8290 PyObject * obj2 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "from",(char *) "to", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8298 arg2 = (long) SWIG_AsLong(obj1);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 arg3 = (long) SWIG_AsLong(obj2);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 {
8310 #if wxUSE_UNICODE
8311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8312 #else
8313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8314 #endif
8315 }
8316 return resultobj;
8317 fail:
8318 return NULL;
8319 }
8320
8321
8322 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8325 long arg2 ;
8326 int result;
8327 PyObject * obj0 = 0 ;
8328 PyObject * obj1 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self",(char *) "lineNo", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8336 arg2 = (long) SWIG_AsLong(obj1);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_FromInt((int)result);
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8355 long arg2 ;
8356 wxString result;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self",(char *) "lineNo", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8366 arg2 = (long) SWIG_AsLong(obj1);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 {
8376 #if wxUSE_UNICODE
8377 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8378 #else
8379 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8380 #endif
8381 }
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8391 int result;
8392 PyObject * obj0 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self", NULL
8395 };
8396
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 resultobj = SWIG_FromInt((int)result);
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8417 bool result;
8418 PyObject * obj0 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 {
8434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8435 }
8436 return resultobj;
8437 fail:
8438 return NULL;
8439 }
8440
8441
8442 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj;
8444 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8445 bool result;
8446 PyObject * obj0 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8457
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 {
8462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8463 }
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8473 bool result;
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 {
8490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8491 }
8492 return resultobj;
8493 fail:
8494 return NULL;
8495 }
8496
8497
8498 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8501 bool result;
8502 PyObject * obj0 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "self", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 {
8518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8519 }
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj;
8528 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8529 long *arg2 = (long *) 0 ;
8530 long *arg3 = (long *) 0 ;
8531 long temp2 ;
8532 long temp3 ;
8533 PyObject * obj0 = 0 ;
8534 char *kwnames[] = {
8535 (char *) "self", NULL
8536 };
8537
8538 arg2 = &temp2;
8539 arg3 = &temp3;
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 Py_INCREF(Py_None); resultobj = Py_None;
8551 {
8552 PyObject *o = PyInt_FromLong((long) (*arg2));
8553 resultobj = t_output_helper(resultobj,o);
8554 }
8555 {
8556 PyObject *o = PyInt_FromLong((long) (*arg3));
8557 resultobj = t_output_helper(resultobj,o);
8558 }
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8568 wxString result;
8569 PyObject * obj0 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 {
8585 #if wxUSE_UNICODE
8586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8587 #else
8588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8589 #endif
8590 }
8591 return resultobj;
8592 fail:
8593 return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8600 PyObject * obj0 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "self", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 (arg1)->Clear();
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 Py_INCREF(Py_None); resultobj = Py_None;
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8625 long arg2 ;
8626 long arg3 ;
8627 wxString *arg4 = 0 ;
8628 bool temp4 = False ;
8629 PyObject * obj0 = 0 ;
8630 PyObject * obj1 = 0 ;
8631 PyObject * obj2 = 0 ;
8632 PyObject * obj3 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8640 arg2 = (long) SWIG_AsLong(obj1);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 arg3 = (long) SWIG_AsLong(obj2);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 {
8645 arg4 = wxString_in_helper(obj3);
8646 if (arg4 == NULL) SWIG_fail;
8647 temp4 = True;
8648 }
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 Py_INCREF(Py_None); resultobj = Py_None;
8657 {
8658 if (temp4)
8659 delete arg4;
8660 }
8661 return resultobj;
8662 fail:
8663 {
8664 if (temp4)
8665 delete arg4;
8666 }
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8674 long arg2 ;
8675 long arg3 ;
8676 PyObject * obj0 = 0 ;
8677 PyObject * obj1 = 0 ;
8678 PyObject * obj2 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self",(char *) "from",(char *) "to", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 arg2 = (long) SWIG_AsLong(obj1);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 arg3 = (long) SWIG_AsLong(obj2);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 (arg1)->Remove(arg2,arg3);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 Py_INCREF(Py_None); resultobj = Py_None;
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8707 wxString *arg2 = 0 ;
8708 bool result;
8709 bool temp2 = False ;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self",(char *) "file", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8719 {
8720 arg2 = wxString_in_helper(obj1);
8721 if (arg2 == NULL) SWIG_fail;
8722 temp2 = True;
8723 }
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 {
8732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8733 }
8734 {
8735 if (temp2)
8736 delete arg2;
8737 }
8738 return resultobj;
8739 fail:
8740 {
8741 if (temp2)
8742 delete arg2;
8743 }
8744 return NULL;
8745 }
8746
8747
8748 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj;
8750 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8751 wxString const &arg2_defvalue = wxPyEmptyString ;
8752 wxString *arg2 = (wxString *) &arg2_defvalue ;
8753 bool result;
8754 bool temp2 = False ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "file", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8764 if (obj1) {
8765 {
8766 arg2 = wxString_in_helper(obj1);
8767 if (arg2 == NULL) SWIG_fail;
8768 temp2 = True;
8769 }
8770 }
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 {
8779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8780 }
8781 {
8782 if (temp2)
8783 delete arg2;
8784 }
8785 return resultobj;
8786 fail:
8787 {
8788 if (temp2)
8789 delete arg2;
8790 }
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8798 PyObject * obj0 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 (arg1)->MarkDirty();
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 Py_INCREF(Py_None); resultobj = Py_None;
8814 return resultobj;
8815 fail:
8816 return NULL;
8817 }
8818
8819
8820 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 (arg1)->DiscardEdits();
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 Py_INCREF(Py_None); resultobj = Py_None;
8839 return resultobj;
8840 fail:
8841 return NULL;
8842 }
8843
8844
8845 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj;
8847 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8848 unsigned long arg2 ;
8849 PyObject * obj0 = 0 ;
8850 PyObject * obj1 = 0 ;
8851 char *kwnames[] = {
8852 (char *) "self",(char *) "len", NULL
8853 };
8854
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8858 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->SetMaxLength(arg2);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 Py_INCREF(Py_None); resultobj = Py_None;
8868 return resultobj;
8869 fail:
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8877 wxString *arg2 = 0 ;
8878 bool temp2 = False ;
8879 PyObject * obj0 = 0 ;
8880 PyObject * obj1 = 0 ;
8881 char *kwnames[] = {
8882 (char *) "self",(char *) "text", NULL
8883 };
8884
8885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8888 {
8889 arg2 = wxString_in_helper(obj1);
8890 if (arg2 == NULL) SWIG_fail;
8891 temp2 = True;
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->WriteText((wxString const &)*arg2);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 Py_INCREF(Py_None); resultobj = Py_None;
8901 {
8902 if (temp2)
8903 delete arg2;
8904 }
8905 return resultobj;
8906 fail:
8907 {
8908 if (temp2)
8909 delete arg2;
8910 }
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8918 wxString *arg2 = 0 ;
8919 bool temp2 = False ;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "text", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 {
8930 arg2 = wxString_in_helper(obj1);
8931 if (arg2 == NULL) SWIG_fail;
8932 temp2 = True;
8933 }
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 (arg1)->AppendText((wxString const &)*arg2);
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 Py_INCREF(Py_None); resultobj = Py_None;
8942 {
8943 if (temp2)
8944 delete arg2;
8945 }
8946 return resultobj;
8947 fail:
8948 {
8949 if (temp2)
8950 delete arg2;
8951 }
8952 return NULL;
8953 }
8954
8955
8956 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject *resultobj;
8958 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8959 wxKeyEvent *arg2 = 0 ;
8960 bool result;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 char *kwnames[] = {
8964 (char *) "self",(char *) "event", NULL
8965 };
8966
8967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1)
8972 SWIG_fail;
8973 if (arg2 == NULL) {
8974 PyErr_SetString(PyExc_TypeError,"null reference");
8975 SWIG_fail;
8976 }
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 {
8985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8986 }
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8996 long arg2 ;
8997 long arg3 ;
8998 wxTextAttr *arg4 = 0 ;
8999 bool result;
9000 PyObject * obj0 = 0 ;
9001 PyObject * obj1 = 0 ;
9002 PyObject * obj2 = 0 ;
9003 PyObject * obj3 = 0 ;
9004 char *kwnames[] = {
9005 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9006 };
9007
9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9011 arg2 = (long) SWIG_AsLong(obj1);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 arg3 = (long) SWIG_AsLong(obj2);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9016 SWIG_POINTER_EXCEPTION | 0)) == -1)
9017 SWIG_fail;
9018 if (arg4 == NULL) {
9019 PyErr_SetString(PyExc_TypeError,"null reference");
9020 SWIG_fail;
9021 }
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 {
9030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9031 }
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9041 long arg2 ;
9042 wxTextAttr *arg3 = 0 ;
9043 bool result;
9044 PyObject * obj0 = 0 ;
9045 PyObject * obj1 = 0 ;
9046 PyObject * obj2 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self",(char *) "position",(char *) "style", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9054 arg2 = (long) SWIG_AsLong(obj1);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1)
9058 SWIG_fail;
9059 if (arg3 == NULL) {
9060 PyErr_SetString(PyExc_TypeError,"null reference");
9061 SWIG_fail;
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 {
9071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9072 }
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9082 wxTextAttr *arg2 = 0 ;
9083 bool result;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "style", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9094 SWIG_POINTER_EXCEPTION | 0)) == -1)
9095 SWIG_fail;
9096 if (arg2 == NULL) {
9097 PyErr_SetString(PyExc_TypeError,"null reference");
9098 SWIG_fail;
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 {
9108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9109 }
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9119 wxTextAttr *result;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 {
9131 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9132 result = (wxTextAttr *) &_result_ref;
9133 }
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9148 long arg2 ;
9149 long arg3 ;
9150 long result;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self",(char *) "x",(char *) "y", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9161 arg2 = (long) SWIG_AsLong(obj1);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 arg3 = (long) SWIG_AsLong(obj2);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 resultobj = SWIG_FromLong((long)result);
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9182 long arg2 ;
9183 long *arg3 = (long *) 0 ;
9184 long *arg4 = (long *) 0 ;
9185 long temp3 ;
9186 long temp4 ;
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self",(char *) "pos", NULL
9191 };
9192
9193 arg3 = &temp3;
9194 arg4 = &temp4;
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9198 arg2 = (long) SWIG_AsLong(obj1);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9203
9204 wxPyEndAllowThreads(__tstate);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 }
9207 Py_INCREF(Py_None); resultobj = Py_None;
9208 {
9209 PyObject *o = PyInt_FromLong((long) (*arg3));
9210 resultobj = t_output_helper(resultobj,o);
9211 }
9212 {
9213 PyObject *o = PyInt_FromLong((long) (*arg4));
9214 resultobj = t_output_helper(resultobj,o);
9215 }
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9225 long arg2 ;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "pos", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9235 arg2 = (long) SWIG_AsLong(obj1);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 (arg1)->ShowPosition(arg2);
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 Py_INCREF(Py_None); resultobj = Py_None;
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9254 wxPoint *arg2 = 0 ;
9255 long *arg3 = (long *) 0 ;
9256 long *arg4 = (long *) 0 ;
9257 int result;
9258 wxPoint temp2 ;
9259 long temp3 ;
9260 long temp4 ;
9261 PyObject * obj0 = 0 ;
9262 PyObject * obj1 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "pt", NULL
9265 };
9266
9267 arg3 = &temp3;
9268 arg4 = &temp4;
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 {
9273 arg2 = &temp2;
9274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9275 }
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = SWIG_FromInt((int)result);
9284 {
9285 PyObject *o = PyInt_FromLong((long) (*arg3));
9286 resultobj = t_output_helper(resultobj,o);
9287 }
9288 {
9289 PyObject *o = PyInt_FromLong((long) (*arg4));
9290 resultobj = t_output_helper(resultobj,o);
9291 }
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9301 PyObject * obj0 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
9311 (arg1)->Copy();
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 Py_INCREF(Py_None); resultobj = Py_None;
9317 return resultobj;
9318 fail:
9319 return NULL;
9320 }
9321
9322
9323 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9324 PyObject *resultobj;
9325 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9326 PyObject * obj0 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 (arg1)->Cut();
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 Py_INCREF(Py_None); resultobj = Py_None;
9342 return resultobj;
9343 fail:
9344 return NULL;
9345 }
9346
9347
9348 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9351 PyObject * obj0 = 0 ;
9352 char *kwnames[] = {
9353 (char *) "self", NULL
9354 };
9355
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 (arg1)->Paste();
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 Py_INCREF(Py_None); resultobj = Py_None;
9367 return resultobj;
9368 fail:
9369 return NULL;
9370 }
9371
9372
9373 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9376 bool result;
9377 PyObject * obj0 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9388
9389 wxPyEndAllowThreads(__tstate);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
9392 {
9393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9394 }
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9404 bool result;
9405 PyObject * obj0 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 {
9421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9422 }
9423 return resultobj;
9424 fail:
9425 return NULL;
9426 }
9427
9428
9429 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9432 bool result;
9433 PyObject * obj0 = 0 ;
9434 char *kwnames[] = {
9435 (char *) "self", NULL
9436 };
9437
9438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 {
9449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9450 }
9451 return resultobj;
9452 fail:
9453 return NULL;
9454 }
9455
9456
9457 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj;
9459 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9460 PyObject * obj0 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 (arg1)->Undo();
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 Py_INCREF(Py_None); resultobj = Py_None;
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9483 PyObject *resultobj;
9484 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 (arg1)->Redo();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 Py_INCREF(Py_None); resultobj = Py_None;
9501 return resultobj;
9502 fail:
9503 return NULL;
9504 }
9505
9506
9507 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9510 bool result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 {
9527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9528 }
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9538 bool result;
9539 PyObject * obj0 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 {
9555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9556 }
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9566 long arg2 ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "pos", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 arg2 = (long) SWIG_AsLong(obj1);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 (arg1)->SetInsertionPoint(arg2);
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 Py_INCREF(Py_None); resultobj = Py_None;
9586 return resultobj;
9587 fail:
9588 return NULL;
9589 }
9590
9591
9592 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj;
9594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9595 PyObject * obj0 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "self", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 (arg1)->SetInsertionPointEnd();
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 Py_INCREF(Py_None); resultobj = Py_None;
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9620 long result;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "self", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 resultobj = SWIG_FromLong((long)result);
9637 return resultobj;
9638 fail:
9639 return NULL;
9640 }
9641
9642
9643 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj;
9645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9646 long result;
9647 PyObject * obj0 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = SWIG_FromLong((long)result);
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9672 long arg2 ;
9673 long arg3 ;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 PyObject * obj2 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self",(char *) "from",(char *) "to", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 arg2 = (long) SWIG_AsLong(obj1);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 arg3 = (long) SWIG_AsLong(obj2);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 (arg1)->SetSelection(arg2,arg3);
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 Py_INCREF(Py_None); resultobj = Py_None;
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9705 PyObject * obj0 = 0 ;
9706 char *kwnames[] = {
9707 (char *) "self", NULL
9708 };
9709
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 (arg1)->SelectAll();
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 Py_INCREF(Py_None); resultobj = Py_None;
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9730 bool arg2 ;
9731 PyObject * obj0 = 0 ;
9732 PyObject * obj1 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "editable", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9740 arg2 = (bool) SWIG_AsBool(obj1);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 (arg1)->SetEditable(arg2);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 Py_INCREF(Py_None); resultobj = Py_None;
9750 return resultobj;
9751 fail:
9752 return NULL;
9753 }
9754
9755
9756 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9759 wxString *arg2 = 0 ;
9760 bool temp2 = False ;
9761 PyObject * obj0 = 0 ;
9762 PyObject * obj1 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self",(char *) "text", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9770 {
9771 arg2 = wxString_in_helper(obj1);
9772 if (arg2 == NULL) SWIG_fail;
9773 temp2 = True;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 {
9784 if (temp2)
9785 delete arg2;
9786 }
9787 return resultobj;
9788 fail:
9789 {
9790 if (temp2)
9791 delete arg2;
9792 }
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9800 long arg2 ;
9801 long arg3 ;
9802 wxString result;
9803 PyObject * obj0 = 0 ;
9804 PyObject * obj1 = 0 ;
9805 PyObject * obj2 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self",(char *) "from",(char *) "to", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9813 arg2 = (long) SWIG_AsLong(obj1);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 arg3 = (long) SWIG_AsLong(obj2);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 {
9825 #if wxUSE_UNICODE
9826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9827 #else
9828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9829 #endif
9830 }
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9840 wxVisualAttributes result;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "variant", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9847 if (obj0) {
9848 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 {
9859 wxVisualAttributes * resultptr;
9860 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9862 }
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9870 PyObject *obj;
9871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9872 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9873 Py_INCREF(obj);
9874 return Py_BuildValue((char *)"");
9875 }
9876 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 int arg1 ;
9879 wxMouseEvent *arg2 = 0 ;
9880 long arg3 ;
9881 long arg4 ;
9882 wxTextUrlEvent *result;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9885 PyObject * obj2 = 0 ;
9886 PyObject * obj3 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9892 arg1 = (int) SWIG_AsInt(obj0);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9895 SWIG_POINTER_EXCEPTION | 0)) == -1)
9896 SWIG_fail;
9897 if (arg2 == NULL) {
9898 PyErr_SetString(PyExc_TypeError,"null reference");
9899 SWIG_fail;
9900 }
9901 arg3 = (long) SWIG_AsLong(obj2);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 arg4 = (long) SWIG_AsLong(obj3);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9922 wxMouseEvent *result;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 {
9934 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9935 result = (wxMouseEvent *) &_result_ref;
9936 }
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9951 long result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 resultobj = SWIG_FromLong((long)result);
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9977 long result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 resultobj = SWIG_FromLong((long)result);
9994 return resultobj;
9995 fail:
9996 return NULL;
9997 }
9998
9999
10000 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
10001 PyObject *obj;
10002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10003 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10004 Py_INCREF(obj);
10005 return Py_BuildValue((char *)"");
10006 }
10007 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
10008 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10009 return 1;
10010 }
10011
10012
10013 static PyObject *_wrap_ScrollBarNameStr_get() {
10014 PyObject *pyobj;
10015
10016 {
10017 #if wxUSE_UNICODE
10018 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10019 #else
10020 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10021 #endif
10022 }
10023 return pyobj;
10024 }
10025
10026
10027 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxWindow *arg1 = (wxWindow *) 0 ;
10030 int arg2 = (int) -1 ;
10031 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10032 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10033 wxSize const &arg4_defvalue = wxDefaultSize ;
10034 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10035 long arg5 = (long) wxSB_HORIZONTAL ;
10036 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10037 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10038 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10039 wxString *arg7 = (wxString *) &arg7_defvalue ;
10040 wxScrollBar *result;
10041 wxPoint temp3 ;
10042 wxSize temp4 ;
10043 bool temp7 = False ;
10044 PyObject * obj0 = 0 ;
10045 PyObject * obj1 = 0 ;
10046 PyObject * obj2 = 0 ;
10047 PyObject * obj3 = 0 ;
10048 PyObject * obj4 = 0 ;
10049 PyObject * obj5 = 0 ;
10050 PyObject * obj6 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10058 if (obj1) {
10059 arg2 = (int) SWIG_AsInt(obj1);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 if (obj2) {
10063 {
10064 arg3 = &temp3;
10065 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10066 }
10067 }
10068 if (obj3) {
10069 {
10070 arg4 = &temp4;
10071 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10072 }
10073 }
10074 if (obj4) {
10075 arg5 = (long) SWIG_AsLong(obj4);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 if (obj5) {
10079 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10080 SWIG_POINTER_EXCEPTION | 0)) == -1)
10081 SWIG_fail;
10082 if (arg6 == NULL) {
10083 PyErr_SetString(PyExc_TypeError,"null reference");
10084 SWIG_fail;
10085 }
10086 }
10087 if (obj6) {
10088 {
10089 arg7 = wxString_in_helper(obj6);
10090 if (arg7 == NULL) SWIG_fail;
10091 temp7 = True;
10092 }
10093 }
10094 {
10095 if (!wxPyCheckForApp()) SWIG_fail;
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10103 {
10104 if (temp7)
10105 delete arg7;
10106 }
10107 return resultobj;
10108 fail:
10109 {
10110 if (temp7)
10111 delete arg7;
10112 }
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxScrollBar *result;
10120 char *kwnames[] = {
10121 NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10125 {
10126 if (!wxPyCheckForApp()) SWIG_fail;
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (wxScrollBar *)new wxScrollBar();
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10143 wxWindow *arg2 = (wxWindow *) 0 ;
10144 int arg3 = (int) -1 ;
10145 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10146 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10147 wxSize const &arg5_defvalue = wxDefaultSize ;
10148 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10149 long arg6 = (long) wxSB_HORIZONTAL ;
10150 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10151 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10152 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10153 wxString *arg8 = (wxString *) &arg8_defvalue ;
10154 bool result;
10155 wxPoint temp4 ;
10156 wxSize temp5 ;
10157 bool temp8 = False ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 PyObject * obj2 = 0 ;
10161 PyObject * obj3 = 0 ;
10162 PyObject * obj4 = 0 ;
10163 PyObject * obj5 = 0 ;
10164 PyObject * obj6 = 0 ;
10165 PyObject * obj7 = 0 ;
10166 char *kwnames[] = {
10167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10175 if (obj2) {
10176 arg3 = (int) SWIG_AsInt(obj2);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 if (obj3) {
10180 {
10181 arg4 = &temp4;
10182 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10183 }
10184 }
10185 if (obj4) {
10186 {
10187 arg5 = &temp5;
10188 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10189 }
10190 }
10191 if (obj5) {
10192 arg6 = (long) SWIG_AsLong(obj5);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 if (obj6) {
10196 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10197 SWIG_POINTER_EXCEPTION | 0)) == -1)
10198 SWIG_fail;
10199 if (arg7 == NULL) {
10200 PyErr_SetString(PyExc_TypeError,"null reference");
10201 SWIG_fail;
10202 }
10203 }
10204 if (obj7) {
10205 {
10206 arg8 = wxString_in_helper(obj7);
10207 if (arg8 == NULL) SWIG_fail;
10208 temp8 = True;
10209 }
10210 }
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 {
10219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10220 }
10221 {
10222 if (temp8)
10223 delete arg8;
10224 }
10225 return resultobj;
10226 fail:
10227 {
10228 if (temp8)
10229 delete arg8;
10230 }
10231 return NULL;
10232 }
10233
10234
10235 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10238 int result;
10239 PyObject * obj0 = 0 ;
10240 char *kwnames[] = {
10241 (char *) "self", NULL
10242 };
10243
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = SWIG_FromInt((int)result);
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10264 int result;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 resultobj = SWIG_FromInt((int)result);
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10290 int result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 resultobj = SWIG_FromInt((int)result);
10307 return resultobj;
10308 fail:
10309 return NULL;
10310 }
10311
10312
10313 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10314 PyObject *resultobj;
10315 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10316 int result;
10317 PyObject * obj0 = 0 ;
10318 char *kwnames[] = {
10319 (char *) "self", NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (int)((wxScrollBar const *)arg1)->GetRange();
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 resultobj = SWIG_FromInt((int)result);
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10342 bool result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 {
10359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10360 }
10361 return resultobj;
10362 fail:
10363 return NULL;
10364 }
10365
10366
10367 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10368 PyObject *resultobj;
10369 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10370 int arg2 ;
10371 PyObject * obj0 = 0 ;
10372 PyObject * obj1 = 0 ;
10373 char *kwnames[] = {
10374 (char *) "self",(char *) "viewStart", NULL
10375 };
10376
10377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10380 arg2 = (int) SWIG_AsInt(obj1);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetThumbPosition(arg2);
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 Py_INCREF(Py_None); resultobj = Py_None;
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10399 int arg2 ;
10400 int arg3 ;
10401 int arg4 ;
10402 int arg5 ;
10403 bool arg6 = (bool) True ;
10404 PyObject * obj0 = 0 ;
10405 PyObject * obj1 = 0 ;
10406 PyObject * obj2 = 0 ;
10407 PyObject * obj3 = 0 ;
10408 PyObject * obj4 = 0 ;
10409 PyObject * obj5 = 0 ;
10410 char *kwnames[] = {
10411 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10412 };
10413
10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10417 arg2 = (int) SWIG_AsInt(obj1);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 arg3 = (int) SWIG_AsInt(obj2);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 arg4 = (int) SWIG_AsInt(obj3);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 arg5 = (int) SWIG_AsInt(obj4);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 if (obj5) {
10426 arg6 = (bool) SWIG_AsBool(obj5);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 Py_INCREF(Py_None); resultobj = Py_None;
10437 return resultobj;
10438 fail:
10439 return NULL;
10440 }
10441
10442
10443 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10446 wxVisualAttributes result;
10447 PyObject * obj0 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "variant", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10453 if (obj0) {
10454 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 {
10465 wxVisualAttributes * resultptr;
10466 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10476 PyObject *obj;
10477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10478 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10479 Py_INCREF(obj);
10480 return Py_BuildValue((char *)"");
10481 }
10482 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10483 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10484 return 1;
10485 }
10486
10487
10488 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10489 PyObject *pyobj;
10490
10491 {
10492 #if wxUSE_UNICODE
10493 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10494 #else
10495 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10496 #endif
10497 }
10498 return pyobj;
10499 }
10500
10501
10502 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10503 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10504 return 1;
10505 }
10506
10507
10508 static PyObject *_wrap_SpinCtrlNameStr_get() {
10509 PyObject *pyobj;
10510
10511 {
10512 #if wxUSE_UNICODE
10513 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10514 #else
10515 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10516 #endif
10517 }
10518 return pyobj;
10519 }
10520
10521
10522 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject *resultobj;
10524 wxWindow *arg1 = (wxWindow *) 0 ;
10525 int arg2 = (int) -1 ;
10526 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10527 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10528 wxSize const &arg4_defvalue = wxDefaultSize ;
10529 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10530 long arg5 = (long) wxSP_HORIZONTAL ;
10531 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10532 wxString *arg6 = (wxString *) &arg6_defvalue ;
10533 wxSpinButton *result;
10534 wxPoint temp3 ;
10535 wxSize temp4 ;
10536 bool temp6 = False ;
10537 PyObject * obj0 = 0 ;
10538 PyObject * obj1 = 0 ;
10539 PyObject * obj2 = 0 ;
10540 PyObject * obj3 = 0 ;
10541 PyObject * obj4 = 0 ;
10542 PyObject * obj5 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10550 if (obj1) {
10551 arg2 = (int) SWIG_AsInt(obj1);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 if (obj2) {
10555 {
10556 arg3 = &temp3;
10557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10558 }
10559 }
10560 if (obj3) {
10561 {
10562 arg4 = &temp4;
10563 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10564 }
10565 }
10566 if (obj4) {
10567 arg5 = (long) SWIG_AsLong(obj4);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 if (obj5) {
10571 {
10572 arg6 = wxString_in_helper(obj5);
10573 if (arg6 == NULL) SWIG_fail;
10574 temp6 = True;
10575 }
10576 }
10577 {
10578 if (!wxPyCheckForApp()) SWIG_fail;
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10586 {
10587 if (temp6)
10588 delete arg6;
10589 }
10590 return resultobj;
10591 fail:
10592 {
10593 if (temp6)
10594 delete arg6;
10595 }
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxSpinButton *result;
10603 char *kwnames[] = {
10604 NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10608 {
10609 if (!wxPyCheckForApp()) SWIG_fail;
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 result = (wxSpinButton *)new wxSpinButton();
10612
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10617 return resultobj;
10618 fail:
10619 return NULL;
10620 }
10621
10622
10623 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10624 PyObject *resultobj;
10625 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10626 wxWindow *arg2 = (wxWindow *) 0 ;
10627 int arg3 = (int) -1 ;
10628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10630 wxSize const &arg5_defvalue = wxDefaultSize ;
10631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10632 long arg6 = (long) wxSP_HORIZONTAL ;
10633 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10634 wxString *arg7 = (wxString *) &arg7_defvalue ;
10635 bool result;
10636 wxPoint temp4 ;
10637 wxSize temp5 ;
10638 bool temp7 = False ;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 PyObject * obj2 = 0 ;
10642 PyObject * obj3 = 0 ;
10643 PyObject * obj4 = 0 ;
10644 PyObject * obj5 = 0 ;
10645 PyObject * obj6 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10655 if (obj2) {
10656 arg3 = (int) SWIG_AsInt(obj2);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 if (obj3) {
10660 {
10661 arg4 = &temp4;
10662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10663 }
10664 }
10665 if (obj4) {
10666 {
10667 arg5 = &temp5;
10668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10669 }
10670 }
10671 if (obj5) {
10672 arg6 = (long) SWIG_AsLong(obj5);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 if (obj6) {
10676 {
10677 arg7 = wxString_in_helper(obj6);
10678 if (arg7 == NULL) SWIG_fail;
10679 temp7 = True;
10680 }
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 {
10690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10691 }
10692 {
10693 if (temp7)
10694 delete arg7;
10695 }
10696 return resultobj;
10697 fail:
10698 {
10699 if (temp7)
10700 delete arg7;
10701 }
10702 return NULL;
10703 }
10704
10705
10706 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10709 int result;
10710 PyObject * obj0 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10718 {
10719 PyThreadState* __tstate = wxPyBeginAllowThreads();
10720 result = (int)((wxSpinButton const *)arg1)->GetValue();
10721
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 resultobj = SWIG_FromInt((int)result);
10726 return resultobj;
10727 fail:
10728 return NULL;
10729 }
10730
10731
10732 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj;
10734 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10735 int result;
10736 PyObject * obj0 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 result = (int)((wxSpinButton const *)arg1)->GetMin();
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 resultobj = SWIG_FromInt((int)result);
10752 return resultobj;
10753 fail:
10754 return NULL;
10755 }
10756
10757
10758 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10761 int result;
10762 PyObject * obj0 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (int)((wxSpinButton const *)arg1)->GetMax();
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_FromInt((int)result);
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10787 int arg2 ;
10788 PyObject * obj0 = 0 ;
10789 PyObject * obj1 = 0 ;
10790 char *kwnames[] = {
10791 (char *) "self",(char *) "val", NULL
10792 };
10793
10794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10797 arg2 = (int) SWIG_AsInt(obj1);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 (arg1)->SetValue(arg2);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 Py_INCREF(Py_None); resultobj = Py_None;
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10816 int arg2 ;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self",(char *) "minVal", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10826 arg2 = (int) SWIG_AsInt(obj1);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 (arg1)->SetMin(arg2);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 Py_INCREF(Py_None); resultobj = Py_None;
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10845 int arg2 ;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848 char *kwnames[] = {
10849 (char *) "self",(char *) "maxVal", NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10855 arg2 = (int) SWIG_AsInt(obj1);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 (arg1)->SetMax(arg2);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 Py_INCREF(Py_None); resultobj = Py_None;
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10874 int arg2 ;
10875 int arg3 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10886 arg2 = (int) SWIG_AsInt(obj1);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 arg3 = (int) SWIG_AsInt(obj2);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->SetRange(arg2,arg3);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10907 bool result;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 {
10924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10925 }
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10935 wxVisualAttributes result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "variant", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10942 if (obj0) {
10943 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 {
10954 wxVisualAttributes * resultptr;
10955 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10957 }
10958 return resultobj;
10959 fail:
10960 return NULL;
10961 }
10962
10963
10964 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10965 PyObject *obj;
10966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10967 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10968 Py_INCREF(obj);
10969 return Py_BuildValue((char *)"");
10970 }
10971 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxWindow *arg1 = (wxWindow *) 0 ;
10974 int arg2 = (int) -1 ;
10975 wxString const &arg3_defvalue = wxPyEmptyString ;
10976 wxString *arg3 = (wxString *) &arg3_defvalue ;
10977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10979 wxSize const &arg5_defvalue = wxDefaultSize ;
10980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10981 long arg6 = (long) wxSP_ARROW_KEYS ;
10982 int arg7 = (int) 0 ;
10983 int arg8 = (int) 100 ;
10984 int arg9 = (int) 0 ;
10985 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10986 wxString *arg10 = (wxString *) &arg10_defvalue ;
10987 wxSpinCtrl *result;
10988 bool temp3 = False ;
10989 wxPoint temp4 ;
10990 wxSize temp5 ;
10991 bool temp10 = False ;
10992 PyObject * obj0 = 0 ;
10993 PyObject * obj1 = 0 ;
10994 PyObject * obj2 = 0 ;
10995 PyObject * obj3 = 0 ;
10996 PyObject * obj4 = 0 ;
10997 PyObject * obj5 = 0 ;
10998 PyObject * obj6 = 0 ;
10999 PyObject * obj7 = 0 ;
11000 PyObject * obj8 = 0 ;
11001 PyObject * obj9 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11009 if (obj1) {
11010 arg2 = (int) SWIG_AsInt(obj1);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 if (obj2) {
11014 {
11015 arg3 = wxString_in_helper(obj2);
11016 if (arg3 == NULL) SWIG_fail;
11017 temp3 = True;
11018 }
11019 }
11020 if (obj3) {
11021 {
11022 arg4 = &temp4;
11023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11024 }
11025 }
11026 if (obj4) {
11027 {
11028 arg5 = &temp5;
11029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11030 }
11031 }
11032 if (obj5) {
11033 arg6 = (long) SWIG_AsLong(obj5);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 if (obj6) {
11037 arg7 = (int) SWIG_AsInt(obj6);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 if (obj7) {
11041 arg8 = (int) SWIG_AsInt(obj7);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 if (obj8) {
11045 arg9 = (int) SWIG_AsInt(obj8);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 if (obj9) {
11049 {
11050 arg10 = wxString_in_helper(obj9);
11051 if (arg10 == NULL) SWIG_fail;
11052 temp10 = True;
11053 }
11054 }
11055 {
11056 if (!wxPyCheckForApp()) SWIG_fail;
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11064 {
11065 if (temp3)
11066 delete arg3;
11067 }
11068 {
11069 if (temp10)
11070 delete arg10;
11071 }
11072 return resultobj;
11073 fail:
11074 {
11075 if (temp3)
11076 delete arg3;
11077 }
11078 {
11079 if (temp10)
11080 delete arg10;
11081 }
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxSpinCtrl *result;
11089 char *kwnames[] = {
11090 NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11094 {
11095 if (!wxPyCheckForApp()) SWIG_fail;
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 result = (wxSpinCtrl *)new wxSpinCtrl();
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11103 return resultobj;
11104 fail:
11105 return NULL;
11106 }
11107
11108
11109 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject *resultobj;
11111 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11112 wxWindow *arg2 = (wxWindow *) 0 ;
11113 int arg3 = (int) -1 ;
11114 wxString const &arg4_defvalue = wxPyEmptyString ;
11115 wxString *arg4 = (wxString *) &arg4_defvalue ;
11116 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11117 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11118 wxSize const &arg6_defvalue = wxDefaultSize ;
11119 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11120 long arg7 = (long) wxSP_ARROW_KEYS ;
11121 int arg8 = (int) 0 ;
11122 int arg9 = (int) 100 ;
11123 int arg10 = (int) 0 ;
11124 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11125 wxString *arg11 = (wxString *) &arg11_defvalue ;
11126 bool result;
11127 bool temp4 = False ;
11128 wxPoint temp5 ;
11129 wxSize temp6 ;
11130 bool temp11 = False ;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 PyObject * obj2 = 0 ;
11134 PyObject * obj3 = 0 ;
11135 PyObject * obj4 = 0 ;
11136 PyObject * obj5 = 0 ;
11137 PyObject * obj6 = 0 ;
11138 PyObject * obj7 = 0 ;
11139 PyObject * obj8 = 0 ;
11140 PyObject * obj9 = 0 ;
11141 PyObject * obj10 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11151 if (obj2) {
11152 arg3 = (int) SWIG_AsInt(obj2);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 if (obj3) {
11156 {
11157 arg4 = wxString_in_helper(obj3);
11158 if (arg4 == NULL) SWIG_fail;
11159 temp4 = True;
11160 }
11161 }
11162 if (obj4) {
11163 {
11164 arg5 = &temp5;
11165 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11166 }
11167 }
11168 if (obj5) {
11169 {
11170 arg6 = &temp6;
11171 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11172 }
11173 }
11174 if (obj6) {
11175 arg7 = (long) SWIG_AsLong(obj6);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 if (obj7) {
11179 arg8 = (int) SWIG_AsInt(obj7);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 if (obj8) {
11183 arg9 = (int) SWIG_AsInt(obj8);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 if (obj9) {
11187 arg10 = (int) SWIG_AsInt(obj9);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 if (obj10) {
11191 {
11192 arg11 = wxString_in_helper(obj10);
11193 if (arg11 == NULL) SWIG_fail;
11194 temp11 = True;
11195 }
11196 }
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 {
11205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11206 }
11207 {
11208 if (temp4)
11209 delete arg4;
11210 }
11211 {
11212 if (temp11)
11213 delete arg11;
11214 }
11215 return resultobj;
11216 fail:
11217 {
11218 if (temp4)
11219 delete arg4;
11220 }
11221 {
11222 if (temp11)
11223 delete arg11;
11224 }
11225 return NULL;
11226 }
11227
11228
11229 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11232 int result;
11233 PyObject * obj0 = 0 ;
11234 char *kwnames[] = {
11235 (char *) "self", NULL
11236 };
11237
11238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11241 {
11242 PyThreadState* __tstate = wxPyBeginAllowThreads();
11243 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11244
11245 wxPyEndAllowThreads(__tstate);
11246 if (PyErr_Occurred()) SWIG_fail;
11247 }
11248 resultobj = SWIG_FromInt((int)result);
11249 return resultobj;
11250 fail:
11251 return NULL;
11252 }
11253
11254
11255 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject *resultobj;
11257 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11258 int arg2 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self",(char *) "value", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11268 arg2 = (int) SWIG_AsInt(obj1);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 (arg1)->SetValue(arg2);
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 Py_INCREF(Py_None); resultobj = Py_None;
11278 return resultobj;
11279 fail:
11280 return NULL;
11281 }
11282
11283
11284 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11285 PyObject *resultobj;
11286 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11287 wxString *arg2 = 0 ;
11288 bool temp2 = False ;
11289 PyObject * obj0 = 0 ;
11290 PyObject * obj1 = 0 ;
11291 char *kwnames[] = {
11292 (char *) "self",(char *) "text", NULL
11293 };
11294
11295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11298 {
11299 arg2 = wxString_in_helper(obj1);
11300 if (arg2 == NULL) SWIG_fail;
11301 temp2 = True;
11302 }
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 (arg1)->SetValue((wxString const &)*arg2);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 Py_INCREF(Py_None); resultobj = Py_None;
11311 {
11312 if (temp2)
11313 delete arg2;
11314 }
11315 return resultobj;
11316 fail:
11317 {
11318 if (temp2)
11319 delete arg2;
11320 }
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11328 int arg2 ;
11329 int arg3 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 PyObject * obj2 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11340 arg2 = (int) SWIG_AsInt(obj1);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 arg3 = (int) SWIG_AsInt(obj2);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 (arg1)->SetRange(arg2,arg3);
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 Py_INCREF(Py_None); resultobj = Py_None;
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11361 int result;
11362 PyObject * obj0 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_FromInt((int)result);
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11387 int result;
11388 PyObject * obj0 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 resultobj = SWIG_FromInt((int)result);
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11413 long arg2 ;
11414 long arg3 ;
11415 PyObject * obj0 = 0 ;
11416 PyObject * obj1 = 0 ;
11417 PyObject * obj2 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self",(char *) "from",(char *) "to", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11425 arg2 = (long) SWIG_AsLong(obj1);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 arg3 = (long) SWIG_AsLong(obj2);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 (arg1)->SetSelection(arg2,arg3);
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 Py_INCREF(Py_None); resultobj = Py_None;
11437 return resultobj;
11438 fail:
11439 return NULL;
11440 }
11441
11442
11443 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj;
11445 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11446 wxVisualAttributes result;
11447 PyObject * obj0 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "variant", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11453 if (obj0) {
11454 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 {
11465 wxVisualAttributes * resultptr;
11466 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11468 }
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11476 PyObject *obj;
11477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11479 Py_INCREF(obj);
11480 return Py_BuildValue((char *)"");
11481 }
11482 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11485 int arg2 = (int) 0 ;
11486 wxSpinEvent *result;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 char *kwnames[] = {
11490 (char *) "commandType",(char *) "winid", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11494 if (obj0) {
11495 arg1 = (wxEventType) SWIG_AsInt(obj0);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 if (obj1) {
11499 arg2 = (int) SWIG_AsInt(obj1);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 }
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11519 int result;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 resultobj = SWIG_FromInt((int)result);
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj;
11544 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11545 int arg2 ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self",(char *) "pos", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11555 arg2 = (int) SWIG_AsInt(obj1);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetPosition(arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11572 PyObject *obj;
11573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11575 Py_INCREF(obj);
11576 return Py_BuildValue((char *)"");
11577 }
11578 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11579 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11580 return 1;
11581 }
11582
11583
11584 static PyObject *_wrap_RadioBoxNameStr_get() {
11585 PyObject *pyobj;
11586
11587 {
11588 #if wxUSE_UNICODE
11589 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11590 #else
11591 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11592 #endif
11593 }
11594 return pyobj;
11595 }
11596
11597
11598 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11599 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11600 return 1;
11601 }
11602
11603
11604 static PyObject *_wrap_RadioButtonNameStr_get() {
11605 PyObject *pyobj;
11606
11607 {
11608 #if wxUSE_UNICODE
11609 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11610 #else
11611 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11612 #endif
11613 }
11614 return pyobj;
11615 }
11616
11617
11618 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj;
11620 wxWindow *arg1 = (wxWindow *) 0 ;
11621 int arg2 = (int) -1 ;
11622 wxString const &arg3_defvalue = wxPyEmptyString ;
11623 wxString *arg3 = (wxString *) &arg3_defvalue ;
11624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11626 wxSize const &arg5_defvalue = wxDefaultSize ;
11627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11628 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11629 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11630 int arg7 = (int) 0 ;
11631 long arg8 = (long) wxRA_HORIZONTAL ;
11632 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11633 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11634 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11635 wxString *arg10 = (wxString *) &arg10_defvalue ;
11636 wxRadioBox *result;
11637 bool temp3 = False ;
11638 wxPoint temp4 ;
11639 wxSize temp5 ;
11640 bool temp6 = False ;
11641 bool temp10 = False ;
11642 PyObject * obj0 = 0 ;
11643 PyObject * obj1 = 0 ;
11644 PyObject * obj2 = 0 ;
11645 PyObject * obj3 = 0 ;
11646 PyObject * obj4 = 0 ;
11647 PyObject * obj5 = 0 ;
11648 PyObject * obj6 = 0 ;
11649 PyObject * obj7 = 0 ;
11650 PyObject * obj8 = 0 ;
11651 PyObject * obj9 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11659 if (obj1) {
11660 arg2 = (int) SWIG_AsInt(obj1);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 if (obj2) {
11664 {
11665 arg3 = wxString_in_helper(obj2);
11666 if (arg3 == NULL) SWIG_fail;
11667 temp3 = True;
11668 }
11669 }
11670 if (obj3) {
11671 {
11672 arg4 = &temp4;
11673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11674 }
11675 }
11676 if (obj4) {
11677 {
11678 arg5 = &temp5;
11679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11680 }
11681 }
11682 if (obj5) {
11683 {
11684 if (! PySequence_Check(obj5)) {
11685 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11686 SWIG_fail;
11687 }
11688 arg6 = new wxArrayString;
11689 temp6 = True;
11690 int i, len=PySequence_Length(obj5);
11691 for (i=0; i<len; i++) {
11692 PyObject* item = PySequence_GetItem(obj5, i);
11693 #if wxUSE_UNICODE
11694 PyObject* str = PyObject_Unicode(item);
11695 #else
11696 PyObject* str = PyObject_Str(item);
11697 #endif
11698 if (PyErr_Occurred()) SWIG_fail;
11699 arg6->Add(Py2wxString(str));
11700 Py_DECREF(item);
11701 Py_DECREF(str);
11702 }
11703 }
11704 }
11705 if (obj6) {
11706 arg7 = (int) SWIG_AsInt(obj6);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 if (obj7) {
11710 arg8 = (long) SWIG_AsLong(obj7);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 if (obj8) {
11714 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11715 SWIG_POINTER_EXCEPTION | 0)) == -1)
11716 SWIG_fail;
11717 if (arg9 == NULL) {
11718 PyErr_SetString(PyExc_TypeError,"null reference");
11719 SWIG_fail;
11720 }
11721 }
11722 if (obj9) {
11723 {
11724 arg10 = wxString_in_helper(obj9);
11725 if (arg10 == NULL) SWIG_fail;
11726 temp10 = True;
11727 }
11728 }
11729 {
11730 if (!wxPyCheckForApp()) SWIG_fail;
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 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);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11738 {
11739 if (temp3)
11740 delete arg3;
11741 }
11742 {
11743 if (temp6) delete arg6;
11744 }
11745 {
11746 if (temp10)
11747 delete arg10;
11748 }
11749 return resultobj;
11750 fail:
11751 {
11752 if (temp3)
11753 delete arg3;
11754 }
11755 {
11756 if (temp6) delete arg6;
11757 }
11758 {
11759 if (temp10)
11760 delete arg10;
11761 }
11762 return NULL;
11763 }
11764
11765
11766 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxRadioBox *result;
11769 char *kwnames[] = {
11770 NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11774 {
11775 if (!wxPyCheckForApp()) SWIG_fail;
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (wxRadioBox *)new wxRadioBox();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11783 return resultobj;
11784 fail:
11785 return NULL;
11786 }
11787
11788
11789 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11792 wxWindow *arg2 = (wxWindow *) 0 ;
11793 int arg3 = (int) -1 ;
11794 wxString const &arg4_defvalue = wxPyEmptyString ;
11795 wxString *arg4 = (wxString *) &arg4_defvalue ;
11796 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11797 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11798 wxSize const &arg6_defvalue = wxDefaultSize ;
11799 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11800 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11801 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11802 int arg8 = (int) 0 ;
11803 long arg9 = (long) wxRA_HORIZONTAL ;
11804 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11805 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11806 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11807 wxString *arg11 = (wxString *) &arg11_defvalue ;
11808 bool result;
11809 bool temp4 = False ;
11810 wxPoint temp5 ;
11811 wxSize temp6 ;
11812 bool temp7 = False ;
11813 bool temp11 = False ;
11814 PyObject * obj0 = 0 ;
11815 PyObject * obj1 = 0 ;
11816 PyObject * obj2 = 0 ;
11817 PyObject * obj3 = 0 ;
11818 PyObject * obj4 = 0 ;
11819 PyObject * obj5 = 0 ;
11820 PyObject * obj6 = 0 ;
11821 PyObject * obj7 = 0 ;
11822 PyObject * obj8 = 0 ;
11823 PyObject * obj9 = 0 ;
11824 PyObject * obj10 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11834 if (obj2) {
11835 arg3 = (int) SWIG_AsInt(obj2);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 if (obj3) {
11839 {
11840 arg4 = wxString_in_helper(obj3);
11841 if (arg4 == NULL) SWIG_fail;
11842 temp4 = True;
11843 }
11844 }
11845 if (obj4) {
11846 {
11847 arg5 = &temp5;
11848 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11849 }
11850 }
11851 if (obj5) {
11852 {
11853 arg6 = &temp6;
11854 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11855 }
11856 }
11857 if (obj6) {
11858 {
11859 if (! PySequence_Check(obj6)) {
11860 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11861 SWIG_fail;
11862 }
11863 arg7 = new wxArrayString;
11864 temp7 = True;
11865 int i, len=PySequence_Length(obj6);
11866 for (i=0; i<len; i++) {
11867 PyObject* item = PySequence_GetItem(obj6, i);
11868 #if wxUSE_UNICODE
11869 PyObject* str = PyObject_Unicode(item);
11870 #else
11871 PyObject* str = PyObject_Str(item);
11872 #endif
11873 if (PyErr_Occurred()) SWIG_fail;
11874 arg7->Add(Py2wxString(str));
11875 Py_DECREF(item);
11876 Py_DECREF(str);
11877 }
11878 }
11879 }
11880 if (obj7) {
11881 arg8 = (int) SWIG_AsInt(obj7);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 if (obj8) {
11885 arg9 = (long) SWIG_AsLong(obj8);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 if (obj9) {
11889 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11890 SWIG_POINTER_EXCEPTION | 0)) == -1)
11891 SWIG_fail;
11892 if (arg10 == NULL) {
11893 PyErr_SetString(PyExc_TypeError,"null reference");
11894 SWIG_fail;
11895 }
11896 }
11897 if (obj10) {
11898 {
11899 arg11 = wxString_in_helper(obj10);
11900 if (arg11 == NULL) SWIG_fail;
11901 temp11 = True;
11902 }
11903 }
11904 {
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 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);
11907
11908 wxPyEndAllowThreads(__tstate);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 {
11912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11913 }
11914 {
11915 if (temp4)
11916 delete arg4;
11917 }
11918 {
11919 if (temp7) delete arg7;
11920 }
11921 {
11922 if (temp11)
11923 delete arg11;
11924 }
11925 return resultobj;
11926 fail:
11927 {
11928 if (temp4)
11929 delete arg4;
11930 }
11931 {
11932 if (temp7) delete arg7;
11933 }
11934 {
11935 if (temp11)
11936 delete arg11;
11937 }
11938 return NULL;
11939 }
11940
11941
11942 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11943 PyObject *resultobj;
11944 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11945 int arg2 ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self",(char *) "n", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11955 arg2 = (int) SWIG_AsInt(obj1);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 {
11958 PyThreadState* __tstate = wxPyBeginAllowThreads();
11959 (arg1)->SetSelection(arg2);
11960
11961 wxPyEndAllowThreads(__tstate);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 }
11964 Py_INCREF(Py_None); resultobj = Py_None;
11965 return resultobj;
11966 fail:
11967 return NULL;
11968 }
11969
11970
11971 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11974 int result;
11975 PyObject * obj0 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "self", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11986
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 resultobj = SWIG_FromInt((int)result);
11991 return resultobj;
11992 fail:
11993 return NULL;
11994 }
11995
11996
11997 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj;
11999 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12000 wxString result;
12001 PyObject * obj0 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 {
12017 #if wxUSE_UNICODE
12018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12019 #else
12020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12021 #endif
12022 }
12023 return resultobj;
12024 fail:
12025 return NULL;
12026 }
12027
12028
12029 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj;
12031 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12032 wxString *arg2 = 0 ;
12033 bool result;
12034 bool temp2 = False ;
12035 PyObject * obj0 = 0 ;
12036 PyObject * obj1 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self",(char *) "s", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 arg2 = wxString_in_helper(obj1);
12046 if (arg2 == NULL) SWIG_fail;
12047 temp2 = True;
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 {
12057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12058 }
12059 {
12060 if (temp2)
12061 delete arg2;
12062 }
12063 return resultobj;
12064 fail:
12065 {
12066 if (temp2)
12067 delete arg2;
12068 }
12069 return NULL;
12070 }
12071
12072
12073 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj;
12075 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12076 int result;
12077 PyObject * obj0 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 result = (int)((wxRadioBox const *)arg1)->GetCount();
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 resultobj = SWIG_FromInt((int)result);
12093 return resultobj;
12094 fail:
12095 return NULL;
12096 }
12097
12098
12099 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12102 wxString *arg2 = 0 ;
12103 int result;
12104 bool temp2 = False ;
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self",(char *) "s", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12114 {
12115 arg2 = wxString_in_helper(obj1);
12116 if (arg2 == NULL) SWIG_fail;
12117 temp2 = True;
12118 }
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_FromInt((int)result);
12127 {
12128 if (temp2)
12129 delete arg2;
12130 }
12131 return resultobj;
12132 fail:
12133 {
12134 if (temp2)
12135 delete arg2;
12136 }
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12144 int arg2 ;
12145 wxString result;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self",(char *) "n", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12155 arg2 = (int) SWIG_AsInt(obj1);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 {
12165 #if wxUSE_UNICODE
12166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12167 #else
12168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12169 #endif
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12180 int arg2 ;
12181 wxString *arg3 = 0 ;
12182 bool temp3 = False ;
12183 PyObject * obj0 = 0 ;
12184 PyObject * obj1 = 0 ;
12185 PyObject * obj2 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self",(char *) "n",(char *) "label", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12193 arg2 = (int) SWIG_AsInt(obj1);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 {
12196 arg3 = wxString_in_helper(obj2);
12197 if (arg3 == NULL) SWIG_fail;
12198 temp3 = True;
12199 }
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 (arg1)->SetString(arg2,(wxString const &)*arg3);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 Py_INCREF(Py_None); resultobj = Py_None;
12208 {
12209 if (temp3)
12210 delete arg3;
12211 }
12212 return resultobj;
12213 fail:
12214 {
12215 if (temp3)
12216 delete arg3;
12217 }
12218 return NULL;
12219 }
12220
12221
12222 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12225 int arg2 ;
12226 bool arg3 = (bool) True ;
12227 PyObject * obj0 = 0 ;
12228 PyObject * obj1 = 0 ;
12229 PyObject * obj2 = 0 ;
12230 char *kwnames[] = {
12231 (char *) "self",(char *) "n",(char *) "enable", NULL
12232 };
12233
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12237 arg2 = (int) SWIG_AsInt(obj1);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 if (obj2) {
12240 arg3 = (bool) SWIG_AsBool(obj2);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 (arg1)->Enable(arg2,arg3);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 Py_INCREF(Py_None); resultobj = Py_None;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12260 int arg2 ;
12261 bool arg3 = (bool) True ;
12262 PyObject * obj0 = 0 ;
12263 PyObject * obj1 = 0 ;
12264 PyObject * obj2 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self",(char *) "n",(char *) "show", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12272 arg2 = (int) SWIG_AsInt(obj1);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 if (obj2) {
12275 arg3 = (bool) SWIG_AsBool(obj2);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->Show(arg2,arg3);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12295 int result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = SWIG_FromInt((int)result);
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12321 int result;
12322 PyObject * obj0 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 resultobj = SWIG_FromInt((int)result);
12338 return resultobj;
12339 fail:
12340 return NULL;
12341 }
12342
12343
12344 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12345 PyObject *resultobj;
12346 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12347 int arg2 ;
12348 int arg3 ;
12349 long arg4 ;
12350 int result;
12351 PyObject * obj0 = 0 ;
12352 PyObject * obj1 = 0 ;
12353 PyObject * obj2 = 0 ;
12354 PyObject * obj3 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12362 arg2 = (int) SWIG_AsInt(obj1);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 arg3 = (wxDirection) SWIG_AsInt(obj2);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 arg4 = (long) SWIG_AsLong(obj3);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 {
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
12371
12372 wxPyEndAllowThreads(__tstate);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 resultobj = SWIG_FromInt((int)result);
12376 return resultobj;
12377 fail:
12378 return NULL;
12379 }
12380
12381
12382 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject *resultobj;
12384 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12385 wxVisualAttributes result;
12386 PyObject * obj0 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "variant", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12392 if (obj0) {
12393 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 {
12404 wxVisualAttributes * resultptr;
12405 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12407 }
12408 return resultobj;
12409 fail:
12410 return NULL;
12411 }
12412
12413
12414 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12415 PyObject *obj;
12416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12417 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12418 Py_INCREF(obj);
12419 return Py_BuildValue((char *)"");
12420 }
12421 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12422 PyObject *resultobj;
12423 wxWindow *arg1 = (wxWindow *) 0 ;
12424 int arg2 = (int) -1 ;
12425 wxString const &arg3_defvalue = wxPyEmptyString ;
12426 wxString *arg3 = (wxString *) &arg3_defvalue ;
12427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12429 wxSize const &arg5_defvalue = wxDefaultSize ;
12430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12431 long arg6 = (long) 0 ;
12432 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12433 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12434 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12435 wxString *arg8 = (wxString *) &arg8_defvalue ;
12436 wxRadioButton *result;
12437 bool temp3 = False ;
12438 wxPoint temp4 ;
12439 wxSize temp5 ;
12440 bool temp8 = False ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 PyObject * obj2 = 0 ;
12444 PyObject * obj3 = 0 ;
12445 PyObject * obj4 = 0 ;
12446 PyObject * obj5 = 0 ;
12447 PyObject * obj6 = 0 ;
12448 PyObject * obj7 = 0 ;
12449 char *kwnames[] = {
12450 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12456 if (obj1) {
12457 arg2 = (int) SWIG_AsInt(obj1);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 if (obj2) {
12461 {
12462 arg3 = wxString_in_helper(obj2);
12463 if (arg3 == NULL) SWIG_fail;
12464 temp3 = True;
12465 }
12466 }
12467 if (obj3) {
12468 {
12469 arg4 = &temp4;
12470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12471 }
12472 }
12473 if (obj4) {
12474 {
12475 arg5 = &temp5;
12476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12477 }
12478 }
12479 if (obj5) {
12480 arg6 = (long) SWIG_AsLong(obj5);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 if (obj6) {
12484 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12485 SWIG_POINTER_EXCEPTION | 0)) == -1)
12486 SWIG_fail;
12487 if (arg7 == NULL) {
12488 PyErr_SetString(PyExc_TypeError,"null reference");
12489 SWIG_fail;
12490 }
12491 }
12492 if (obj7) {
12493 {
12494 arg8 = wxString_in_helper(obj7);
12495 if (arg8 == NULL) SWIG_fail;
12496 temp8 = True;
12497 }
12498 }
12499 {
12500 if (!wxPyCheckForApp()) SWIG_fail;
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12508 {
12509 if (temp3)
12510 delete arg3;
12511 }
12512 {
12513 if (temp8)
12514 delete arg8;
12515 }
12516 return resultobj;
12517 fail:
12518 {
12519 if (temp3)
12520 delete arg3;
12521 }
12522 {
12523 if (temp8)
12524 delete arg8;
12525 }
12526 return NULL;
12527 }
12528
12529
12530 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj;
12532 wxRadioButton *result;
12533 char *kwnames[] = {
12534 NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12538 {
12539 if (!wxPyCheckForApp()) SWIG_fail;
12540 PyThreadState* __tstate = wxPyBeginAllowThreads();
12541 result = (wxRadioButton *)new wxRadioButton();
12542
12543 wxPyEndAllowThreads(__tstate);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12547 return resultobj;
12548 fail:
12549 return NULL;
12550 }
12551
12552
12553 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj;
12555 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12556 wxWindow *arg2 = (wxWindow *) 0 ;
12557 int arg3 = (int) -1 ;
12558 wxString const &arg4_defvalue = wxPyEmptyString ;
12559 wxString *arg4 = (wxString *) &arg4_defvalue ;
12560 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12561 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12562 wxSize const &arg6_defvalue = wxDefaultSize ;
12563 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12564 long arg7 = (long) 0 ;
12565 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12566 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12567 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12568 wxString *arg9 = (wxString *) &arg9_defvalue ;
12569 bool result;
12570 bool temp4 = False ;
12571 wxPoint temp5 ;
12572 wxSize temp6 ;
12573 bool temp9 = False ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 PyObject * obj2 = 0 ;
12577 PyObject * obj3 = 0 ;
12578 PyObject * obj4 = 0 ;
12579 PyObject * obj5 = 0 ;
12580 PyObject * obj6 = 0 ;
12581 PyObject * obj7 = 0 ;
12582 PyObject * obj8 = 0 ;
12583 char *kwnames[] = {
12584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12585 };
12586
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12592 if (obj2) {
12593 arg3 = (int) SWIG_AsInt(obj2);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 if (obj3) {
12597 {
12598 arg4 = wxString_in_helper(obj3);
12599 if (arg4 == NULL) SWIG_fail;
12600 temp4 = True;
12601 }
12602 }
12603 if (obj4) {
12604 {
12605 arg5 = &temp5;
12606 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12607 }
12608 }
12609 if (obj5) {
12610 {
12611 arg6 = &temp6;
12612 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12613 }
12614 }
12615 if (obj6) {
12616 arg7 = (long) SWIG_AsLong(obj6);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 if (obj7) {
12620 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1)
12622 SWIG_fail;
12623 if (arg8 == NULL) {
12624 PyErr_SetString(PyExc_TypeError,"null reference");
12625 SWIG_fail;
12626 }
12627 }
12628 if (obj8) {
12629 {
12630 arg9 = wxString_in_helper(obj8);
12631 if (arg9 == NULL) SWIG_fail;
12632 temp9 = True;
12633 }
12634 }
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 {
12643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12644 }
12645 {
12646 if (temp4)
12647 delete arg4;
12648 }
12649 {
12650 if (temp9)
12651 delete arg9;
12652 }
12653 return resultobj;
12654 fail:
12655 {
12656 if (temp4)
12657 delete arg4;
12658 }
12659 {
12660 if (temp9)
12661 delete arg9;
12662 }
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12670 bool result;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (bool)(arg1)->GetValue();
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 {
12687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12688 }
12689 return resultobj;
12690 fail:
12691 return NULL;
12692 }
12693
12694
12695 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj;
12697 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12698 bool arg2 ;
12699 PyObject * obj0 = 0 ;
12700 PyObject * obj1 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "self",(char *) "value", NULL
12703 };
12704
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12708 arg2 = (bool) SWIG_AsBool(obj1);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 (arg1)->SetValue(arg2);
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 Py_INCREF(Py_None); resultobj = Py_None;
12718 return resultobj;
12719 fail:
12720 return NULL;
12721 }
12722
12723
12724 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12725 PyObject *resultobj;
12726 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12727 wxVisualAttributes result;
12728 PyObject * obj0 = 0 ;
12729 char *kwnames[] = {
12730 (char *) "variant", NULL
12731 };
12732
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12734 if (obj0) {
12735 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 {
12746 wxVisualAttributes * resultptr;
12747 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12749 }
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12757 PyObject *obj;
12758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12760 Py_INCREF(obj);
12761 return Py_BuildValue((char *)"");
12762 }
12763 static int _wrap_SliderNameStr_set(PyObject *_val) {
12764 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12765 return 1;
12766 }
12767
12768
12769 static PyObject *_wrap_SliderNameStr_get() {
12770 PyObject *pyobj;
12771
12772 {
12773 #if wxUSE_UNICODE
12774 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12775 #else
12776 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12777 #endif
12778 }
12779 return pyobj;
12780 }
12781
12782
12783 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12784 PyObject *resultobj;
12785 wxWindow *arg1 = (wxWindow *) 0 ;
12786 int arg2 = (int) -1 ;
12787 int arg3 = (int) 0 ;
12788 int arg4 = (int) 0 ;
12789 int arg5 = (int) 100 ;
12790 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12791 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12792 wxSize const &arg7_defvalue = wxDefaultSize ;
12793 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12794 long arg8 = (long) wxSL_HORIZONTAL ;
12795 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12796 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12797 wxString const &arg10_defvalue = wxPySliderNameStr ;
12798 wxString *arg10 = (wxString *) &arg10_defvalue ;
12799 wxSlider *result;
12800 wxPoint temp6 ;
12801 wxSize temp7 ;
12802 bool temp10 = False ;
12803 PyObject * obj0 = 0 ;
12804 PyObject * obj1 = 0 ;
12805 PyObject * obj2 = 0 ;
12806 PyObject * obj3 = 0 ;
12807 PyObject * obj4 = 0 ;
12808 PyObject * obj5 = 0 ;
12809 PyObject * obj6 = 0 ;
12810 PyObject * obj7 = 0 ;
12811 PyObject * obj8 = 0 ;
12812 PyObject * obj9 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12820 if (obj1) {
12821 arg2 = (int) SWIG_AsInt(obj1);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 if (obj2) {
12825 arg3 = (int) SWIG_AsInt(obj2);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 if (obj3) {
12829 arg4 = (int) SWIG_AsInt(obj3);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 if (obj4) {
12833 arg5 = (int) SWIG_AsInt(obj4);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 if (obj5) {
12837 {
12838 arg6 = &temp6;
12839 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12840 }
12841 }
12842 if (obj6) {
12843 {
12844 arg7 = &temp7;
12845 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12846 }
12847 }
12848 if (obj7) {
12849 arg8 = (long) SWIG_AsLong(obj7);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 if (obj8) {
12853 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1)
12855 SWIG_fail;
12856 if (arg9 == NULL) {
12857 PyErr_SetString(PyExc_TypeError,"null reference");
12858 SWIG_fail;
12859 }
12860 }
12861 if (obj9) {
12862 {
12863 arg10 = wxString_in_helper(obj9);
12864 if (arg10 == NULL) SWIG_fail;
12865 temp10 = True;
12866 }
12867 }
12868 {
12869 if (!wxPyCheckForApp()) SWIG_fail;
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12877 {
12878 if (temp10)
12879 delete arg10;
12880 }
12881 return resultobj;
12882 fail:
12883 {
12884 if (temp10)
12885 delete arg10;
12886 }
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxSlider *result;
12894 char *kwnames[] = {
12895 NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12899 {
12900 if (!wxPyCheckForApp()) SWIG_fail;
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 result = (wxSlider *)new wxSlider();
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxSlider *arg1 = (wxSlider *) 0 ;
12917 wxWindow *arg2 = (wxWindow *) 0 ;
12918 int arg3 = (int) -1 ;
12919 int arg4 = (int) 0 ;
12920 int arg5 = (int) 0 ;
12921 int arg6 = (int) 100 ;
12922 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12923 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12924 wxSize const &arg8_defvalue = wxDefaultSize ;
12925 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12926 long arg9 = (long) wxSL_HORIZONTAL ;
12927 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12928 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12929 wxString const &arg11_defvalue = wxPySliderNameStr ;
12930 wxString *arg11 = (wxString *) &arg11_defvalue ;
12931 bool result;
12932 wxPoint temp7 ;
12933 wxSize temp8 ;
12934 bool temp11 = False ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 PyObject * obj2 = 0 ;
12938 PyObject * obj3 = 0 ;
12939 PyObject * obj4 = 0 ;
12940 PyObject * obj5 = 0 ;
12941 PyObject * obj6 = 0 ;
12942 PyObject * obj7 = 0 ;
12943 PyObject * obj8 = 0 ;
12944 PyObject * obj9 = 0 ;
12945 PyObject * obj10 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12955 if (obj2) {
12956 arg3 = (int) SWIG_AsInt(obj2);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 if (obj3) {
12960 arg4 = (int) SWIG_AsInt(obj3);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 if (obj4) {
12964 arg5 = (int) SWIG_AsInt(obj4);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 if (obj5) {
12968 arg6 = (int) SWIG_AsInt(obj5);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 if (obj6) {
12972 {
12973 arg7 = &temp7;
12974 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12975 }
12976 }
12977 if (obj7) {
12978 {
12979 arg8 = &temp8;
12980 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12981 }
12982 }
12983 if (obj8) {
12984 arg9 = (long) SWIG_AsLong(obj8);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 if (obj9) {
12988 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12989 SWIG_POINTER_EXCEPTION | 0)) == -1)
12990 SWIG_fail;
12991 if (arg10 == NULL) {
12992 PyErr_SetString(PyExc_TypeError,"null reference");
12993 SWIG_fail;
12994 }
12995 }
12996 if (obj10) {
12997 {
12998 arg11 = wxString_in_helper(obj10);
12999 if (arg11 == NULL) SWIG_fail;
13000 temp11 = True;
13001 }
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 {
13011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13012 }
13013 {
13014 if (temp11)
13015 delete arg11;
13016 }
13017 return resultobj;
13018 fail:
13019 {
13020 if (temp11)
13021 delete arg11;
13022 }
13023 return NULL;
13024 }
13025
13026
13027 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxSlider *arg1 = (wxSlider *) 0 ;
13030 int result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (int)((wxSlider const *)arg1)->GetValue();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 resultobj = SWIG_FromInt((int)result);
13047 return resultobj;
13048 fail:
13049 return NULL;
13050 }
13051
13052
13053 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxSlider *arg1 = (wxSlider *) 0 ;
13056 int arg2 ;
13057 PyObject * obj0 = 0 ;
13058 PyObject * obj1 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self",(char *) "value", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 arg2 = (int) SWIG_AsInt(obj1);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 (arg1)->SetValue(arg2);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 Py_INCREF(Py_None); resultobj = Py_None;
13076 return resultobj;
13077 fail:
13078 return NULL;
13079 }
13080
13081
13082 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 wxSlider *arg1 = (wxSlider *) 0 ;
13085 int arg2 ;
13086 int arg3 ;
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
13089 PyObject * obj2 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13097 arg2 = (int) SWIG_AsInt(obj1);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 arg3 = (int) SWIG_AsInt(obj2);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 (arg1)->SetRange(arg2,arg3);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 Py_INCREF(Py_None); resultobj = Py_None;
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxSlider *arg1 = (wxSlider *) 0 ;
13118 int result;
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (int)((wxSlider const *)arg1)->GetMin();
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 resultobj = SWIG_FromInt((int)result);
13135 return resultobj;
13136 fail:
13137 return NULL;
13138 }
13139
13140
13141 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxSlider *arg1 = (wxSlider *) 0 ;
13144 int result;
13145 PyObject * obj0 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "self", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (int)((wxSlider const *)arg1)->GetMax();
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_FromInt((int)result);
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj;
13169 wxSlider *arg1 = (wxSlider *) 0 ;
13170 int arg2 ;
13171 PyObject * obj0 = 0 ;
13172 PyObject * obj1 = 0 ;
13173 char *kwnames[] = {
13174 (char *) "self",(char *) "minValue", NULL
13175 };
13176
13177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13180 arg2 = (int) SWIG_AsInt(obj1);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 (arg1)->SetMin(arg2);
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 Py_INCREF(Py_None); resultobj = Py_None;
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxSlider *arg1 = (wxSlider *) 0 ;
13199 int arg2 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self",(char *) "maxValue", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 arg2 = (int) SWIG_AsInt(obj1);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 (arg1)->SetMax(arg2);
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 Py_INCREF(Py_None); resultobj = Py_None;
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj;
13227 wxSlider *arg1 = (wxSlider *) 0 ;
13228 int arg2 ;
13229 PyObject * obj0 = 0 ;
13230 PyObject * obj1 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self",(char *) "lineSize", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13238 arg2 = (int) SWIG_AsInt(obj1);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 (arg1)->SetLineSize(arg2);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 Py_INCREF(Py_None); resultobj = Py_None;
13248 return resultobj;
13249 fail:
13250 return NULL;
13251 }
13252
13253
13254 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13255 PyObject *resultobj;
13256 wxSlider *arg1 = (wxSlider *) 0 ;
13257 int arg2 ;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "pageSize", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13267 arg2 = (int) SWIG_AsInt(obj1);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->SetPageSize(arg2);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxSlider *arg1 = (wxSlider *) 0 ;
13286 int result;
13287 PyObject * obj0 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (int)((wxSlider const *)arg1)->GetLineSize();
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = SWIG_FromInt((int)result);
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxSlider *arg1 = (wxSlider *) 0 ;
13312 int result;
13313 PyObject * obj0 = 0 ;
13314 char *kwnames[] = {
13315 (char *) "self", NULL
13316 };
13317
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (int)((wxSlider const *)arg1)->GetPageSize();
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = SWIG_FromInt((int)result);
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxSlider *arg1 = (wxSlider *) 0 ;
13338 int arg2 ;
13339 PyObject * obj0 = 0 ;
13340 PyObject * obj1 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self",(char *) "lenPixels", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13348 arg2 = (int) SWIG_AsInt(obj1);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 {
13351 PyThreadState* __tstate = wxPyBeginAllowThreads();
13352 (arg1)->SetThumbLength(arg2);
13353
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 Py_INCREF(Py_None); resultobj = Py_None;
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj;
13366 wxSlider *arg1 = (wxSlider *) 0 ;
13367 int result;
13368 PyObject * obj0 = 0 ;
13369 char *kwnames[] = {
13370 (char *) "self", NULL
13371 };
13372
13373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 resultobj = SWIG_FromInt((int)result);
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxSlider *arg1 = (wxSlider *) 0 ;
13393 int arg2 ;
13394 int arg3 = (int) 1 ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj1 = 0 ;
13397 PyObject * obj2 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self",(char *) "n",(char *) "pos", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13405 arg2 = (int) SWIG_AsInt(obj1);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 if (obj2) {
13408 arg3 = (int) SWIG_AsInt(obj2);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->SetTickFreq(arg2,arg3);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxSlider *arg1 = (wxSlider *) 0 ;
13428 int result;
13429 PyObject * obj0 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_FromInt((int)result);
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxSlider *arg1 = (wxSlider *) 0 ;
13454 PyObject * obj0 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 (arg1)->ClearTicks();
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 Py_INCREF(Py_None); resultobj = Py_None;
13470 return resultobj;
13471 fail:
13472 return NULL;
13473 }
13474
13475
13476 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxSlider *arg1 = (wxSlider *) 0 ;
13479 int arg2 ;
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self",(char *) "tickPos", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13489 arg2 = (int) SWIG_AsInt(obj1);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 (arg1)->SetTick(arg2);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 Py_INCREF(Py_None); resultobj = Py_None;
13499 return resultobj;
13500 fail:
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxSlider *arg1 = (wxSlider *) 0 ;
13508 PyObject * obj0 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "self", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 (arg1)->ClearSel();
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_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxSlider *arg1 = (wxSlider *) 0 ;
13533 int result;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 resultobj = SWIG_FromInt((int)result);
13550 return resultobj;
13551 fail:
13552 return NULL;
13553 }
13554
13555
13556 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxSlider *arg1 = (wxSlider *) 0 ;
13559 int result;
13560 PyObject * obj0 = 0 ;
13561 char *kwnames[] = {
13562 (char *) "self", NULL
13563 };
13564
13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (int)((wxSlider const *)arg1)->GetSelStart();
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 resultobj = SWIG_FromInt((int)result);
13576 return resultobj;
13577 fail:
13578 return NULL;
13579 }
13580
13581
13582 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxSlider *arg1 = (wxSlider *) 0 ;
13585 int arg2 ;
13586 int arg3 ;
13587 PyObject * obj0 = 0 ;
13588 PyObject * obj1 = 0 ;
13589 PyObject * obj2 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self",(char *) "min",(char *) "max", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13597 arg2 = (int) SWIG_AsInt(obj1);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 arg3 = (int) SWIG_AsInt(obj2);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 (arg1)->SetSelection(arg2,arg3);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 Py_INCREF(Py_None); resultobj = Py_None;
13609 return resultobj;
13610 fail:
13611 return NULL;
13612 }
13613
13614
13615 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj;
13617 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13618 wxVisualAttributes result;
13619 PyObject * obj0 = 0 ;
13620 char *kwnames[] = {
13621 (char *) "variant", NULL
13622 };
13623
13624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13625 if (obj0) {
13626 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
13631 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 {
13637 wxVisualAttributes * resultptr;
13638 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13640 }
13641 return resultobj;
13642 fail:
13643 return NULL;
13644 }
13645
13646
13647 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13648 PyObject *obj;
13649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13650 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13651 Py_INCREF(obj);
13652 return Py_BuildValue((char *)"");
13653 }
13654 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13655 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13656 return 1;
13657 }
13658
13659
13660 static PyObject *_wrap_ToggleButtonNameStr_get() {
13661 PyObject *pyobj;
13662
13663 {
13664 #if wxUSE_UNICODE
13665 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13666 #else
13667 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13668 #endif
13669 }
13670 return pyobj;
13671 }
13672
13673
13674 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj;
13676 wxWindow *arg1 = (wxWindow *) 0 ;
13677 int arg2 = (int) -1 ;
13678 wxString const &arg3_defvalue = wxPyEmptyString ;
13679 wxString *arg3 = (wxString *) &arg3_defvalue ;
13680 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13681 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13682 wxSize const &arg5_defvalue = wxDefaultSize ;
13683 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13684 long arg6 = (long) 0 ;
13685 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13686 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13687 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13688 wxString *arg8 = (wxString *) &arg8_defvalue ;
13689 wxToggleButton *result;
13690 bool temp3 = False ;
13691 wxPoint temp4 ;
13692 wxSize temp5 ;
13693 bool temp8 = False ;
13694 PyObject * obj0 = 0 ;
13695 PyObject * obj1 = 0 ;
13696 PyObject * obj2 = 0 ;
13697 PyObject * obj3 = 0 ;
13698 PyObject * obj4 = 0 ;
13699 PyObject * obj5 = 0 ;
13700 PyObject * obj6 = 0 ;
13701 PyObject * obj7 = 0 ;
13702 char *kwnames[] = {
13703 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13709 if (obj1) {
13710 arg2 = (int) SWIG_AsInt(obj1);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 if (obj2) {
13714 {
13715 arg3 = wxString_in_helper(obj2);
13716 if (arg3 == NULL) SWIG_fail;
13717 temp3 = True;
13718 }
13719 }
13720 if (obj3) {
13721 {
13722 arg4 = &temp4;
13723 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13724 }
13725 }
13726 if (obj4) {
13727 {
13728 arg5 = &temp5;
13729 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13730 }
13731 }
13732 if (obj5) {
13733 arg6 = (long) SWIG_AsLong(obj5);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 if (obj6) {
13737 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13738 SWIG_POINTER_EXCEPTION | 0)) == -1)
13739 SWIG_fail;
13740 if (arg7 == NULL) {
13741 PyErr_SetString(PyExc_TypeError,"null reference");
13742 SWIG_fail;
13743 }
13744 }
13745 if (obj7) {
13746 {
13747 arg8 = wxString_in_helper(obj7);
13748 if (arg8 == NULL) SWIG_fail;
13749 temp8 = True;
13750 }
13751 }
13752 {
13753 if (!wxPyCheckForApp()) SWIG_fail;
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13761 {
13762 if (temp3)
13763 delete arg3;
13764 }
13765 {
13766 if (temp8)
13767 delete arg8;
13768 }
13769 return resultobj;
13770 fail:
13771 {
13772 if (temp3)
13773 delete arg3;
13774 }
13775 {
13776 if (temp8)
13777 delete arg8;
13778 }
13779 return NULL;
13780 }
13781
13782
13783 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxToggleButton *result;
13786 char *kwnames[] = {
13787 NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13791 {
13792 if (!wxPyCheckForApp()) SWIG_fail;
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (wxToggleButton *)new wxToggleButton();
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13800 return resultobj;
13801 fail:
13802 return NULL;
13803 }
13804
13805
13806 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13807 PyObject *resultobj;
13808 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13809 wxWindow *arg2 = (wxWindow *) 0 ;
13810 int arg3 = (int) -1 ;
13811 wxString const &arg4_defvalue = wxPyEmptyString ;
13812 wxString *arg4 = (wxString *) &arg4_defvalue ;
13813 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13814 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13815 wxSize const &arg6_defvalue = wxDefaultSize ;
13816 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13817 long arg7 = (long) 0 ;
13818 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13819 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13820 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13821 wxString *arg9 = (wxString *) &arg9_defvalue ;
13822 bool result;
13823 bool temp4 = False ;
13824 wxPoint temp5 ;
13825 wxSize temp6 ;
13826 bool temp9 = False ;
13827 PyObject * obj0 = 0 ;
13828 PyObject * obj1 = 0 ;
13829 PyObject * obj2 = 0 ;
13830 PyObject * obj3 = 0 ;
13831 PyObject * obj4 = 0 ;
13832 PyObject * obj5 = 0 ;
13833 PyObject * obj6 = 0 ;
13834 PyObject * obj7 = 0 ;
13835 PyObject * obj8 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13845 if (obj2) {
13846 arg3 = (int) SWIG_AsInt(obj2);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 if (obj3) {
13850 {
13851 arg4 = wxString_in_helper(obj3);
13852 if (arg4 == NULL) SWIG_fail;
13853 temp4 = True;
13854 }
13855 }
13856 if (obj4) {
13857 {
13858 arg5 = &temp5;
13859 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13860 }
13861 }
13862 if (obj5) {
13863 {
13864 arg6 = &temp6;
13865 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13866 }
13867 }
13868 if (obj6) {
13869 arg7 = (long) SWIG_AsLong(obj6);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 if (obj7) {
13873 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13874 SWIG_POINTER_EXCEPTION | 0)) == -1)
13875 SWIG_fail;
13876 if (arg8 == NULL) {
13877 PyErr_SetString(PyExc_TypeError,"null reference");
13878 SWIG_fail;
13879 }
13880 }
13881 if (obj8) {
13882 {
13883 arg9 = wxString_in_helper(obj8);
13884 if (arg9 == NULL) SWIG_fail;
13885 temp9 = True;
13886 }
13887 }
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13891
13892 wxPyEndAllowThreads(__tstate);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 }
13895 {
13896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13897 }
13898 {
13899 if (temp4)
13900 delete arg4;
13901 }
13902 {
13903 if (temp9)
13904 delete arg9;
13905 }
13906 return resultobj;
13907 fail:
13908 {
13909 if (temp4)
13910 delete arg4;
13911 }
13912 {
13913 if (temp9)
13914 delete arg9;
13915 }
13916 return NULL;
13917 }
13918
13919
13920 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13923 bool arg2 ;
13924 PyObject * obj0 = 0 ;
13925 PyObject * obj1 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self",(char *) "value", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13933 arg2 = (bool) SWIG_AsBool(obj1);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 (arg1)->SetValue(arg2);
13938
13939 wxPyEndAllowThreads(__tstate);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 Py_INCREF(Py_None); resultobj = Py_None;
13943 return resultobj;
13944 fail:
13945 return NULL;
13946 }
13947
13948
13949 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13950 PyObject *resultobj;
13951 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13952 bool result;
13953 PyObject * obj0 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13964
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 {
13969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13970 }
13971 return resultobj;
13972 fail:
13973 return NULL;
13974 }
13975
13976
13977 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13980 wxString *arg2 = 0 ;
13981 bool temp2 = False ;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self",(char *) "label", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13991 {
13992 arg2 = wxString_in_helper(obj1);
13993 if (arg2 == NULL) SWIG_fail;
13994 temp2 = True;
13995 }
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 (arg1)->SetLabel((wxString const &)*arg2);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 Py_INCREF(Py_None); resultobj = Py_None;
14004 {
14005 if (temp2)
14006 delete arg2;
14007 }
14008 return resultobj;
14009 fail:
14010 {
14011 if (temp2)
14012 delete arg2;
14013 }
14014 return NULL;
14015 }
14016
14017
14018 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14021 wxVisualAttributes result;
14022 PyObject * obj0 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "variant", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14028 if (obj0) {
14029 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 {
14040 wxVisualAttributes * resultptr;
14041 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14042 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14043 }
14044 return resultobj;
14045 fail:
14046 return NULL;
14047 }
14048
14049
14050 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14051 PyObject *obj;
14052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14053 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14054 Py_INCREF(obj);
14055 return Py_BuildValue((char *)"");
14056 }
14057 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14058 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14059 return 1;
14060 }
14061
14062
14063 static PyObject *_wrap_NOTEBOOK_NAME_get() {
14064 PyObject *pyobj;
14065
14066 {
14067 #if wxUSE_UNICODE
14068 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14069 #else
14070 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14071 #endif
14072 }
14073 return pyobj;
14074 }
14075
14076
14077 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj;
14079 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14080 size_t result;
14081 PyObject * obj0 = 0 ;
14082 char *kwnames[] = {
14083 (char *) "self", NULL
14084 };
14085
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14097 return resultobj;
14098 fail:
14099 return NULL;
14100 }
14101
14102
14103 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14106 size_t arg2 ;
14107 wxWindow *result;
14108 PyObject * obj0 = 0 ;
14109 PyObject * obj1 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "self",(char *) "n", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14117 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (wxWindow *)(arg1)->GetPage(arg2);
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 {
14127 resultobj = wxPyMake_wxObject(result);
14128 }
14129 return resultobj;
14130 fail:
14131 return NULL;
14132 }
14133
14134
14135 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14138 int result;
14139 PyObject * obj0 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14150
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 resultobj = SWIG_FromInt((int)result);
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14164 size_t arg2 ;
14165 wxString *arg3 = 0 ;
14166 bool result;
14167 bool temp3 = False ;
14168 PyObject * obj0 = 0 ;
14169 PyObject * obj1 = 0 ;
14170 PyObject * obj2 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "n",(char *) "strText", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 {
14181 arg3 = wxString_in_helper(obj2);
14182 if (arg3 == NULL) SWIG_fail;
14183 temp3 = True;
14184 }
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 {
14193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14194 }
14195 {
14196 if (temp3)
14197 delete arg3;
14198 }
14199 return resultobj;
14200 fail:
14201 {
14202 if (temp3)
14203 delete arg3;
14204 }
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14212 size_t arg2 ;
14213 wxString result;
14214 PyObject * obj0 = 0 ;
14215 PyObject * obj1 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self",(char *) "n", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14223 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 {
14233 #if wxUSE_UNICODE
14234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14235 #else
14236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14237 #endif
14238 }
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14246 PyObject *resultobj;
14247 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14248 wxImageList *arg2 = (wxImageList *) 0 ;
14249 PyObject * obj0 = 0 ;
14250 PyObject * obj1 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self",(char *) "imageList", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 (arg1)->SetImageList(arg2);
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 Py_INCREF(Py_None); resultobj = Py_None;
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14277 wxImageList *arg2 = (wxImageList *) 0 ;
14278 PyObject * obj0 = 0 ;
14279 PyObject * obj1 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self",(char *) "imageList", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14288 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 (arg1)->AssignImageList(arg2);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 Py_INCREF(Py_None); resultobj = Py_None;
14297 return resultobj;
14298 fail:
14299 return NULL;
14300 }
14301
14302
14303 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14306 wxImageList *result;
14307 PyObject * obj0 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 {
14323 resultobj = wxPyMake_wxObject(result);
14324 }
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14334 size_t arg2 ;
14335 int result;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self",(char *) "n", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14345 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14346 if (PyErr_Occurred()) SWIG_fail;
14347 {
14348 PyThreadState* __tstate = wxPyBeginAllowThreads();
14349 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14350
14351 wxPyEndAllowThreads(__tstate);
14352 if (PyErr_Occurred()) SWIG_fail;
14353 }
14354 resultobj = SWIG_FromInt((int)result);
14355 return resultobj;
14356 fail:
14357 return NULL;
14358 }
14359
14360
14361 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14362 PyObject *resultobj;
14363 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14364 size_t arg2 ;
14365 int arg3 ;
14366 bool result;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "self",(char *) "n",(char *) "imageId", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14377 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 arg3 = (int) SWIG_AsInt(obj2);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 {
14389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14390 }
14391 return resultobj;
14392 fail:
14393 return NULL;
14394 }
14395
14396
14397 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14398 PyObject *resultobj;
14399 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14400 wxSize *arg2 = 0 ;
14401 wxSize temp2 ;
14402 PyObject * obj0 = 0 ;
14403 PyObject * obj1 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self",(char *) "size", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14411 {
14412 arg2 = &temp2;
14413 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14414 }
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->SetPageSize((wxSize const &)*arg2);
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 Py_INCREF(Py_None); resultobj = Py_None;
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14432 wxSize *arg2 = 0 ;
14433 wxSize result;
14434 wxSize temp2 ;
14435 PyObject * obj0 = 0 ;
14436 PyObject * obj1 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "sizePage", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 {
14445 arg2 = &temp2;
14446 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14447 }
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456 wxSize * resultptr;
14457 resultptr = new wxSize((wxSize &) result);
14458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14459 }
14460 return resultobj;
14461 fail:
14462 return NULL;
14463 }
14464
14465
14466 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14469 size_t arg2 ;
14470 bool result;
14471 PyObject * obj0 = 0 ;
14472 PyObject * obj1 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self",(char *) "n", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14480 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (bool)(arg1)->DeletePage(arg2);
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 {
14490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14491 }
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14501 size_t arg2 ;
14502 bool result;
14503 PyObject * obj0 = 0 ;
14504 PyObject * obj1 = 0 ;
14505 char *kwnames[] = {
14506 (char *) "self",(char *) "n", NULL
14507 };
14508
14509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14512 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (bool)(arg1)->RemovePage(arg2);
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 {
14522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14523 }
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj;
14532 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14533 bool result;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (bool)(arg1)->DeleteAllPages();
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 {
14550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14551 }
14552 return resultobj;
14553 fail:
14554 return NULL;
14555 }
14556
14557
14558 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14559 PyObject *resultobj;
14560 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14561 wxWindow *arg2 = (wxWindow *) 0 ;
14562 wxString *arg3 = 0 ;
14563 bool arg4 = (bool) False ;
14564 int arg5 = (int) -1 ;
14565 bool result;
14566 bool temp3 = False ;
14567 PyObject * obj0 = 0 ;
14568 PyObject * obj1 = 0 ;
14569 PyObject * obj2 = 0 ;
14570 PyObject * obj3 = 0 ;
14571 PyObject * obj4 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14581 {
14582 arg3 = wxString_in_helper(obj2);
14583 if (arg3 == NULL) SWIG_fail;
14584 temp3 = True;
14585 }
14586 if (obj3) {
14587 arg4 = (bool) SWIG_AsBool(obj3);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 if (obj4) {
14591 arg5 = (int) SWIG_AsInt(obj4);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 {
14602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14603 }
14604 {
14605 if (temp3)
14606 delete arg3;
14607 }
14608 return resultobj;
14609 fail:
14610 {
14611 if (temp3)
14612 delete arg3;
14613 }
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14621 size_t arg2 ;
14622 wxWindow *arg3 = (wxWindow *) 0 ;
14623 wxString *arg4 = 0 ;
14624 bool arg5 = (bool) False ;
14625 int arg6 = (int) -1 ;
14626 bool result;
14627 bool temp4 = False ;
14628 PyObject * obj0 = 0 ;
14629 PyObject * obj1 = 0 ;
14630 PyObject * obj2 = 0 ;
14631 PyObject * obj3 = 0 ;
14632 PyObject * obj4 = 0 ;
14633 PyObject * obj5 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14645 {
14646 arg4 = wxString_in_helper(obj3);
14647 if (arg4 == NULL) SWIG_fail;
14648 temp4 = True;
14649 }
14650 if (obj4) {
14651 arg5 = (bool) SWIG_AsBool(obj4);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 if (obj5) {
14655 arg6 = (int) SWIG_AsInt(obj5);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14667 }
14668 {
14669 if (temp4)
14670 delete arg4;
14671 }
14672 return resultobj;
14673 fail:
14674 {
14675 if (temp4)
14676 delete arg4;
14677 }
14678 return NULL;
14679 }
14680
14681
14682 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj;
14684 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14685 size_t arg2 ;
14686 int result;
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 char *kwnames[] = {
14690 (char *) "self",(char *) "n", NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14696 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (int)(arg1)->SetSelection(arg2);
14701
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 resultobj = SWIG_FromInt((int)result);
14706 return resultobj;
14707 fail:
14708 return NULL;
14709 }
14710
14711
14712 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14713 PyObject *resultobj;
14714 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14715 bool arg2 = (bool) True ;
14716 PyObject * obj0 = 0 ;
14717 PyObject * obj1 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "self",(char *) "forward", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14725 if (obj1) {
14726 arg2 = (bool) SWIG_AsBool(obj1);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 (arg1)->AdvanceSelection(arg2);
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14746 wxVisualAttributes result;
14747 PyObject * obj0 = 0 ;
14748 char *kwnames[] = {
14749 (char *) "variant", NULL
14750 };
14751
14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14753 if (obj0) {
14754 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 {
14765 wxVisualAttributes * resultptr;
14766 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14767 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14768 }
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14776 PyObject *obj;
14777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14778 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14779 Py_INCREF(obj);
14780 return Py_BuildValue((char *)"");
14781 }
14782 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14785 int arg2 = (int) 0 ;
14786 int arg3 = (int) -1 ;
14787 int arg4 = (int) -1 ;
14788 wxBookCtrlEvent *result;
14789 PyObject * obj0 = 0 ;
14790 PyObject * obj1 = 0 ;
14791 PyObject * obj2 = 0 ;
14792 PyObject * obj3 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14798 if (obj0) {
14799 arg1 = (wxEventType) SWIG_AsInt(obj0);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 if (obj1) {
14803 arg2 = (int) SWIG_AsInt(obj1);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 if (obj2) {
14807 arg3 = (int) SWIG_AsInt(obj2);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 if (obj3) {
14811 arg4 = (int) SWIG_AsInt(obj3);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14817
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14822 return resultobj;
14823 fail:
14824 return NULL;
14825 }
14826
14827
14828 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14829 PyObject *resultobj;
14830 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14831 int result;
14832 PyObject * obj0 = 0 ;
14833 char *kwnames[] = {
14834 (char *) "self", NULL
14835 };
14836
14837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 resultobj = SWIG_FromInt((int)result);
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj;
14856 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14857 int arg2 ;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 char *kwnames[] = {
14861 (char *) "self",(char *) "nSel", NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14867 arg2 = (int) SWIG_AsInt(obj1);
14868 if (PyErr_Occurred()) SWIG_fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 (arg1)->SetSelection(arg2);
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 Py_INCREF(Py_None); resultobj = Py_None;
14877 return resultobj;
14878 fail:
14879 return NULL;
14880 }
14881
14882
14883 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj;
14885 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14886 int result;
14887 PyObject * obj0 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = SWIG_FromInt((int)result);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906 }
14907
14908
14909 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14912 int arg2 ;
14913 PyObject * obj0 = 0 ;
14914 PyObject * obj1 = 0 ;
14915 char *kwnames[] = {
14916 (char *) "self",(char *) "nOldSel", NULL
14917 };
14918
14919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14922 arg2 = (int) SWIG_AsInt(obj1);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 {
14925 PyThreadState* __tstate = wxPyBeginAllowThreads();
14926 (arg1)->SetOldSelection(arg2);
14927
14928 wxPyEndAllowThreads(__tstate);
14929 if (PyErr_Occurred()) SWIG_fail;
14930 }
14931 Py_INCREF(Py_None); resultobj = Py_None;
14932 return resultobj;
14933 fail:
14934 return NULL;
14935 }
14936
14937
14938 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14939 PyObject *obj;
14940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14941 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14942 Py_INCREF(obj);
14943 return Py_BuildValue((char *)"");
14944 }
14945 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14946 PyObject *resultobj;
14947 wxWindow *arg1 = (wxWindow *) 0 ;
14948 int arg2 = (int) -1 ;
14949 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14950 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14951 wxSize const &arg4_defvalue = wxDefaultSize ;
14952 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14953 long arg5 = (long) 0 ;
14954 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14955 wxString *arg6 = (wxString *) &arg6_defvalue ;
14956 wxNotebook *result;
14957 wxPoint temp3 ;
14958 wxSize temp4 ;
14959 bool temp6 = False ;
14960 PyObject * obj0 = 0 ;
14961 PyObject * obj1 = 0 ;
14962 PyObject * obj2 = 0 ;
14963 PyObject * obj3 = 0 ;
14964 PyObject * obj4 = 0 ;
14965 PyObject * obj5 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14973 if (obj1) {
14974 arg2 = (int) SWIG_AsInt(obj1);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 if (obj2) {
14978 {
14979 arg3 = &temp3;
14980 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14981 }
14982 }
14983 if (obj3) {
14984 {
14985 arg4 = &temp4;
14986 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14987 }
14988 }
14989 if (obj4) {
14990 arg5 = (long) SWIG_AsLong(obj4);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
14993 if (obj5) {
14994 {
14995 arg6 = wxString_in_helper(obj5);
14996 if (arg6 == NULL) SWIG_fail;
14997 temp6 = True;
14998 }
14999 }
15000 {
15001 if (!wxPyCheckForApp()) SWIG_fail;
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 {
15009 resultobj = wxPyMake_wxObject(result);
15010 }
15011 {
15012 if (temp6)
15013 delete arg6;
15014 }
15015 return resultobj;
15016 fail:
15017 {
15018 if (temp6)
15019 delete arg6;
15020 }
15021 return NULL;
15022 }
15023
15024
15025 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxNotebook *result;
15028 char *kwnames[] = {
15029 NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15033 {
15034 if (!wxPyCheckForApp()) SWIG_fail;
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = (wxNotebook *)new wxNotebook();
15037
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 {
15042 resultobj = wxPyMake_wxObject(result);
15043 }
15044 return resultobj;
15045 fail:
15046 return NULL;
15047 }
15048
15049
15050 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxNotebook *arg1 = (wxNotebook *) 0 ;
15053 wxWindow *arg2 = (wxWindow *) 0 ;
15054 int arg3 = (int) -1 ;
15055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15057 wxSize const &arg5_defvalue = wxDefaultSize ;
15058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15059 long arg6 = (long) 0 ;
15060 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15061 wxString *arg7 = (wxString *) &arg7_defvalue ;
15062 bool result;
15063 wxPoint temp4 ;
15064 wxSize temp5 ;
15065 bool temp7 = False ;
15066 PyObject * obj0 = 0 ;
15067 PyObject * obj1 = 0 ;
15068 PyObject * obj2 = 0 ;
15069 PyObject * obj3 = 0 ;
15070 PyObject * obj4 = 0 ;
15071 PyObject * obj5 = 0 ;
15072 PyObject * obj6 = 0 ;
15073 char *kwnames[] = {
15074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15075 };
15076
15077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15082 if (obj2) {
15083 arg3 = (int) SWIG_AsInt(obj2);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 if (obj3) {
15087 {
15088 arg4 = &temp4;
15089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15090 }
15091 }
15092 if (obj4) {
15093 {
15094 arg5 = &temp5;
15095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15096 }
15097 }
15098 if (obj5) {
15099 arg6 = (long) SWIG_AsLong(obj5);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 if (obj6) {
15103 {
15104 arg7 = wxString_in_helper(obj6);
15105 if (arg7 == NULL) SWIG_fail;
15106 temp7 = True;
15107 }
15108 }
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 {
15117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15118 }
15119 {
15120 if (temp7)
15121 delete arg7;
15122 }
15123 return resultobj;
15124 fail:
15125 {
15126 if (temp7)
15127 delete arg7;
15128 }
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxNotebook *arg1 = (wxNotebook *) 0 ;
15136 int result;
15137 PyObject * obj0 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 resultobj = SWIG_FromInt((int)result);
15153 return resultobj;
15154 fail:
15155 return NULL;
15156 }
15157
15158
15159 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxNotebook *arg1 = (wxNotebook *) 0 ;
15162 wxSize *arg2 = 0 ;
15163 wxSize temp2 ;
15164 PyObject * obj0 = 0 ;
15165 PyObject * obj1 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self",(char *) "padding", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15173 {
15174 arg2 = &temp2;
15175 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15176 }
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 (arg1)->SetPadding((wxSize const &)*arg2);
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 Py_INCREF(Py_None); resultobj = Py_None;
15185 return resultobj;
15186 fail:
15187 return NULL;
15188 }
15189
15190
15191 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxNotebook *arg1 = (wxNotebook *) 0 ;
15194 wxSize *arg2 = 0 ;
15195 wxSize temp2 ;
15196 PyObject * obj0 = 0 ;
15197 PyObject * obj1 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self",(char *) "sz", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15205 {
15206 arg2 = &temp2;
15207 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15208 }
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 (arg1)->SetTabSize((wxSize const &)*arg2);
15212
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 Py_INCREF(Py_None); resultobj = Py_None;
15217 return resultobj;
15218 fail:
15219 return NULL;
15220 }
15221
15222
15223 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxNotebook *arg1 = (wxNotebook *) 0 ;
15226 wxPoint *arg2 = 0 ;
15227 long *arg3 = (long *) 0 ;
15228 int result;
15229 wxPoint temp2 ;
15230 long temp3 ;
15231 PyObject * obj0 = 0 ;
15232 PyObject * obj1 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self",(char *) "pt", NULL
15235 };
15236
15237 arg3 = &temp3;
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15241 {
15242 arg2 = &temp2;
15243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15244 }
15245 {
15246 PyThreadState* __tstate = wxPyBeginAllowThreads();
15247 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = SWIG_FromInt((int)result);
15253 {
15254 PyObject *o = PyInt_FromLong((long) (*arg3));
15255 resultobj = t_output_helper(resultobj,o);
15256 }
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxNotebook *arg1 = (wxNotebook *) 0 ;
15266 wxSize *arg2 = 0 ;
15267 wxSize result;
15268 wxSize temp2 ;
15269 PyObject * obj0 = 0 ;
15270 PyObject * obj1 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self",(char *) "sizePage", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15278 {
15279 arg2 = &temp2;
15280 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15281 }
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 {
15290 wxSize * resultptr;
15291 resultptr = new wxSize((wxSize &) result);
15292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15293 }
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15303 wxVisualAttributes result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "variant", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15310 if (obj0) {
15311 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 wxVisualAttributes * resultptr;
15323 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15325 }
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15333 PyObject *obj;
15334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15335 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15336 Py_INCREF(obj);
15337 return Py_BuildValue((char *)"");
15338 }
15339 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15342 int arg2 = (int) 0 ;
15343 int arg3 = (int) -1 ;
15344 int arg4 = (int) -1 ;
15345 wxNotebookEvent *result;
15346 PyObject * obj0 = 0 ;
15347 PyObject * obj1 = 0 ;
15348 PyObject * obj2 = 0 ;
15349 PyObject * obj3 = 0 ;
15350 char *kwnames[] = {
15351 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15352 };
15353
15354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15355 if (obj0) {
15356 arg1 = (wxEventType) SWIG_AsInt(obj0);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 if (obj1) {
15360 arg2 = (int) SWIG_AsInt(obj1);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 if (obj2) {
15364 arg3 = (int) SWIG_AsInt(obj2);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 if (obj3) {
15368 arg4 = (int) SWIG_AsInt(obj3);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15379 return resultobj;
15380 fail:
15381 return NULL;
15382 }
15383
15384
15385 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15386 PyObject *obj;
15387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15388 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15389 Py_INCREF(obj);
15390 return Py_BuildValue((char *)"");
15391 }
15392 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj;
15394 wxWindow *arg1 = (wxWindow *) 0 ;
15395 int arg2 = (int) -1 ;
15396 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15397 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15398 wxSize const &arg4_defvalue = wxDefaultSize ;
15399 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15400 long arg5 = (long) 0 ;
15401 wxString const &arg6_defvalue = wxPyEmptyString ;
15402 wxString *arg6 = (wxString *) &arg6_defvalue ;
15403 wxListbook *result;
15404 wxPoint temp3 ;
15405 wxSize temp4 ;
15406 bool temp6 = False ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 PyObject * obj2 = 0 ;
15410 PyObject * obj3 = 0 ;
15411 PyObject * obj4 = 0 ;
15412 PyObject * obj5 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15420 if (obj1) {
15421 arg2 = (int) SWIG_AsInt(obj1);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 if (obj2) {
15425 {
15426 arg3 = &temp3;
15427 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15428 }
15429 }
15430 if (obj3) {
15431 {
15432 arg4 = &temp4;
15433 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15434 }
15435 }
15436 if (obj4) {
15437 arg5 = (long) SWIG_AsLong(obj4);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 if (obj5) {
15441 {
15442 arg6 = wxString_in_helper(obj5);
15443 if (arg6 == NULL) SWIG_fail;
15444 temp6 = True;
15445 }
15446 }
15447 {
15448 if (!wxPyCheckForApp()) SWIG_fail;
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15456 {
15457 if (temp6)
15458 delete arg6;
15459 }
15460 return resultobj;
15461 fail:
15462 {
15463 if (temp6)
15464 delete arg6;
15465 }
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 wxListbook *result;
15473 char *kwnames[] = {
15474 NULL
15475 };
15476
15477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15478 {
15479 if (!wxPyCheckForApp()) SWIG_fail;
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 result = (wxListbook *)new wxListbook();
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxListbook *arg1 = (wxListbook *) 0 ;
15496 wxWindow *arg2 = (wxWindow *) 0 ;
15497 int arg3 = (int) -1 ;
15498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15500 wxSize const &arg5_defvalue = wxDefaultSize ;
15501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15502 long arg6 = (long) 0 ;
15503 wxString const &arg7_defvalue = wxPyEmptyString ;
15504 wxString *arg7 = (wxString *) &arg7_defvalue ;
15505 bool result;
15506 wxPoint temp4 ;
15507 wxSize temp5 ;
15508 bool temp7 = False ;
15509 PyObject * obj0 = 0 ;
15510 PyObject * obj1 = 0 ;
15511 PyObject * obj2 = 0 ;
15512 PyObject * obj3 = 0 ;
15513 PyObject * obj4 = 0 ;
15514 PyObject * obj5 = 0 ;
15515 PyObject * obj6 = 0 ;
15516 char *kwnames[] = {
15517 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15518 };
15519
15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15525 if (obj2) {
15526 arg3 = (int) SWIG_AsInt(obj2);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 if (obj3) {
15530 {
15531 arg4 = &temp4;
15532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15533 }
15534 }
15535 if (obj4) {
15536 {
15537 arg5 = &temp5;
15538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15539 }
15540 }
15541 if (obj5) {
15542 arg6 = (long) SWIG_AsLong(obj5);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 if (obj6) {
15546 {
15547 arg7 = wxString_in_helper(obj6);
15548 if (arg7 == NULL) SWIG_fail;
15549 temp7 = True;
15550 }
15551 }
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 {
15560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15561 }
15562 {
15563 if (temp7)
15564 delete arg7;
15565 }
15566 return resultobj;
15567 fail:
15568 {
15569 if (temp7)
15570 delete arg7;
15571 }
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxListbook *arg1 = (wxListbook *) 0 ;
15579 bool result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (bool)((wxListbook const *)arg1)->IsVertical();
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 {
15596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15597 }
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15605 PyObject *obj;
15606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15608 Py_INCREF(obj);
15609 return Py_BuildValue((char *)"");
15610 }
15611 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj;
15613 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15614 int arg2 = (int) 0 ;
15615 int arg3 = (int) -1 ;
15616 int arg4 = (int) -1 ;
15617 wxListbookEvent *result;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 PyObject * obj2 = 0 ;
15621 PyObject * obj3 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15627 if (obj0) {
15628 arg1 = (wxEventType) SWIG_AsInt(obj0);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 if (obj1) {
15632 arg2 = (int) SWIG_AsInt(obj1);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 if (obj2) {
15636 arg3 = (int) SWIG_AsInt(obj2);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 if (obj3) {
15640 arg4 = (int) SWIG_AsInt(obj3);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15658 PyObject *obj;
15659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15660 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15661 Py_INCREF(obj);
15662 return Py_BuildValue((char *)"");
15663 }
15664 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj;
15666 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15667 wxBookCtrlSizer *result;
15668 PyObject * obj0 = 0 ;
15669 char *kwnames[] = {
15670 (char *) "nb", NULL
15671 };
15672
15673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15676 {
15677 PyThreadState* __tstate = wxPyBeginAllowThreads();
15678 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15679
15680 wxPyEndAllowThreads(__tstate);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 }
15683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15693 PyObject * obj0 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->RecalcSizes();
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 Py_INCREF(Py_None); resultobj = Py_None;
15709 return resultobj;
15710 fail:
15711 return NULL;
15712 }
15713
15714
15715 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15718 wxSize result;
15719 PyObject * obj0 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (arg1)->CalcMin();
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 {
15735 wxSize * resultptr;
15736 resultptr = new wxSize((wxSize &) result);
15737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15738 }
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15748 wxBookCtrl *result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (wxBookCtrl *)(arg1)->GetControl();
15760
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15765 return resultobj;
15766 fail:
15767 return NULL;
15768 }
15769
15770
15771 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15772 PyObject *obj;
15773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15774 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15775 Py_INCREF(obj);
15776 return Py_BuildValue((char *)"");
15777 }
15778 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxNotebook *arg1 = (wxNotebook *) 0 ;
15781 wxNotebookSizer *result;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "nb", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 (arg1)->RecalcSizes();
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 Py_INCREF(Py_None); resultobj = Py_None;
15823 return resultobj;
15824 fail:
15825 return NULL;
15826 }
15827
15828
15829 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15830 PyObject *resultobj;
15831 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15832 wxSize result;
15833 PyObject * obj0 = 0 ;
15834 char *kwnames[] = {
15835 (char *) "self", NULL
15836 };
15837
15838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (arg1)->CalcMin();
15844
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 {
15849 wxSize * resultptr;
15850 resultptr = new wxSize((wxSize &) result);
15851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15852 }
15853 return resultobj;
15854 fail:
15855 return NULL;
15856 }
15857
15858
15859 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15862 wxNotebook *result;
15863 PyObject * obj0 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "self", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 result = (wxNotebook *)(arg1)->GetNotebook();
15874
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 {
15879 resultobj = wxPyMake_wxObject(result);
15880 }
15881 return resultobj;
15882 fail:
15883 return NULL;
15884 }
15885
15886
15887 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15888 PyObject *obj;
15889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15890 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15891 Py_INCREF(obj);
15892 return Py_BuildValue((char *)"");
15893 }
15894 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15897 int result;
15898 PyObject * obj0 = 0 ;
15899 char *kwnames[] = {
15900 (char *) "self", NULL
15901 };
15902
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (int)(arg1)->GetId();
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = SWIG_FromInt((int)result);
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15923 wxControl *result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (wxControl *)(arg1)->GetControl();
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 {
15940 resultobj = wxPyMake_wxObject(result);
15941 }
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj;
15950 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15951 wxToolBarBase *result;
15952 PyObject * obj0 = 0 ;
15953 char *kwnames[] = {
15954 (char *) "self", NULL
15955 };
15956
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15960 {
15961 PyThreadState* __tstate = wxPyBeginAllowThreads();
15962 result = (wxToolBarBase *)(arg1)->GetToolBar();
15963
15964 wxPyEndAllowThreads(__tstate);
15965 if (PyErr_Occurred()) SWIG_fail;
15966 }
15967 {
15968 resultobj = wxPyMake_wxObject(result);
15969 }
15970 return resultobj;
15971 fail:
15972 return NULL;
15973 }
15974
15975
15976 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj;
15978 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15979 int result;
15980 PyObject * obj0 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self", NULL
15983 };
15984
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 result = (int)(arg1)->IsButton();
15991
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 resultobj = SWIG_FromInt((int)result);
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj;
16004 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16005 int result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 result = (int)(arg1)->IsControl();
16017
16018 wxPyEndAllowThreads(__tstate);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 }
16021 resultobj = SWIG_FromInt((int)result);
16022 return resultobj;
16023 fail:
16024 return NULL;
16025 }
16026
16027
16028 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16029 PyObject *resultobj;
16030 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16031 int result;
16032 PyObject * obj0 = 0 ;
16033 char *kwnames[] = {
16034 (char *) "self", NULL
16035 };
16036
16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (int)(arg1)->IsSeparator();
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 resultobj = SWIG_FromInt((int)result);
16048 return resultobj;
16049 fail:
16050 return NULL;
16051 }
16052
16053
16054 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16057 int result;
16058 PyObject * obj0 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 result = (int)(arg1)->GetStyle();
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 resultobj = SWIG_FromInt((int)result);
16074 return resultobj;
16075 fail:
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16083 int result;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 result = (int)(arg1)->GetKind();
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 resultobj = SWIG_FromInt((int)result);
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16109 bool result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 result = (bool)(arg1)->IsEnabled();
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 {
16126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16127 }
16128 return resultobj;
16129 fail:
16130 return NULL;
16131 }
16132
16133
16134 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16137 bool result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (bool)(arg1)->IsToggled();
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 {
16154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16155 }
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16165 bool result;
16166 PyObject * obj0 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (bool)(arg1)->CanBeToggled();
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 {
16182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16183 }
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16193 wxBitmap *result;
16194 PyObject * obj0 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 {
16205 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16206 result = (wxBitmap *) &_result_ref;
16207 }
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 {
16213 wxBitmap* resultptr = new wxBitmap(*result);
16214 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16215 }
16216 return resultobj;
16217 fail:
16218 return NULL;
16219 }
16220
16221
16222 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16225 wxBitmap *result;
16226 PyObject * obj0 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 {
16237 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16238 result = (wxBitmap *) &_result_ref;
16239 }
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 {
16245 wxBitmap* resultptr = new wxBitmap(*result);
16246 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16247 }
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16257 wxBitmap result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 result = (arg1)->GetBitmap();
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 {
16274 wxBitmap * resultptr;
16275 resultptr = new wxBitmap((wxBitmap &) result);
16276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16277 }
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16287 wxString result;
16288 PyObject * obj0 = 0 ;
16289 char *kwnames[] = {
16290 (char *) "self", NULL
16291 };
16292
16293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 result = (arg1)->GetLabel();
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 {
16304 #if wxUSE_UNICODE
16305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16306 #else
16307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16308 #endif
16309 }
16310 return resultobj;
16311 fail:
16312 return NULL;
16313 }
16314
16315
16316 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj;
16318 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16319 wxString result;
16320 PyObject * obj0 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self", NULL
16323 };
16324
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 result = (arg1)->GetShortHelp();
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 {
16336 #if wxUSE_UNICODE
16337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16338 #else
16339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16340 #endif
16341 }
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16351 wxString result;
16352 PyObject * obj0 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 result = (arg1)->GetLongHelp();
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 {
16368 #if wxUSE_UNICODE
16369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16370 #else
16371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16372 #endif
16373 }
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16383 bool arg2 ;
16384 bool result;
16385 PyObject * obj0 = 0 ;
16386 PyObject * obj1 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self",(char *) "enable", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 arg2 = (bool) SWIG_AsBool(obj1);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (bool)(arg1)->Enable(arg2);
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 {
16404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16405 }
16406 return resultobj;
16407 fail:
16408 return NULL;
16409 }
16410
16411
16412 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16413 PyObject *resultobj;
16414 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 (arg1)->Toggle();
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 Py_INCREF(Py_None); resultobj = Py_None;
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16440 bool arg2 ;
16441 bool result;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "toggle", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16451 arg2 = (bool) SWIG_AsBool(obj1);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 result = (bool)(arg1)->SetToggle(arg2);
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 {
16461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16462 }
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16472 wxString *arg2 = 0 ;
16473 bool result;
16474 bool temp2 = False ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "help", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 {
16485 arg2 = wxString_in_helper(obj1);
16486 if (arg2 == NULL) SWIG_fail;
16487 temp2 = True;
16488 }
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16492
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 {
16497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16498 }
16499 {
16500 if (temp2)
16501 delete arg2;
16502 }
16503 return resultobj;
16504 fail:
16505 {
16506 if (temp2)
16507 delete arg2;
16508 }
16509 return NULL;
16510 }
16511
16512
16513 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16516 wxString *arg2 = 0 ;
16517 bool result;
16518 bool temp2 = False ;
16519 PyObject * obj0 = 0 ;
16520 PyObject * obj1 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self",(char *) "help", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16528 {
16529 arg2 = wxString_in_helper(obj1);
16530 if (arg2 == NULL) SWIG_fail;
16531 temp2 = True;
16532 }
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 {
16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16542 }
16543 {
16544 if (temp2)
16545 delete arg2;
16546 }
16547 return resultobj;
16548 fail:
16549 {
16550 if (temp2)
16551 delete arg2;
16552 }
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16560 wxBitmap *arg2 = 0 ;
16561 PyObject * obj0 = 0 ;
16562 PyObject * obj1 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self",(char *) "bmp", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16571 SWIG_POINTER_EXCEPTION | 0)) == -1)
16572 SWIG_fail;
16573 if (arg2 == NULL) {
16574 PyErr_SetString(PyExc_TypeError,"null reference");
16575 SWIG_fail;
16576 }
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 Py_INCREF(Py_None); resultobj = Py_None;
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16594 wxBitmap *arg2 = 0 ;
16595 PyObject * obj0 = 0 ;
16596 PyObject * obj1 = 0 ;
16597 char *kwnames[] = {
16598 (char *) "self",(char *) "bmp", NULL
16599 };
16600
16601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16605 SWIG_POINTER_EXCEPTION | 0)) == -1)
16606 SWIG_fail;
16607 if (arg2 == NULL) {
16608 PyErr_SetString(PyExc_TypeError,"null reference");
16609 SWIG_fail;
16610 }
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16614
16615 wxPyEndAllowThreads(__tstate);
16616 if (PyErr_Occurred()) SWIG_fail;
16617 }
16618 Py_INCREF(Py_None); resultobj = Py_None;
16619 return resultobj;
16620 fail:
16621 return NULL;
16622 }
16623
16624
16625 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16626 PyObject *resultobj;
16627 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16628 wxString *arg2 = 0 ;
16629 bool temp2 = False ;
16630 PyObject * obj0 = 0 ;
16631 PyObject * obj1 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self",(char *) "label", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16639 {
16640 arg2 = wxString_in_helper(obj1);
16641 if (arg2 == NULL) SWIG_fail;
16642 temp2 = True;
16643 }
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 (arg1)->SetLabel((wxString const &)*arg2);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 Py_INCREF(Py_None); resultobj = Py_None;
16652 {
16653 if (temp2)
16654 delete arg2;
16655 }
16656 return resultobj;
16657 fail:
16658 {
16659 if (temp2)
16660 delete arg2;
16661 }
16662 return NULL;
16663 }
16664
16665
16666 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 (arg1)->Detach();
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 Py_INCREF(Py_None); resultobj = Py_None;
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16694 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16695 PyObject * obj0 = 0 ;
16696 PyObject * obj1 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self",(char *) "tbar", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 (arg1)->Attach(arg2);
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 Py_INCREF(Py_None); resultobj = Py_None;
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16723 PyObject *result;
16724 PyObject * obj0 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 resultobj = result;
16740 return resultobj;
16741 fail:
16742 return NULL;
16743 }
16744
16745
16746 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16749 PyObject *arg2 = (PyObject *) 0 ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self",(char *) "clientData", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16759 arg2 = obj1;
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 wxToolBarToolBase_SetClientData(arg1,arg2);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 Py_INCREF(Py_None); resultobj = Py_None;
16768 return resultobj;
16769 fail:
16770 return NULL;
16771 }
16772
16773
16774 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16775 PyObject *obj;
16776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16777 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16778 Py_INCREF(obj);
16779 return Py_BuildValue((char *)"");
16780 }
16781 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16784 int arg2 ;
16785 wxString *arg3 = 0 ;
16786 wxBitmap *arg4 = 0 ;
16787 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16788 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16789 int arg6 = (int) wxITEM_NORMAL ;
16790 wxString const &arg7_defvalue = wxPyEmptyString ;
16791 wxString *arg7 = (wxString *) &arg7_defvalue ;
16792 wxString const &arg8_defvalue = wxPyEmptyString ;
16793 wxString *arg8 = (wxString *) &arg8_defvalue ;
16794 PyObject *arg9 = (PyObject *) NULL ;
16795 wxToolBarToolBase *result;
16796 bool temp3 = False ;
16797 bool temp7 = False ;
16798 bool temp8 = False ;
16799 PyObject * obj0 = 0 ;
16800 PyObject * obj1 = 0 ;
16801 PyObject * obj2 = 0 ;
16802 PyObject * obj3 = 0 ;
16803 PyObject * obj4 = 0 ;
16804 PyObject * obj5 = 0 ;
16805 PyObject * obj6 = 0 ;
16806 PyObject * obj7 = 0 ;
16807 PyObject * obj8 = 0 ;
16808 char *kwnames[] = {
16809 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16810 };
16811
16812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16815 arg2 = (int) SWIG_AsInt(obj1);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 {
16818 arg3 = wxString_in_helper(obj2);
16819 if (arg3 == NULL) SWIG_fail;
16820 temp3 = True;
16821 }
16822 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1)
16824 SWIG_fail;
16825 if (arg4 == NULL) {
16826 PyErr_SetString(PyExc_TypeError,"null reference");
16827 SWIG_fail;
16828 }
16829 if (obj4) {
16830 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16831 SWIG_POINTER_EXCEPTION | 0)) == -1)
16832 SWIG_fail;
16833 if (arg5 == NULL) {
16834 PyErr_SetString(PyExc_TypeError,"null reference");
16835 SWIG_fail;
16836 }
16837 }
16838 if (obj5) {
16839 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 if (obj6) {
16843 {
16844 arg7 = wxString_in_helper(obj6);
16845 if (arg7 == NULL) SWIG_fail;
16846 temp7 = True;
16847 }
16848 }
16849 if (obj7) {
16850 {
16851 arg8 = wxString_in_helper(obj7);
16852 if (arg8 == NULL) SWIG_fail;
16853 temp8 = True;
16854 }
16855 }
16856 if (obj8) {
16857 arg9 = obj8;
16858 }
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
16867 resultobj = wxPyMake_wxObject(result);
16868 }
16869 {
16870 if (temp3)
16871 delete arg3;
16872 }
16873 {
16874 if (temp7)
16875 delete arg7;
16876 }
16877 {
16878 if (temp8)
16879 delete arg8;
16880 }
16881 return resultobj;
16882 fail:
16883 {
16884 if (temp3)
16885 delete arg3;
16886 }
16887 {
16888 if (temp7)
16889 delete arg7;
16890 }
16891 {
16892 if (temp8)
16893 delete arg8;
16894 }
16895 return NULL;
16896 }
16897
16898
16899 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16900 PyObject *resultobj;
16901 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16902 size_t arg2 ;
16903 int arg3 ;
16904 wxString *arg4 = 0 ;
16905 wxBitmap *arg5 = 0 ;
16906 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16907 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16908 int arg7 = (int) wxITEM_NORMAL ;
16909 wxString const &arg8_defvalue = wxPyEmptyString ;
16910 wxString *arg8 = (wxString *) &arg8_defvalue ;
16911 wxString const &arg9_defvalue = wxPyEmptyString ;
16912 wxString *arg9 = (wxString *) &arg9_defvalue ;
16913 PyObject *arg10 = (PyObject *) NULL ;
16914 wxToolBarToolBase *result;
16915 bool temp4 = False ;
16916 bool temp8 = False ;
16917 bool temp9 = False ;
16918 PyObject * obj0 = 0 ;
16919 PyObject * obj1 = 0 ;
16920 PyObject * obj2 = 0 ;
16921 PyObject * obj3 = 0 ;
16922 PyObject * obj4 = 0 ;
16923 PyObject * obj5 = 0 ;
16924 PyObject * obj6 = 0 ;
16925 PyObject * obj7 = 0 ;
16926 PyObject * obj8 = 0 ;
16927 PyObject * obj9 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16935 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 arg3 = (int) SWIG_AsInt(obj2);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 {
16940 arg4 = wxString_in_helper(obj3);
16941 if (arg4 == NULL) SWIG_fail;
16942 temp4 = True;
16943 }
16944 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16945 SWIG_POINTER_EXCEPTION | 0)) == -1)
16946 SWIG_fail;
16947 if (arg5 == NULL) {
16948 PyErr_SetString(PyExc_TypeError,"null reference");
16949 SWIG_fail;
16950 }
16951 if (obj5) {
16952 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16953 SWIG_POINTER_EXCEPTION | 0)) == -1)
16954 SWIG_fail;
16955 if (arg6 == NULL) {
16956 PyErr_SetString(PyExc_TypeError,"null reference");
16957 SWIG_fail;
16958 }
16959 }
16960 if (obj6) {
16961 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 if (obj7) {
16965 {
16966 arg8 = wxString_in_helper(obj7);
16967 if (arg8 == NULL) SWIG_fail;
16968 temp8 = True;
16969 }
16970 }
16971 if (obj8) {
16972 {
16973 arg9 = wxString_in_helper(obj8);
16974 if (arg9 == NULL) SWIG_fail;
16975 temp9 = True;
16976 }
16977 }
16978 if (obj9) {
16979 arg10 = obj9;
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 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);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 resultobj = wxPyMake_wxObject(result);
16990 }
16991 {
16992 if (temp4)
16993 delete arg4;
16994 }
16995 {
16996 if (temp8)
16997 delete arg8;
16998 }
16999 {
17000 if (temp9)
17001 delete arg9;
17002 }
17003 return resultobj;
17004 fail:
17005 {
17006 if (temp4)
17007 delete arg4;
17008 }
17009 {
17010 if (temp8)
17011 delete arg8;
17012 }
17013 {
17014 if (temp9)
17015 delete arg9;
17016 }
17017 return NULL;
17018 }
17019
17020
17021 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17024 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17025 wxToolBarToolBase *result;
17026 PyObject * obj0 = 0 ;
17027 PyObject * obj1 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self",(char *) "tool", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 {
17045 resultobj = wxPyMake_wxObject(result);
17046 }
17047 return resultobj;
17048 fail:
17049 return NULL;
17050 }
17051
17052
17053 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17054 PyObject *resultobj;
17055 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17056 size_t arg2 ;
17057 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17058 wxToolBarToolBase *result;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 PyObject * obj2 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self",(char *) "pos",(char *) "tool", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17069 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17076
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 {
17081 resultobj = wxPyMake_wxObject(result);
17082 }
17083 return resultobj;
17084 fail:
17085 return NULL;
17086 }
17087
17088
17089 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj;
17091 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17092 wxControl *arg2 = (wxControl *) 0 ;
17093 wxToolBarToolBase *result;
17094 PyObject * obj0 = 0 ;
17095 PyObject * obj1 = 0 ;
17096 char *kwnames[] = {
17097 (char *) "self",(char *) "control", NULL
17098 };
17099
17100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 {
17113 resultobj = wxPyMake_wxObject(result);
17114 }
17115 return resultobj;
17116 fail:
17117 return NULL;
17118 }
17119
17120
17121 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj;
17123 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17124 size_t arg2 ;
17125 wxControl *arg3 = (wxControl *) 0 ;
17126 wxToolBarToolBase *result;
17127 PyObject * obj0 = 0 ;
17128 PyObject * obj1 = 0 ;
17129 PyObject * obj2 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self",(char *) "pos",(char *) "control", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17137 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 resultobj = wxPyMake_wxObject(result);
17150 }
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17160 int arg2 ;
17161 wxControl *result;
17162 PyObject * obj0 = 0 ;
17163 PyObject * obj1 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self",(char *) "id", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17171 arg2 = (int) SWIG_AsInt(obj1);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (wxControl *)(arg1)->FindControl(arg2);
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 {
17181 resultobj = wxPyMake_wxObject(result);
17182 }
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17192 wxToolBarToolBase *result;
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 {
17209 resultobj = wxPyMake_wxObject(result);
17210 }
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17220 size_t arg2 ;
17221 wxToolBarToolBase *result;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "pos", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17231 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 {
17241 resultobj = wxPyMake_wxObject(result);
17242 }
17243 return resultobj;
17244 fail:
17245 return NULL;
17246 }
17247
17248
17249 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17250 PyObject *resultobj;
17251 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17252 int arg2 ;
17253 wxToolBarToolBase *result;
17254 PyObject * obj0 = 0 ;
17255 PyObject * obj1 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self",(char *) "id", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17263 arg2 = (int) SWIG_AsInt(obj1);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 {
17273 resultobj = wxPyMake_wxObject(result);
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17284 size_t arg2 ;
17285 bool result;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "pos", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17295 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (bool)(arg1)->DeleteToolByPos(arg2);
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 {
17305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17306 }
17307 return resultobj;
17308 fail:
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17316 int arg2 ;
17317 bool result;
17318 PyObject * obj0 = 0 ;
17319 PyObject * obj1 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "id", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17327 arg2 = (int) SWIG_AsInt(obj1);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (bool)(arg1)->DeleteTool(arg2);
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17338 }
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17348 PyObject * obj0 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "self", NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17356 {
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 (arg1)->ClearTools();
17359
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 Py_INCREF(Py_None); resultobj = Py_None;
17364 return resultobj;
17365 fail:
17366 return NULL;
17367 }
17368
17369
17370 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17371 PyObject *resultobj;
17372 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17373 bool result;
17374 PyObject * obj0 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 result = (bool)(arg1)->Realize();
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 {
17390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17391 }
17392 return resultobj;
17393 fail:
17394 return NULL;
17395 }
17396
17397
17398 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17401 int arg2 ;
17402 bool arg3 ;
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 PyObject * obj2 = 0 ;
17406 char *kwnames[] = {
17407 (char *) "self",(char *) "id",(char *) "enable", NULL
17408 };
17409
17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17413 arg2 = (int) SWIG_AsInt(obj1);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 arg3 = (bool) SWIG_AsBool(obj2);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->EnableTool(arg2,arg3);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 Py_INCREF(Py_None); resultobj = Py_None;
17425 return resultobj;
17426 fail:
17427 return NULL;
17428 }
17429
17430
17431 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj;
17433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17434 int arg2 ;
17435 bool arg3 ;
17436 PyObject * obj0 = 0 ;
17437 PyObject * obj1 = 0 ;
17438 PyObject * obj2 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self",(char *) "id",(char *) "toggle", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17446 arg2 = (int) SWIG_AsInt(obj1);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 arg3 = (bool) SWIG_AsBool(obj2);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 (arg1)->ToggleTool(arg2,arg3);
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 Py_INCREF(Py_None); resultobj = Py_None;
17458 return resultobj;
17459 fail:
17460 return NULL;
17461 }
17462
17463
17464 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17467 int arg2 ;
17468 bool arg3 ;
17469 PyObject * obj0 = 0 ;
17470 PyObject * obj1 = 0 ;
17471 PyObject * obj2 = 0 ;
17472 char *kwnames[] = {
17473 (char *) "self",(char *) "id",(char *) "toggle", NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17479 arg2 = (int) SWIG_AsInt(obj1);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 arg3 = (bool) SWIG_AsBool(obj2);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 (arg1)->SetToggle(arg2,arg3);
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 Py_INCREF(Py_None); resultobj = Py_None;
17491 return resultobj;
17492 fail:
17493 return NULL;
17494 }
17495
17496
17497 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17500 int arg2 ;
17501 PyObject *result;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self",(char *) "id", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17511 arg2 = (int) SWIG_AsInt(obj1);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = result;
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17530 int arg2 ;
17531 PyObject *arg3 = (PyObject *) 0 ;
17532 PyObject * obj0 = 0 ;
17533 PyObject * obj1 = 0 ;
17534 PyObject * obj2 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "self",(char *) "id",(char *) "clientData", NULL
17537 };
17538
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17542 arg2 = (int) SWIG_AsInt(obj1);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 arg3 = obj2;
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 Py_INCREF(Py_None); resultobj = Py_None;
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17562 int arg2 ;
17563 int result;
17564 PyObject * obj0 = 0 ;
17565 PyObject * obj1 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "self",(char *) "id", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17573 arg2 = (int) SWIG_AsInt(obj1);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 resultobj = SWIG_FromInt((int)result);
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17592 int arg2 ;
17593 bool result;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "id", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 arg2 = (int) SWIG_AsInt(obj1);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (bool)(arg1)->GetToolState(arg2);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 {
17613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17614 }
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17624 int arg2 ;
17625 bool result;
17626 PyObject * obj0 = 0 ;
17627 PyObject * obj1 = 0 ;
17628 char *kwnames[] = {
17629 (char *) "self",(char *) "id", NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17635 arg2 = (int) SWIG_AsInt(obj1);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = (bool)(arg1)->GetToolEnabled(arg2);
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 {
17645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17646 }
17647 return resultobj;
17648 fail:
17649 return NULL;
17650 }
17651
17652
17653 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17656 int arg2 ;
17657 wxString *arg3 = 0 ;
17658 bool temp3 = False ;
17659 PyObject * obj0 = 0 ;
17660 PyObject * obj1 = 0 ;
17661 PyObject * obj2 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self",(char *) "id",(char *) "helpString", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17669 arg2 = (int) SWIG_AsInt(obj1);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 {
17672 arg3 = wxString_in_helper(obj2);
17673 if (arg3 == NULL) SWIG_fail;
17674 temp3 = True;
17675 }
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 Py_INCREF(Py_None); resultobj = Py_None;
17684 {
17685 if (temp3)
17686 delete arg3;
17687 }
17688 return resultobj;
17689 fail:
17690 {
17691 if (temp3)
17692 delete arg3;
17693 }
17694 return NULL;
17695 }
17696
17697
17698 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj;
17700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17701 int arg2 ;
17702 wxString result;
17703 PyObject * obj0 = 0 ;
17704 PyObject * obj1 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self",(char *) "id", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17712 arg2 = (int) SWIG_AsInt(obj1);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 result = (arg1)->GetToolShortHelp(arg2);
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 {
17722 #if wxUSE_UNICODE
17723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17724 #else
17725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17726 #endif
17727 }
17728 return resultobj;
17729 fail:
17730 return NULL;
17731 }
17732
17733
17734 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
17736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17737 int arg2 ;
17738 wxString *arg3 = 0 ;
17739 bool temp3 = False ;
17740 PyObject * obj0 = 0 ;
17741 PyObject * obj1 = 0 ;
17742 PyObject * obj2 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self",(char *) "id",(char *) "helpString", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17750 arg2 = (int) SWIG_AsInt(obj1);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 {
17753 arg3 = wxString_in_helper(obj2);
17754 if (arg3 == NULL) SWIG_fail;
17755 temp3 = True;
17756 }
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 Py_INCREF(Py_None); resultobj = Py_None;
17765 {
17766 if (temp3)
17767 delete arg3;
17768 }
17769 return resultobj;
17770 fail:
17771 {
17772 if (temp3)
17773 delete arg3;
17774 }
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17782 int arg2 ;
17783 wxString result;
17784 PyObject * obj0 = 0 ;
17785 PyObject * obj1 = 0 ;
17786 char *kwnames[] = {
17787 (char *) "self",(char *) "id", NULL
17788 };
17789
17790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17793 arg2 = (int) SWIG_AsInt(obj1);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (arg1)->GetToolLongHelp(arg2);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 {
17803 #if wxUSE_UNICODE
17804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17805 #else
17806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17807 #endif
17808 }
17809 return resultobj;
17810 fail:
17811 return NULL;
17812 }
17813
17814
17815 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17816 PyObject *resultobj;
17817 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17818 int arg2 ;
17819 int arg3 ;
17820 PyObject * obj0 = 0 ;
17821 PyObject * obj1 = 0 ;
17822 PyObject * obj2 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self",(char *) "x",(char *) "y", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17830 arg2 = (int) SWIG_AsInt(obj1);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 arg3 = (int) SWIG_AsInt(obj2);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 (arg1)->SetMargins(arg2,arg3);
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 Py_INCREF(Py_None); resultobj = Py_None;
17842 return resultobj;
17843 fail:
17844 return NULL;
17845 }
17846
17847
17848 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17851 wxSize *arg2 = 0 ;
17852 wxSize temp2 ;
17853 PyObject * obj0 = 0 ;
17854 PyObject * obj1 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self",(char *) "size", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17862 {
17863 arg2 = &temp2;
17864 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17865 }
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 (arg1)->SetMargins((wxSize const &)*arg2);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 Py_INCREF(Py_None); resultobj = Py_None;
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17883 int arg2 ;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "packing", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 arg2 = (int) SWIG_AsInt(obj1);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 (arg1)->SetToolPacking(arg2);
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 Py_INCREF(Py_None); resultobj = Py_None;
17903 return resultobj;
17904 fail:
17905 return NULL;
17906 }
17907
17908
17909 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj;
17911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17912 int arg2 ;
17913 PyObject * obj0 = 0 ;
17914 PyObject * obj1 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self",(char *) "separation", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17922 arg2 = (int) SWIG_AsInt(obj1);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 (arg1)->SetToolSeparation(arg2);
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 Py_INCREF(Py_None); resultobj = Py_None;
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17941 wxSize result;
17942 PyObject * obj0 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (arg1)->GetToolMargins();
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 {
17958 wxSize * resultptr;
17959 resultptr = new wxSize((wxSize &) result);
17960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17961 }
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17971 wxSize result;
17972 PyObject * obj0 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 result = (arg1)->GetMargins();
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 {
17988 wxSize * resultptr;
17989 resultptr = new wxSize((wxSize &) result);
17990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17991 }
17992 return resultobj;
17993 fail:
17994 return NULL;
17995 }
17996
17997
17998 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18001 int result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (int)(arg1)->GetToolPacking();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = SWIG_FromInt((int)result);
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18027 int result;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = (int)(arg1)->GetToolSeparation();
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 resultobj = SWIG_FromInt((int)result);
18044 return resultobj;
18045 fail:
18046 return NULL;
18047 }
18048
18049
18050 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18053 int arg2 ;
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self",(char *) "nRows", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18063 arg2 = (int) SWIG_AsInt(obj1);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 (arg1)->SetRows(arg2);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 Py_INCREF(Py_None); resultobj = Py_None;
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18082 int arg2 ;
18083 int arg3 ;
18084 PyObject * obj0 = 0 ;
18085 PyObject * obj1 = 0 ;
18086 PyObject * obj2 = 0 ;
18087 char *kwnames[] = {
18088 (char *) "self",(char *) "rows",(char *) "cols", NULL
18089 };
18090
18091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18094 arg2 = (int) SWIG_AsInt(obj1);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 arg3 = (int) SWIG_AsInt(obj2);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 (arg1)->SetMaxRowsCols(arg2,arg3);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 Py_INCREF(Py_None); resultobj = Py_None;
18106 return resultobj;
18107 fail:
18108 return NULL;
18109 }
18110
18111
18112 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18115 int result;
18116 PyObject * obj0 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (int)(arg1)->GetMaxRows();
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 resultobj = SWIG_FromInt((int)result);
18132 return resultobj;
18133 fail:
18134 return NULL;
18135 }
18136
18137
18138 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj;
18140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18141 int result;
18142 PyObject * obj0 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "self", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 result = (int)(arg1)->GetMaxCols();
18153
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 resultobj = SWIG_FromInt((int)result);
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18167 wxSize *arg2 = 0 ;
18168 wxSize temp2 ;
18169 PyObject * obj0 = 0 ;
18170 PyObject * obj1 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "size", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18178 {
18179 arg2 = &temp2;
18180 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18181 }
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 Py_INCREF(Py_None); resultobj = Py_None;
18190 return resultobj;
18191 fail:
18192 return NULL;
18193 }
18194
18195
18196 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18199 wxSize result;
18200 PyObject * obj0 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (arg1)->GetToolBitmapSize();
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 {
18216 wxSize * resultptr;
18217 resultptr = new wxSize((wxSize &) result);
18218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18219 }
18220 return resultobj;
18221 fail:
18222 return NULL;
18223 }
18224
18225
18226 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18229 wxSize result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (arg1)->GetToolSize();
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 {
18246 wxSize * resultptr;
18247 resultptr = new wxSize((wxSize &) result);
18248 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18249 }
18250 return resultobj;
18251 fail:
18252 return NULL;
18253 }
18254
18255
18256 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18259 int arg2 ;
18260 int arg3 ;
18261 wxToolBarToolBase *result;
18262 PyObject * obj0 = 0 ;
18263 PyObject * obj1 = 0 ;
18264 PyObject * obj2 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self",(char *) "x",(char *) "y", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18272 arg2 = (int) SWIG_AsInt(obj1);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 arg3 = (int) SWIG_AsInt(obj2);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 {
18284 resultobj = wxPyMake_wxObject(result);
18285 }
18286 return resultobj;
18287 fail:
18288 return NULL;
18289 }
18290
18291
18292 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18293 PyObject *resultobj;
18294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18295 int arg2 ;
18296 wxToolBarToolBase *result;
18297 PyObject * obj0 = 0 ;
18298 PyObject * obj1 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self",(char *) "toolid", NULL
18301 };
18302
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18306 arg2 = (int) SWIG_AsInt(obj1);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 resultobj = wxPyMake_wxObject(result);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18327 bool result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (bool)(arg1)->IsVertical();
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 {
18344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18345 }
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18353 PyObject *obj;
18354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18355 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18356 Py_INCREF(obj);
18357 return Py_BuildValue((char *)"");
18358 }
18359 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxWindow *arg1 = (wxWindow *) 0 ;
18362 int arg2 = (int) -1 ;
18363 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18364 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18365 wxSize const &arg4_defvalue = wxDefaultSize ;
18366 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18367 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18368 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18369 wxString *arg6 = (wxString *) &arg6_defvalue ;
18370 wxToolBar *result;
18371 wxPoint temp3 ;
18372 wxSize temp4 ;
18373 bool temp6 = False ;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj1 = 0 ;
18376 PyObject * obj2 = 0 ;
18377 PyObject * obj3 = 0 ;
18378 PyObject * obj4 = 0 ;
18379 PyObject * obj5 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18387 if (obj1) {
18388 arg2 = (int) SWIG_AsInt(obj1);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 if (obj2) {
18392 {
18393 arg3 = &temp3;
18394 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18395 }
18396 }
18397 if (obj3) {
18398 {
18399 arg4 = &temp4;
18400 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18401 }
18402 }
18403 if (obj4) {
18404 arg5 = (long) SWIG_AsLong(obj4);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 if (obj5) {
18408 {
18409 arg6 = wxString_in_helper(obj5);
18410 if (arg6 == NULL) SWIG_fail;
18411 temp6 = True;
18412 }
18413 }
18414 {
18415 if (!wxPyCheckForApp()) SWIG_fail;
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 {
18423 resultobj = wxPyMake_wxObject(result);
18424 }
18425 {
18426 if (temp6)
18427 delete arg6;
18428 }
18429 return resultobj;
18430 fail:
18431 {
18432 if (temp6)
18433 delete arg6;
18434 }
18435 return NULL;
18436 }
18437
18438
18439 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18440 PyObject *resultobj;
18441 wxToolBar *result;
18442 char *kwnames[] = {
18443 NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18447 {
18448 if (!wxPyCheckForApp()) SWIG_fail;
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (wxToolBar *)new wxToolBar();
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 resultobj = wxPyMake_wxObject(result);
18457 }
18458 return resultobj;
18459 fail:
18460 return NULL;
18461 }
18462
18463
18464 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18465 PyObject *resultobj;
18466 wxToolBar *arg1 = (wxToolBar *) 0 ;
18467 wxWindow *arg2 = (wxWindow *) 0 ;
18468 int arg3 = (int) -1 ;
18469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18471 wxSize const &arg5_defvalue = wxDefaultSize ;
18472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18473 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18474 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18475 wxString *arg7 = (wxString *) &arg7_defvalue ;
18476 bool result;
18477 wxPoint temp4 ;
18478 wxSize temp5 ;
18479 bool temp7 = False ;
18480 PyObject * obj0 = 0 ;
18481 PyObject * obj1 = 0 ;
18482 PyObject * obj2 = 0 ;
18483 PyObject * obj3 = 0 ;
18484 PyObject * obj4 = 0 ;
18485 PyObject * obj5 = 0 ;
18486 PyObject * obj6 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18496 if (obj2) {
18497 arg3 = (int) SWIG_AsInt(obj2);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 if (obj3) {
18501 {
18502 arg4 = &temp4;
18503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18504 }
18505 }
18506 if (obj4) {
18507 {
18508 arg5 = &temp5;
18509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18510 }
18511 }
18512 if (obj5) {
18513 arg6 = (long) SWIG_AsLong(obj5);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 if (obj6) {
18517 {
18518 arg7 = wxString_in_helper(obj6);
18519 if (arg7 == NULL) SWIG_fail;
18520 temp7 = True;
18521 }
18522 }
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 {
18531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18532 }
18533 {
18534 if (temp7)
18535 delete arg7;
18536 }
18537 return resultobj;
18538 fail:
18539 {
18540 if (temp7)
18541 delete arg7;
18542 }
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxToolBar *arg1 = (wxToolBar *) 0 ;
18550 int arg2 ;
18551 int arg3 ;
18552 wxToolBarToolBase *result;
18553 PyObject * obj0 = 0 ;
18554 PyObject * obj1 = 0 ;
18555 PyObject * obj2 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "x",(char *) "y", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18563 arg2 = (int) SWIG_AsInt(obj1);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 arg3 = (int) SWIG_AsInt(obj2);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 {
18575 resultobj = wxPyMake_wxObject(result);
18576 }
18577 return resultobj;
18578 fail:
18579 return NULL;
18580 }
18581
18582
18583 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj;
18585 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18586 wxVisualAttributes result;
18587 PyObject * obj0 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "variant", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18593 if (obj0) {
18594 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 {
18605 wxVisualAttributes * resultptr;
18606 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18608 }
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18616 PyObject *obj;
18617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18618 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18619 Py_INCREF(obj);
18620 return Py_BuildValue((char *)"");
18621 }
18622 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18623 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18624 return 1;
18625 }
18626
18627
18628 static PyObject *_wrap_ListCtrlNameStr_get() {
18629 PyObject *pyobj;
18630
18631 {
18632 #if wxUSE_UNICODE
18633 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18634 #else
18635 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18636 #endif
18637 }
18638 return pyobj;
18639 }
18640
18641
18642 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxColour const &arg1_defvalue = wxNullColour ;
18645 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18646 wxColour const &arg2_defvalue = wxNullColour ;
18647 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18648 wxFont const &arg3_defvalue = wxNullFont ;
18649 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18650 wxListItemAttr *result;
18651 wxColour temp1 ;
18652 wxColour temp2 ;
18653 PyObject * obj0 = 0 ;
18654 PyObject * obj1 = 0 ;
18655 PyObject * obj2 = 0 ;
18656 char *kwnames[] = {
18657 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18658 };
18659
18660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18661 if (obj0) {
18662 {
18663 arg1 = &temp1;
18664 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18665 }
18666 }
18667 if (obj1) {
18668 {
18669 arg2 = &temp2;
18670 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18671 }
18672 }
18673 if (obj2) {
18674 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18675 SWIG_POINTER_EXCEPTION | 0)) == -1)
18676 SWIG_fail;
18677 if (arg3 == NULL) {
18678 PyErr_SetString(PyExc_TypeError,"null reference");
18679 SWIG_fail;
18680 }
18681 }
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18690 return resultobj;
18691 fail:
18692 return NULL;
18693 }
18694
18695
18696 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18699 wxColour *arg2 = 0 ;
18700 wxColour temp2 ;
18701 PyObject * obj0 = 0 ;
18702 PyObject * obj1 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "self",(char *) "colText", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18710 {
18711 arg2 = &temp2;
18712 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18713 }
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 (arg1)->SetTextColour((wxColour const &)*arg2);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 Py_INCREF(Py_None); resultobj = Py_None;
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18731 wxColour *arg2 = 0 ;
18732 wxColour temp2 ;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self",(char *) "colBack", NULL
18737 };
18738
18739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18742 {
18743 arg2 = &temp2;
18744 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18745 }
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 Py_INCREF(Py_None); resultobj = Py_None;
18754 return resultobj;
18755 fail:
18756 return NULL;
18757 }
18758
18759
18760 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18763 wxFont *arg2 = 0 ;
18764 PyObject * obj0 = 0 ;
18765 PyObject * obj1 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self",(char *) "font", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18774 SWIG_POINTER_EXCEPTION | 0)) == -1)
18775 SWIG_fail;
18776 if (arg2 == NULL) {
18777 PyErr_SetString(PyExc_TypeError,"null reference");
18778 SWIG_fail;
18779 }
18780 {
18781 PyThreadState* __tstate = wxPyBeginAllowThreads();
18782 (arg1)->SetFont((wxFont const &)*arg2);
18783
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 Py_INCREF(Py_None); resultobj = Py_None;
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj;
18796 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18797 bool result;
18798 PyObject * obj0 = 0 ;
18799 char *kwnames[] = {
18800 (char *) "self", NULL
18801 };
18802
18803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18806 {
18807 PyThreadState* __tstate = wxPyBeginAllowThreads();
18808 result = (bool)(arg1)->HasTextColour();
18809
18810 wxPyEndAllowThreads(__tstate);
18811 if (PyErr_Occurred()) SWIG_fail;
18812 }
18813 {
18814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18815 }
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18825 bool result;
18826 PyObject * obj0 = 0 ;
18827 char *kwnames[] = {
18828 (char *) "self", NULL
18829 };
18830
18831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (bool)(arg1)->HasBackgroundColour();
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 {
18842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18843 }
18844 return resultobj;
18845 fail:
18846 return NULL;
18847 }
18848
18849
18850 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18851 PyObject *resultobj;
18852 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18853 bool result;
18854 PyObject * obj0 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (bool)(arg1)->HasFont();
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18871 }
18872 return resultobj;
18873 fail:
18874 return NULL;
18875 }
18876
18877
18878 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18879 PyObject *resultobj;
18880 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18881 wxColour result;
18882 PyObject * obj0 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = (arg1)->GetTextColour();
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 {
18898 wxColour * resultptr;
18899 resultptr = new wxColour((wxColour &) result);
18900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18911 wxColour result;
18912 PyObject * obj0 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18920 {
18921 PyThreadState* __tstate = wxPyBeginAllowThreads();
18922 result = (arg1)->GetBackgroundColour();
18923
18924 wxPyEndAllowThreads(__tstate);
18925 if (PyErr_Occurred()) SWIG_fail;
18926 }
18927 {
18928 wxColour * resultptr;
18929 resultptr = new wxColour((wxColour &) result);
18930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18931 }
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18941 wxFont result;
18942 PyObject * obj0 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = (arg1)->GetFont();
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 {
18958 wxFont * resultptr;
18959 resultptr = new wxFont((wxFont &) result);
18960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18961 }
18962 return resultobj;
18963 fail:
18964 return NULL;
18965 }
18966
18967
18968 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj;
18970 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18971 PyObject * obj0 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self", NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 wxListItemAttr_Destroy(arg1);
18982
18983 wxPyEndAllowThreads(__tstate);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 }
18986 Py_INCREF(Py_None); resultobj = Py_None;
18987 return resultobj;
18988 fail:
18989 return NULL;
18990 }
18991
18992
18993 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18994 PyObject *obj;
18995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18996 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18997 Py_INCREF(obj);
18998 return Py_BuildValue((char *)"");
18999 }
19000 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19001 PyObject *resultobj;
19002 wxListItem *result;
19003 char *kwnames[] = {
19004 NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (wxListItem *)new wxListItem();
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 resultobj = wxPyMake_wxObject(result);
19017 }
19018 return resultobj;
19019 fail:
19020 return NULL;
19021 }
19022
19023
19024 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxListItem *arg1 = (wxListItem *) 0 ;
19027 PyObject * obj0 = 0 ;
19028 char *kwnames[] = {
19029 (char *) "self", NULL
19030 };
19031
19032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 delete arg1;
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 Py_INCREF(Py_None); resultobj = Py_None;
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxListItem *arg1 = (wxListItem *) 0 ;
19052 PyObject * obj0 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->Clear();
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxListItem *arg1 = (wxListItem *) 0 ;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 (arg1)->ClearAttributes();
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 Py_INCREF(Py_None); resultobj = Py_None;
19093 return resultobj;
19094 fail:
19095 return NULL;
19096 }
19097
19098
19099 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxListItem *arg1 = (wxListItem *) 0 ;
19102 long arg2 ;
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "mask", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19112 arg2 = (long) SWIG_AsLong(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 (arg1)->SetMask(arg2);
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 Py_INCREF(Py_None); resultobj = Py_None;
19122 return resultobj;
19123 fail:
19124 return NULL;
19125 }
19126
19127
19128 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj;
19130 wxListItem *arg1 = (wxListItem *) 0 ;
19131 long arg2 ;
19132 PyObject * obj0 = 0 ;
19133 PyObject * obj1 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "id", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19141 arg2 = (long) SWIG_AsLong(obj1);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->SetId(arg2);
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxListItem *arg1 = (wxListItem *) 0 ;
19160 int arg2 ;
19161 PyObject * obj0 = 0 ;
19162 PyObject * obj1 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self",(char *) "col", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19170 arg2 = (int) SWIG_AsInt(obj1);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 (arg1)->SetColumn(arg2);
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 Py_INCREF(Py_None); resultobj = Py_None;
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxListItem *arg1 = (wxListItem *) 0 ;
19189 long arg2 ;
19190 PyObject * obj0 = 0 ;
19191 PyObject * obj1 = 0 ;
19192 char *kwnames[] = {
19193 (char *) "self",(char *) "state", NULL
19194 };
19195
19196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19199 arg2 = (long) SWIG_AsLong(obj1);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->SetState(arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxListItem *arg1 = (wxListItem *) 0 ;
19218 long arg2 ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self",(char *) "stateMask", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 arg2 = (long) SWIG_AsLong(obj1);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 (arg1)->SetStateMask(arg2);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 Py_INCREF(Py_None); resultobj = Py_None;
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxListItem *arg1 = (wxListItem *) 0 ;
19247 wxString *arg2 = 0 ;
19248 bool temp2 = False ;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self",(char *) "text", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19258 {
19259 arg2 = wxString_in_helper(obj1);
19260 if (arg2 == NULL) SWIG_fail;
19261 temp2 = True;
19262 }
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 (arg1)->SetText((wxString const &)*arg2);
19266
19267 wxPyEndAllowThreads(__tstate);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 Py_INCREF(Py_None); resultobj = Py_None;
19271 {
19272 if (temp2)
19273 delete arg2;
19274 }
19275 return resultobj;
19276 fail:
19277 {
19278 if (temp2)
19279 delete arg2;
19280 }
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxListItem *arg1 = (wxListItem *) 0 ;
19288 int arg2 ;
19289 PyObject * obj0 = 0 ;
19290 PyObject * obj1 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self",(char *) "image", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19298 arg2 = (int) SWIG_AsInt(obj1);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->SetImage(arg2);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxListItem *arg1 = (wxListItem *) 0 ;
19317 long arg2 ;
19318 PyObject * obj0 = 0 ;
19319 PyObject * obj1 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self",(char *) "data", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 arg2 = (long) SWIG_AsLong(obj1);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 (arg1)->SetData(arg2);
19332
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 Py_INCREF(Py_None); resultobj = Py_None;
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxListItem *arg1 = (wxListItem *) 0 ;
19346 int arg2 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "width", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19356 arg2 = (int) SWIG_AsInt(obj1);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 (arg1)->SetWidth(arg2);
19361
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 Py_INCREF(Py_None); resultobj = Py_None;
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxListItem *arg1 = (wxListItem *) 0 ;
19375 int arg2 ;
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "align", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19385 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 (arg1)->SetAlign((wxListColumnFormat )arg2);
19390
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 Py_INCREF(Py_None); resultobj = Py_None;
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListItem *arg1 = (wxListItem *) 0 ;
19404 wxColour *arg2 = 0 ;
19405 wxColour temp2 ;
19406 PyObject * obj0 = 0 ;
19407 PyObject * obj1 = 0 ;
19408 char *kwnames[] = {
19409 (char *) "self",(char *) "colText", NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19415 {
19416 arg2 = &temp2;
19417 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19418 }
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->SetTextColour((wxColour const &)*arg2);
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 Py_INCREF(Py_None); resultobj = Py_None;
19427 return resultobj;
19428 fail:
19429 return NULL;
19430 }
19431
19432
19433 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxListItem *arg1 = (wxListItem *) 0 ;
19436 wxColour *arg2 = 0 ;
19437 wxColour temp2 ;
19438 PyObject * obj0 = 0 ;
19439 PyObject * obj1 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self",(char *) "colBack", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19447 {
19448 arg2 = &temp2;
19449 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19450 }
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 Py_INCREF(Py_None); resultobj = Py_None;
19459 return resultobj;
19460 fail:
19461 return NULL;
19462 }
19463
19464
19465 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj;
19467 wxListItem *arg1 = (wxListItem *) 0 ;
19468 wxFont *arg2 = 0 ;
19469 PyObject * obj0 = 0 ;
19470 PyObject * obj1 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self",(char *) "font", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19479 SWIG_POINTER_EXCEPTION | 0)) == -1)
19480 SWIG_fail;
19481 if (arg2 == NULL) {
19482 PyErr_SetString(PyExc_TypeError,"null reference");
19483 SWIG_fail;
19484 }
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 (arg1)->SetFont((wxFont const &)*arg2);
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 Py_INCREF(Py_None); resultobj = Py_None;
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxListItem *arg1 = (wxListItem *) 0 ;
19502 long result;
19503 PyObject * obj0 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 result = (long)(arg1)->GetMask();
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 resultobj = SWIG_FromLong((long)result);
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxListItem *arg1 = (wxListItem *) 0 ;
19528 long result;
19529 PyObject * obj0 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 result = (long)(arg1)->GetId();
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 resultobj = SWIG_FromLong((long)result);
19545 return resultobj;
19546 fail:
19547 return NULL;
19548 }
19549
19550
19551 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj;
19553 wxListItem *arg1 = (wxListItem *) 0 ;
19554 int result;
19555 PyObject * obj0 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19563 {
19564 PyThreadState* __tstate = wxPyBeginAllowThreads();
19565 result = (int)(arg1)->GetColumn();
19566
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 resultobj = SWIG_FromInt((int)result);
19571 return resultobj;
19572 fail:
19573 return NULL;
19574 }
19575
19576
19577 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19578 PyObject *resultobj;
19579 wxListItem *arg1 = (wxListItem *) 0 ;
19580 long result;
19581 PyObject * obj0 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (long)(arg1)->GetState();
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 resultobj = SWIG_FromLong((long)result);
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxListItem *arg1 = (wxListItem *) 0 ;
19606 wxString *result;
19607 PyObject * obj0 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 {
19618 wxString const &_result_ref = (arg1)->GetText();
19619 result = (wxString *) &_result_ref;
19620 }
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 {
19626 #if wxUSE_UNICODE
19627 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19628 #else
19629 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19630 #endif
19631 }
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxListItem *arg1 = (wxListItem *) 0 ;
19641 int result;
19642 PyObject * obj0 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (int)(arg1)->GetImage();
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = SWIG_FromInt((int)result);
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxListItem *arg1 = (wxListItem *) 0 ;
19667 long result;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (long)(arg1)->GetData();
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 resultobj = SWIG_FromLong((long)result);
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxListItem *arg1 = (wxListItem *) 0 ;
19693 int result;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (int)(arg1)->GetWidth();
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 resultobj = SWIG_FromInt((int)result);
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxListItem *arg1 = (wxListItem *) 0 ;
19719 int result;
19720 PyObject * obj0 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 result = (int)(arg1)->GetAlign();
19731
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_FromInt((int)result);
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19743 PyObject *resultobj;
19744 wxListItem *arg1 = (wxListItem *) 0 ;
19745 wxListItemAttr *result;
19746 PyObject * obj0 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 result = (wxListItemAttr *)(arg1)->GetAttributes();
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxListItem *arg1 = (wxListItem *) 0 ;
19771 bool result;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (bool)(arg1)->HasAttributes();
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxListItem *arg1 = (wxListItem *) 0 ;
19799 wxColour result;
19800 PyObject * obj0 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = ((wxListItem const *)arg1)->GetTextColour();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 {
19816 wxColour * resultptr;
19817 resultptr = new wxColour((wxColour &) result);
19818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19819 }
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxListItem *arg1 = (wxListItem *) 0 ;
19829 wxColour result;
19830 PyObject * obj0 = 0 ;
19831 char *kwnames[] = {
19832 (char *) "self", NULL
19833 };
19834
19835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 {
19846 wxColour * resultptr;
19847 resultptr = new wxColour((wxColour &) result);
19848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19849 }
19850 return resultobj;
19851 fail:
19852 return NULL;
19853 }
19854
19855
19856 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxListItem *arg1 = (wxListItem *) 0 ;
19859 wxFont result;
19860 PyObject * obj0 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = ((wxListItem const *)arg1)->GetFont();
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 {
19876 wxFont * resultptr;
19877 resultptr = new wxFont((wxFont &) result);
19878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19879 }
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxListItem *arg1 = (wxListItem *) 0 ;
19889 long arg2 ;
19890 PyObject * obj0 = 0 ;
19891 PyObject * obj1 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self",(char *) "m_mask", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19899 arg2 = (long) SWIG_AsLong(obj1);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 if (arg1) (arg1)->m_mask = arg2;
19902
19903 Py_INCREF(Py_None); resultobj = Py_None;
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxListItem *arg1 = (wxListItem *) 0 ;
19913 long result;
19914 PyObject * obj0 = 0 ;
19915 char *kwnames[] = {
19916 (char *) "self", NULL
19917 };
19918
19919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19922 result = (long) ((arg1)->m_mask);
19923
19924 resultobj = SWIG_FromLong((long)result);
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxListItem *arg1 = (wxListItem *) 0 ;
19934 long arg2 ;
19935 PyObject * obj0 = 0 ;
19936 PyObject * obj1 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self",(char *) "m_itemId", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19944 arg2 = (long) SWIG_AsLong(obj1);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 if (arg1) (arg1)->m_itemId = arg2;
19947
19948 Py_INCREF(Py_None); resultobj = Py_None;
19949 return resultobj;
19950 fail:
19951 return NULL;
19952 }
19953
19954
19955 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxListItem *arg1 = (wxListItem *) 0 ;
19958 long result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19967 result = (long) ((arg1)->m_itemId);
19968
19969 resultobj = SWIG_FromLong((long)result);
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxListItem *arg1 = (wxListItem *) 0 ;
19979 int arg2 ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "m_col", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 arg2 = (int) SWIG_AsInt(obj1);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 if (arg1) (arg1)->m_col = arg2;
19992
19993 Py_INCREF(Py_None); resultobj = Py_None;
19994 return resultobj;
19995 fail:
19996 return NULL;
19997 }
19998
19999
20000 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20001 PyObject *resultobj;
20002 wxListItem *arg1 = (wxListItem *) 0 ;
20003 int result;
20004 PyObject * obj0 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 result = (int) ((arg1)->m_col);
20013
20014 resultobj = SWIG_FromInt((int)result);
20015 return resultobj;
20016 fail:
20017 return NULL;
20018 }
20019
20020
20021 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxListItem *arg1 = (wxListItem *) 0 ;
20024 long arg2 ;
20025 PyObject * obj0 = 0 ;
20026 PyObject * obj1 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self",(char *) "m_state", NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20034 arg2 = (long) SWIG_AsLong(obj1);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 if (arg1) (arg1)->m_state = arg2;
20037
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxListItem *arg1 = (wxListItem *) 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:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20057 result = (long) ((arg1)->m_state);
20058
20059 resultobj = SWIG_FromLong((long)result);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxListItem *arg1 = (wxListItem *) 0 ;
20069 long arg2 ;
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "m_stateMask", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20079 arg2 = (long) SWIG_AsLong(obj1);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 if (arg1) (arg1)->m_stateMask = arg2;
20082
20083 Py_INCREF(Py_None); resultobj = Py_None;
20084 return resultobj;
20085 fail:
20086 return NULL;
20087 }
20088
20089
20090 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxListItem *arg1 = (wxListItem *) 0 ;
20093 long result;
20094 PyObject * obj0 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20102 result = (long) ((arg1)->m_stateMask);
20103
20104 resultobj = SWIG_FromLong((long)result);
20105 return resultobj;
20106 fail:
20107 return NULL;
20108 }
20109
20110
20111 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj;
20113 wxListItem *arg1 = (wxListItem *) 0 ;
20114 wxString *arg2 = (wxString *) 0 ;
20115 bool temp2 = False ;
20116 PyObject * obj0 = 0 ;
20117 PyObject * obj1 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self",(char *) "m_text", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20125 {
20126 arg2 = wxString_in_helper(obj1);
20127 if (arg2 == NULL) SWIG_fail;
20128 temp2 = True;
20129 }
20130 if (arg1) (arg1)->m_text = *arg2;
20131
20132 Py_INCREF(Py_None); resultobj = Py_None;
20133 {
20134 if (temp2)
20135 delete arg2;
20136 }
20137 return resultobj;
20138 fail:
20139 {
20140 if (temp2)
20141 delete arg2;
20142 }
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxListItem *arg1 = (wxListItem *) 0 ;
20150 wxString *result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20159 result = (wxString *)& ((arg1)->m_text);
20160
20161 {
20162 #if wxUSE_UNICODE
20163 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20164 #else
20165 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20166 #endif
20167 }
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxListItem *arg1 = (wxListItem *) 0 ;
20177 int arg2 ;
20178 PyObject * obj0 = 0 ;
20179 PyObject * obj1 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "m_image", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20187 arg2 = (int) SWIG_AsInt(obj1);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 if (arg1) (arg1)->m_image = arg2;
20190
20191 Py_INCREF(Py_None); resultobj = Py_None;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxListItem *arg1 = (wxListItem *) 0 ;
20201 int result;
20202 PyObject * obj0 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20210 result = (int) ((arg1)->m_image);
20211
20212 resultobj = SWIG_FromInt((int)result);
20213 return resultobj;
20214 fail:
20215 return NULL;
20216 }
20217
20218
20219 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20220 PyObject *resultobj;
20221 wxListItem *arg1 = (wxListItem *) 0 ;
20222 long arg2 ;
20223 PyObject * obj0 = 0 ;
20224 PyObject * obj1 = 0 ;
20225 char *kwnames[] = {
20226 (char *) "self",(char *) "m_data", NULL
20227 };
20228
20229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20232 arg2 = (long) SWIG_AsLong(obj1);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 if (arg1) (arg1)->m_data = arg2;
20235
20236 Py_INCREF(Py_None); resultobj = Py_None;
20237 return resultobj;
20238 fail:
20239 return NULL;
20240 }
20241
20242
20243 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxListItem *arg1 = (wxListItem *) 0 ;
20246 long result;
20247 PyObject * obj0 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20255 result = (long) ((arg1)->m_data);
20256
20257 resultobj = SWIG_FromLong((long)result);
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxListItem *arg1 = (wxListItem *) 0 ;
20267 int arg2 ;
20268 PyObject * obj0 = 0 ;
20269 PyObject * obj1 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self",(char *) "m_format", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20277 arg2 = (int) SWIG_AsInt(obj1);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 if (arg1) (arg1)->m_format = arg2;
20280
20281 Py_INCREF(Py_None); resultobj = Py_None;
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxListItem *arg1 = (wxListItem *) 0 ;
20291 int result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20300 result = (int) ((arg1)->m_format);
20301
20302 resultobj = SWIG_FromInt((int)result);
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj;
20311 wxListItem *arg1 = (wxListItem *) 0 ;
20312 int arg2 ;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self",(char *) "m_width", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20322 arg2 = (int) SWIG_AsInt(obj1);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 if (arg1) (arg1)->m_width = arg2;
20325
20326 Py_INCREF(Py_None); resultobj = Py_None;
20327 return resultobj;
20328 fail:
20329 return NULL;
20330 }
20331
20332
20333 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj;
20335 wxListItem *arg1 = (wxListItem *) 0 ;
20336 int result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20345 result = (int) ((arg1)->m_width);
20346
20347 resultobj = SWIG_FromInt((int)result);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20355 PyObject *obj;
20356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20357 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20358 Py_INCREF(obj);
20359 return Py_BuildValue((char *)"");
20360 }
20361 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj;
20363 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20364 int arg2 = (int) 0 ;
20365 wxListEvent *result;
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "commandType",(char *) "id", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20373 if (obj0) {
20374 arg1 = (wxEventType) SWIG_AsInt(obj0);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 if (obj1) {
20378 arg2 = (int) SWIG_AsInt(obj1);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20384
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20389 return resultobj;
20390 fail:
20391 return NULL;
20392 }
20393
20394
20395 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxListEvent *arg1 = (wxListEvent *) 0 ;
20398 int arg2 ;
20399 PyObject * obj0 = 0 ;
20400 PyObject * obj1 = 0 ;
20401 char *kwnames[] = {
20402 (char *) "self",(char *) "m_code", NULL
20403 };
20404
20405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20408 arg2 = (int) SWIG_AsInt(obj1);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 if (arg1) (arg1)->m_code = arg2;
20411
20412 Py_INCREF(Py_None); resultobj = Py_None;
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxListEvent *arg1 = (wxListEvent *) 0 ;
20422 int result;
20423 PyObject * obj0 = 0 ;
20424 char *kwnames[] = {
20425 (char *) "self", NULL
20426 };
20427
20428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20431 result = (int) ((arg1)->m_code);
20432
20433 resultobj = SWIG_FromInt((int)result);
20434 return resultobj;
20435 fail:
20436 return NULL;
20437 }
20438
20439
20440 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxListEvent *arg1 = (wxListEvent *) 0 ;
20443 long arg2 ;
20444 PyObject * obj0 = 0 ;
20445 PyObject * obj1 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self",(char *) "m_oldItemIndex", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20453 arg2 = (long) SWIG_AsLong(obj1);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 if (arg1) (arg1)->m_oldItemIndex = arg2;
20456
20457 Py_INCREF(Py_None); resultobj = Py_None;
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 wxListEvent *arg1 = (wxListEvent *) 0 ;
20467 long result;
20468 PyObject * obj0 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "self", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20476 result = (long) ((arg1)->m_oldItemIndex);
20477
20478 resultobj = SWIG_FromLong((long)result);
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxListEvent *arg1 = (wxListEvent *) 0 ;
20488 long arg2 ;
20489 PyObject * obj0 = 0 ;
20490 PyObject * obj1 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self",(char *) "m_itemIndex", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20498 arg2 = (long) SWIG_AsLong(obj1);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 if (arg1) (arg1)->m_itemIndex = arg2;
20501
20502 Py_INCREF(Py_None); resultobj = Py_None;
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj;
20511 wxListEvent *arg1 = (wxListEvent *) 0 ;
20512 long result;
20513 PyObject * obj0 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20521 result = (long) ((arg1)->m_itemIndex);
20522
20523 resultobj = SWIG_FromLong((long)result);
20524 return resultobj;
20525 fail:
20526 return NULL;
20527 }
20528
20529
20530 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20531 PyObject *resultobj;
20532 wxListEvent *arg1 = (wxListEvent *) 0 ;
20533 int arg2 ;
20534 PyObject * obj0 = 0 ;
20535 PyObject * obj1 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self",(char *) "m_col", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20543 arg2 = (int) SWIG_AsInt(obj1);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 if (arg1) (arg1)->m_col = arg2;
20546
20547 Py_INCREF(Py_None); resultobj = Py_None;
20548 return resultobj;
20549 fail:
20550 return NULL;
20551 }
20552
20553
20554 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20555 PyObject *resultobj;
20556 wxListEvent *arg1 = (wxListEvent *) 0 ;
20557 int result;
20558 PyObject * obj0 = 0 ;
20559 char *kwnames[] = {
20560 (char *) "self", NULL
20561 };
20562
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20566 result = (int) ((arg1)->m_col);
20567
20568 resultobj = SWIG_FromInt((int)result);
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxListEvent *arg1 = (wxListEvent *) 0 ;
20578 wxPoint *arg2 = (wxPoint *) 0 ;
20579 PyObject * obj0 = 0 ;
20580 PyObject * obj1 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "m_pointDrag", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20590 if (arg1) (arg1)->m_pointDrag = *arg2;
20591
20592 Py_INCREF(Py_None); resultobj = Py_None;
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 wxListEvent *arg1 = (wxListEvent *) 0 ;
20602 wxPoint *result;
20603 PyObject * obj0 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20611 result = (wxPoint *)& ((arg1)->m_pointDrag);
20612
20613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20614 return resultobj;
20615 fail:
20616 return NULL;
20617 }
20618
20619
20620 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20621 PyObject *resultobj;
20622 wxListEvent *arg1 = (wxListEvent *) 0 ;
20623 wxListItem *result;
20624 PyObject * obj0 = 0 ;
20625 char *kwnames[] = {
20626 (char *) "self", NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20632 result = (wxListItem *)& ((arg1)->m_item);
20633
20634 {
20635 resultobj = wxPyMake_wxObject(result);
20636 }
20637 return resultobj;
20638 fail:
20639 return NULL;
20640 }
20641
20642
20643 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20644 PyObject *resultobj;
20645 wxListEvent *arg1 = (wxListEvent *) 0 ;
20646 int result;
20647 PyObject * obj0 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (int)(arg1)->GetKeyCode();
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 resultobj = SWIG_FromInt((int)result);
20663 return resultobj;
20664 fail:
20665 return NULL;
20666 }
20667
20668
20669 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxListEvent *arg1 = (wxListEvent *) 0 ;
20672 long result;
20673 PyObject * obj0 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 result = (long)(arg1)->GetIndex();
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 resultobj = SWIG_FromLong((long)result);
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20696 PyObject *resultobj;
20697 wxListEvent *arg1 = (wxListEvent *) 0 ;
20698 int result;
20699 PyObject * obj0 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 result = (int)(arg1)->GetColumn();
20710
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 resultobj = SWIG_FromInt((int)result);
20715 return resultobj;
20716 fail:
20717 return NULL;
20718 }
20719
20720
20721 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20722 PyObject *resultobj;
20723 wxListEvent *arg1 = (wxListEvent *) 0 ;
20724 wxPoint result;
20725 PyObject * obj0 = 0 ;
20726 char *kwnames[] = {
20727 (char *) "self", NULL
20728 };
20729
20730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 result = (arg1)->GetPoint();
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 {
20741 wxPoint * resultptr;
20742 resultptr = new wxPoint((wxPoint &) result);
20743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20744 }
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxListEvent *arg1 = (wxListEvent *) 0 ;
20754 wxString *result;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 {
20766 wxString const &_result_ref = (arg1)->GetLabel();
20767 result = (wxString *) &_result_ref;
20768 }
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 {
20774 #if wxUSE_UNICODE
20775 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20776 #else
20777 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20778 #endif
20779 }
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxListEvent *arg1 = (wxListEvent *) 0 ;
20789 wxString *result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 {
20801 wxString const &_result_ref = (arg1)->GetText();
20802 result = (wxString *) &_result_ref;
20803 }
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 {
20809 #if wxUSE_UNICODE
20810 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20811 #else
20812 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20813 #endif
20814 }
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxListEvent *arg1 = (wxListEvent *) 0 ;
20824 int result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (int)(arg1)->GetImage();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_FromInt((int)result);
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxListEvent *arg1 = (wxListEvent *) 0 ;
20850 long result;
20851 PyObject * obj0 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 result = (long)(arg1)->GetData();
20862
20863 wxPyEndAllowThreads(__tstate);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 resultobj = SWIG_FromLong((long)result);
20867 return resultobj;
20868 fail:
20869 return NULL;
20870 }
20871
20872
20873 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20874 PyObject *resultobj;
20875 wxListEvent *arg1 = (wxListEvent *) 0 ;
20876 long result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (long)(arg1)->GetMask();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = SWIG_FromLong((long)result);
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxListEvent *arg1 = (wxListEvent *) 0 ;
20902 wxListItem *result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 {
20914 wxListItem const &_result_ref = (arg1)->GetItem();
20915 result = (wxListItem *) &_result_ref;
20916 }
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20922 return resultobj;
20923 fail:
20924 return NULL;
20925 }
20926
20927
20928 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxListEvent *arg1 = (wxListEvent *) 0 ;
20931 long result;
20932 PyObject * obj0 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = (long)(arg1)->GetCacheFrom();
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 resultobj = SWIG_FromLong((long)result);
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxListEvent *arg1 = (wxListEvent *) 0 ;
20957 long result;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = (long)(arg1)->GetCacheTo();
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 resultobj = SWIG_FromLong((long)result);
20974 return resultobj;
20975 fail:
20976 return NULL;
20977 }
20978
20979
20980 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20981 PyObject *resultobj;
20982 wxListEvent *arg1 = (wxListEvent *) 0 ;
20983 bool result;
20984 PyObject * obj0 = 0 ;
20985 char *kwnames[] = {
20986 (char *) "self", NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 {
21000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21001 }
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 wxListEvent *arg1 = (wxListEvent *) 0 ;
21011 bool arg2 ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "editCancelled", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21021 arg2 = (bool) SWIG_AsBool(obj1);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 (arg1)->SetEditCanceled(arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 Py_INCREF(Py_None); resultobj = Py_None;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034 }
21035
21036
21037 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21038 PyObject *obj;
21039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21040 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21041 Py_INCREF(obj);
21042 return Py_BuildValue((char *)"");
21043 }
21044 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21045 PyObject *resultobj;
21046 wxWindow *arg1 = (wxWindow *) 0 ;
21047 int arg2 = (int) -1 ;
21048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21050 wxSize const &arg4_defvalue = wxDefaultSize ;
21051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21052 long arg5 = (long) wxLC_ICON ;
21053 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21054 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21055 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21056 wxString *arg7 = (wxString *) &arg7_defvalue ;
21057 wxPyListCtrl *result;
21058 wxPoint temp3 ;
21059 wxSize temp4 ;
21060 bool temp7 = False ;
21061 PyObject * obj0 = 0 ;
21062 PyObject * obj1 = 0 ;
21063 PyObject * obj2 = 0 ;
21064 PyObject * obj3 = 0 ;
21065 PyObject * obj4 = 0 ;
21066 PyObject * obj5 = 0 ;
21067 PyObject * obj6 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21075 if (obj1) {
21076 arg2 = (int) SWIG_AsInt(obj1);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 if (obj2) {
21080 {
21081 arg3 = &temp3;
21082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21083 }
21084 }
21085 if (obj3) {
21086 {
21087 arg4 = &temp4;
21088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21089 }
21090 }
21091 if (obj4) {
21092 arg5 = (long) SWIG_AsLong(obj4);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 if (obj5) {
21096 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21097 SWIG_POINTER_EXCEPTION | 0)) == -1)
21098 SWIG_fail;
21099 if (arg6 == NULL) {
21100 PyErr_SetString(PyExc_TypeError,"null reference");
21101 SWIG_fail;
21102 }
21103 }
21104 if (obj6) {
21105 {
21106 arg7 = wxString_in_helper(obj6);
21107 if (arg7 == NULL) SWIG_fail;
21108 temp7 = True;
21109 }
21110 }
21111 {
21112 if (!wxPyCheckForApp()) SWIG_fail;
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21120 {
21121 if (temp7)
21122 delete arg7;
21123 }
21124 return resultobj;
21125 fail:
21126 {
21127 if (temp7)
21128 delete arg7;
21129 }
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPyListCtrl *result;
21137 char *kwnames[] = {
21138 NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21142 {
21143 if (!wxPyCheckForApp()) SWIG_fail;
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 result = (wxPyListCtrl *)new wxPyListCtrl();
21146
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21151 return resultobj;
21152 fail:
21153 return NULL;
21154 }
21155
21156
21157 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21158 PyObject *resultobj;
21159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21160 wxWindow *arg2 = (wxWindow *) 0 ;
21161 int arg3 = (int) -1 ;
21162 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21163 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21164 wxSize const &arg5_defvalue = wxDefaultSize ;
21165 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21166 long arg6 = (long) wxLC_ICON ;
21167 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21168 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21169 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21170 wxString *arg8 = (wxString *) &arg8_defvalue ;
21171 bool result;
21172 wxPoint temp4 ;
21173 wxSize temp5 ;
21174 bool temp8 = False ;
21175 PyObject * obj0 = 0 ;
21176 PyObject * obj1 = 0 ;
21177 PyObject * obj2 = 0 ;
21178 PyObject * obj3 = 0 ;
21179 PyObject * obj4 = 0 ;
21180 PyObject * obj5 = 0 ;
21181 PyObject * obj6 = 0 ;
21182 PyObject * obj7 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21192 if (obj2) {
21193 arg3 = (int) SWIG_AsInt(obj2);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 if (obj3) {
21197 {
21198 arg4 = &temp4;
21199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21200 }
21201 }
21202 if (obj4) {
21203 {
21204 arg5 = &temp5;
21205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21206 }
21207 }
21208 if (obj5) {
21209 arg6 = (long) SWIG_AsLong(obj5);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 if (obj6) {
21213 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21214 SWIG_POINTER_EXCEPTION | 0)) == -1)
21215 SWIG_fail;
21216 if (arg7 == NULL) {
21217 PyErr_SetString(PyExc_TypeError,"null reference");
21218 SWIG_fail;
21219 }
21220 }
21221 if (obj7) {
21222 {
21223 arg8 = wxString_in_helper(obj7);
21224 if (arg8 == NULL) SWIG_fail;
21225 temp8 = True;
21226 }
21227 }
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21237 }
21238 {
21239 if (temp8)
21240 delete arg8;
21241 }
21242 return resultobj;
21243 fail:
21244 {
21245 if (temp8)
21246 delete arg8;
21247 }
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21255 PyObject *arg2 = (PyObject *) 0 ;
21256 PyObject *arg3 = (PyObject *) 0 ;
21257 PyObject * obj0 = 0 ;
21258 PyObject * obj1 = 0 ;
21259 PyObject * obj2 = 0 ;
21260 char *kwnames[] = {
21261 (char *) "self",(char *) "self",(char *) "_class", NULL
21262 };
21263
21264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21267 arg2 = obj1;
21268 arg3 = obj2;
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 (arg1)->_setCallbackInfo(arg2,arg3);
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 Py_INCREF(Py_None); resultobj = Py_None;
21277 return resultobj;
21278 fail:
21279 return NULL;
21280 }
21281
21282
21283 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21286 wxColour *arg2 = 0 ;
21287 bool result;
21288 wxColour temp2 ;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self",(char *) "col", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 {
21299 arg2 = &temp2;
21300 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21301 }
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21305
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 {
21310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21311 }
21312 return resultobj;
21313 fail:
21314 return NULL;
21315 }
21316
21317
21318 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj;
21320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21321 wxColour *arg2 = 0 ;
21322 bool result;
21323 wxColour temp2 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "self",(char *) "col", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21333 {
21334 arg2 = &temp2;
21335 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21336 }
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
21345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21346 }
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj;
21355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21356 int arg2 ;
21357 wxListItem *result;
21358 PyObject * obj0 = 0 ;
21359 PyObject * obj1 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self",(char *) "col", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21367 arg2 = (int) SWIG_AsInt(obj1);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 {
21377 resultobj = wxPyMake_wxObject(result);
21378 }
21379 return resultobj;
21380 fail:
21381 return NULL;
21382 }
21383
21384
21385 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21386 PyObject *resultobj;
21387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21388 int arg2 ;
21389 wxListItem *arg3 = 0 ;
21390 bool result;
21391 PyObject * obj0 = 0 ;
21392 PyObject * obj1 = 0 ;
21393 PyObject * obj2 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self",(char *) "col",(char *) "item", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21401 arg2 = (int) SWIG_AsInt(obj1);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21404 SWIG_POINTER_EXCEPTION | 0)) == -1)
21405 SWIG_fail;
21406 if (arg3 == NULL) {
21407 PyErr_SetString(PyExc_TypeError,"null reference");
21408 SWIG_fail;
21409 }
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 {
21418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21419 }
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21429 int arg2 ;
21430 int result;
21431 PyObject * obj0 = 0 ;
21432 PyObject * obj1 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "self",(char *) "col", NULL
21435 };
21436
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21440 arg2 = (int) SWIG_AsInt(obj1);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 resultobj = SWIG_FromInt((int)result);
21450 return resultobj;
21451 fail:
21452 return NULL;
21453 }
21454
21455
21456 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21459 int arg2 ;
21460 int arg3 ;
21461 bool result;
21462 PyObject * obj0 = 0 ;
21463 PyObject * obj1 = 0 ;
21464 PyObject * obj2 = 0 ;
21465 char *kwnames[] = {
21466 (char *) "self",(char *) "col",(char *) "width", NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21472 arg2 = (int) SWIG_AsInt(obj1);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 arg3 = (int) SWIG_AsInt(obj2);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 {
21484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21485 }
21486 return resultobj;
21487 fail:
21488 return NULL;
21489 }
21490
21491
21492 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj;
21494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21495 int result;
21496 PyObject * obj0 = 0 ;
21497 char *kwnames[] = {
21498 (char *) "self", NULL
21499 };
21500
21501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = SWIG_FromInt((int)result);
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21521 wxRect result;
21522 PyObject * obj0 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 {
21538 wxRect * resultptr;
21539 resultptr = new wxRect((wxRect &) result);
21540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21541 }
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21551 long arg2 ;
21552 int arg3 = (int) 0 ;
21553 wxListItem *result;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 PyObject * obj2 = 0 ;
21557 char *kwnames[] = {
21558 (char *) "self",(char *) "itemId",(char *) "col", NULL
21559 };
21560
21561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21564 arg2 = (long) SWIG_AsLong(obj1);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 if (obj2) {
21567 arg3 = (int) SWIG_AsInt(obj2);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 {
21578 resultobj = wxPyMake_wxObject(result);
21579 }
21580 return resultobj;
21581 fail:
21582 return NULL;
21583 }
21584
21585
21586 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21587 PyObject *resultobj;
21588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21589 wxListItem *arg2 = 0 ;
21590 bool result;
21591 PyObject * obj0 = 0 ;
21592 PyObject * obj1 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self",(char *) "info", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21601 SWIG_POINTER_EXCEPTION | 0)) == -1)
21602 SWIG_fail;
21603 if (arg2 == NULL) {
21604 PyErr_SetString(PyExc_TypeError,"null reference");
21605 SWIG_fail;
21606 }
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (bool)(arg1)->SetItem(*arg2);
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 {
21615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21616 }
21617 return resultobj;
21618 fail:
21619 return NULL;
21620 }
21621
21622
21623 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21626 long arg2 ;
21627 int arg3 ;
21628 wxString *arg4 = 0 ;
21629 int arg5 = (int) -1 ;
21630 long result;
21631 bool temp4 = False ;
21632 PyObject * obj0 = 0 ;
21633 PyObject * obj1 = 0 ;
21634 PyObject * obj2 = 0 ;
21635 PyObject * obj3 = 0 ;
21636 PyObject * obj4 = 0 ;
21637 char *kwnames[] = {
21638 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21639 };
21640
21641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21644 arg2 = (long) SWIG_AsLong(obj1);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 arg3 = (int) SWIG_AsInt(obj2);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 {
21649 arg4 = wxString_in_helper(obj3);
21650 if (arg4 == NULL) SWIG_fail;
21651 temp4 = True;
21652 }
21653 if (obj4) {
21654 arg5 = (int) SWIG_AsInt(obj4);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 resultobj = SWIG_FromLong((long)result);
21665 {
21666 if (temp4)
21667 delete arg4;
21668 }
21669 return resultobj;
21670 fail:
21671 {
21672 if (temp4)
21673 delete arg4;
21674 }
21675 return NULL;
21676 }
21677
21678
21679 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj;
21681 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21682 long arg2 ;
21683 long arg3 ;
21684 int result;
21685 PyObject * obj0 = 0 ;
21686 PyObject * obj1 = 0 ;
21687 PyObject * obj2 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21695 arg2 = (long) SWIG_AsLong(obj1);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 arg3 = (long) SWIG_AsLong(obj2);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_FromInt((int)result);
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21716 long arg2 ;
21717 long arg3 ;
21718 long arg4 ;
21719 bool result;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 PyObject * obj2 = 0 ;
21723 PyObject * obj3 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21731 arg2 = (long) SWIG_AsLong(obj1);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 arg3 = (long) SWIG_AsLong(obj2);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 arg4 = (long) SWIG_AsLong(obj3);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 {
21745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21746 }
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21756 long arg2 ;
21757 int arg3 ;
21758 int arg4 ;
21759 bool result;
21760 PyObject * obj0 = 0 ;
21761 PyObject * obj1 = 0 ;
21762 PyObject * obj2 = 0 ;
21763 PyObject * obj3 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21771 arg2 = (long) SWIG_AsLong(obj1);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 arg3 = (int) SWIG_AsInt(obj2);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 arg4 = (int) SWIG_AsInt(obj3);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 {
21785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21786 }
21787 return resultobj;
21788 fail:
21789 return NULL;
21790 }
21791
21792
21793 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21794 PyObject *resultobj;
21795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21796 long arg2 ;
21797 wxString result;
21798 PyObject * obj0 = 0 ;
21799 PyObject * obj1 = 0 ;
21800 char *kwnames[] = {
21801 (char *) "self",(char *) "item", NULL
21802 };
21803
21804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21807 arg2 = (long) SWIG_AsLong(obj1);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 {
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21812
21813 wxPyEndAllowThreads(__tstate);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 }
21816 {
21817 #if wxUSE_UNICODE
21818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21819 #else
21820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21821 #endif
21822 }
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj;
21831 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21832 long arg2 ;
21833 wxString *arg3 = 0 ;
21834 bool temp3 = False ;
21835 PyObject * obj0 = 0 ;
21836 PyObject * obj1 = 0 ;
21837 PyObject * obj2 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self",(char *) "item",(char *) "str", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21845 arg2 = (long) SWIG_AsLong(obj1);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 {
21848 arg3 = wxString_in_helper(obj2);
21849 if (arg3 == NULL) SWIG_fail;
21850 temp3 = True;
21851 }
21852 {
21853 PyThreadState* __tstate = wxPyBeginAllowThreads();
21854 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21855
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 Py_INCREF(Py_None); resultobj = Py_None;
21860 {
21861 if (temp3)
21862 delete arg3;
21863 }
21864 return resultobj;
21865 fail:
21866 {
21867 if (temp3)
21868 delete arg3;
21869 }
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21877 long arg2 ;
21878 long result;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "item", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21888 arg2 = (long) SWIG_AsLong(obj1);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 resultobj = SWIG_FromLong((long)result);
21898 return resultobj;
21899 fail:
21900 return NULL;
21901 }
21902
21903
21904 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj;
21906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21907 long arg2 ;
21908 long arg3 ;
21909 bool result;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 PyObject * obj2 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self",(char *) "item",(char *) "data", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21920 arg2 = (long) SWIG_AsLong(obj1);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 arg3 = (long) SWIG_AsLong(obj2);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = (bool)(arg1)->SetItemData(arg2,arg3);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21933 }
21934 return resultobj;
21935 fail:
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21943 long arg2 ;
21944 wxPoint result;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "item", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21954 arg2 = (long) SWIG_AsLong(obj1);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 {
21964 wxPoint * resultptr;
21965 resultptr = new wxPoint((wxPoint &) result);
21966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21967 }
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj;
21976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21977 long arg2 ;
21978 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21979 wxRect result;
21980 PyObject * obj0 = 0 ;
21981 PyObject * obj1 = 0 ;
21982 PyObject * obj2 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "item",(char *) "code", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21990 arg2 = (long) SWIG_AsLong(obj1);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 if (obj2) {
21993 arg3 = (int) SWIG_AsInt(obj2);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 {
22004 wxRect * resultptr;
22005 resultptr = new wxRect((wxRect &) result);
22006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22007 }
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22017 long arg2 ;
22018 wxPoint *arg3 = 0 ;
22019 bool result;
22020 wxPoint temp3 ;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 PyObject * obj2 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self",(char *) "item",(char *) "pos", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22031 arg2 = (long) SWIG_AsLong(obj1);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 {
22034 arg3 = &temp3;
22035 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22036 }
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 {
22045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22046 }
22047 return resultobj;
22048 fail:
22049 return NULL;
22050 }
22051
22052
22053 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22054 PyObject *resultobj;
22055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22056 int result;
22057 PyObject * obj0 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22065 {
22066 PyThreadState* __tstate = wxPyBeginAllowThreads();
22067 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22068
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 resultobj = SWIG_FromInt((int)result);
22073 return resultobj;
22074 fail:
22075 return NULL;
22076 }
22077
22078
22079 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj;
22081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22082 int result;
22083 PyObject * obj0 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 resultobj = SWIG_FromInt((int)result);
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22108 wxSize result;
22109 PyObject * obj0 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 wxSize * resultptr;
22126 resultptr = new wxSize((wxSize &) result);
22127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22128 }
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22138 int arg2 ;
22139 bool arg3 = (bool) False ;
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 PyObject * obj2 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22150 arg2 = (int) SWIG_AsInt(obj1);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 if (obj2) {
22153 arg3 = (bool) SWIG_AsBool(obj2);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 (arg1)->SetItemSpacing(arg2,arg3);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 Py_INCREF(Py_None); resultobj = Py_None;
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22173 int result;
22174 PyObject * obj0 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 resultobj = SWIG_FromInt((int)result);
22190 return resultobj;
22191 fail:
22192 return NULL;
22193 }
22194
22195
22196 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22199 wxColour result;
22200 PyObject * obj0 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 wxColour * resultptr;
22217 resultptr = new wxColour((wxColour &) result);
22218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22229 wxColour *arg2 = 0 ;
22230 wxColour temp2 ;
22231 PyObject * obj0 = 0 ;
22232 PyObject * obj1 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self",(char *) "col", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22240 {
22241 arg2 = &temp2;
22242 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22243 }
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 (arg1)->SetTextColour((wxColour const &)*arg2);
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 Py_INCREF(Py_None); resultobj = Py_None;
22252 return resultobj;
22253 fail:
22254 return NULL;
22255 }
22256
22257
22258 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22261 long result;
22262 PyObject * obj0 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 resultobj = SWIG_FromLong((long)result);
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22287 long arg2 ;
22288 bool arg3 = (bool) True ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 PyObject * obj2 = 0 ;
22292 char *kwnames[] = {
22293 (char *) "self",(char *) "style",(char *) "add", NULL
22294 };
22295
22296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22299 arg2 = (long) SWIG_AsLong(obj1);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 if (obj2) {
22302 arg3 = (bool) SWIG_AsBool(obj2);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 (arg1)->SetSingleStyle(arg2,arg3);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 Py_INCREF(Py_None); resultobj = Py_None;
22313 return resultobj;
22314 fail:
22315 return NULL;
22316 }
22317
22318
22319 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22322 long arg2 ;
22323 PyObject * obj0 = 0 ;
22324 PyObject * obj1 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self",(char *) "style", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22332 arg2 = (long) SWIG_AsLong(obj1);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 (arg1)->SetWindowStyleFlag(arg2);
22337
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 Py_INCREF(Py_None); resultobj = Py_None;
22342 return resultobj;
22343 fail:
22344 return NULL;
22345 }
22346
22347
22348 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22349 PyObject *resultobj;
22350 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22351 long arg2 ;
22352 int arg3 = (int) wxLIST_NEXT_ALL ;
22353 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22354 long result;
22355 PyObject * obj0 = 0 ;
22356 PyObject * obj1 = 0 ;
22357 PyObject * obj2 = 0 ;
22358 PyObject * obj3 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 arg2 = (long) SWIG_AsLong(obj1);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 if (obj2) {
22369 arg3 = (int) SWIG_AsInt(obj2);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 }
22372 if (obj3) {
22373 arg4 = (int) SWIG_AsInt(obj3);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 {
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22379
22380 wxPyEndAllowThreads(__tstate);
22381 if (PyErr_Occurred()) SWIG_fail;
22382 }
22383 resultobj = SWIG_FromLong((long)result);
22384 return resultobj;
22385 fail:
22386 return NULL;
22387 }
22388
22389
22390 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22393 int arg2 ;
22394 wxImageList *result;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self",(char *) "which", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22404 arg2 = (int) SWIG_AsInt(obj1);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 {
22414 resultobj = wxPyMake_wxObject(result);
22415 }
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22425 wxImageList *arg2 = (wxImageList *) 0 ;
22426 int arg3 ;
22427 PyObject * obj0 = 0 ;
22428 PyObject * obj1 = 0 ;
22429 PyObject * obj2 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self",(char *) "imageList",(char *) "which", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22439 arg3 = (int) SWIG_AsInt(obj2);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 (arg1)->SetImageList(arg2,arg3);
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 Py_INCREF(Py_None); resultobj = Py_None;
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22458 wxImageList *arg2 = (wxImageList *) 0 ;
22459 int arg3 ;
22460 PyObject * obj0 = 0 ;
22461 PyObject * obj1 = 0 ;
22462 PyObject * obj2 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self",(char *) "imageList",(char *) "which", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22471 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22472 arg3 = (int) SWIG_AsInt(obj2);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 (arg1)->AssignImageList(arg2,arg3);
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 Py_INCREF(Py_None); resultobj = Py_None;
22482 return resultobj;
22483 fail:
22484 return NULL;
22485 }
22486
22487
22488 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22489 PyObject *resultobj;
22490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22491 bool result;
22492 PyObject * obj0 = 0 ;
22493 char *kwnames[] = {
22494 (char *) "self", NULL
22495 };
22496
22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 {
22508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22509 }
22510 return resultobj;
22511 fail:
22512 return NULL;
22513 }
22514
22515
22516 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22519 bool result;
22520 PyObject * obj0 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 {
22536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22537 }
22538 return resultobj;
22539 fail:
22540 return NULL;
22541 }
22542
22543
22544 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22547 long arg2 ;
22548 PyObject * obj0 = 0 ;
22549 PyObject * obj1 = 0 ;
22550 char *kwnames[] = {
22551 (char *) "self",(char *) "item", NULL
22552 };
22553
22554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22557 arg2 = (long) SWIG_AsLong(obj1);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 (arg1)->RefreshItem(arg2);
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 Py_INCREF(Py_None); resultobj = Py_None;
22567 return resultobj;
22568 fail:
22569 return NULL;
22570 }
22571
22572
22573 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22574 PyObject *resultobj;
22575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22576 long arg2 ;
22577 long arg3 ;
22578 PyObject * obj0 = 0 ;
22579 PyObject * obj1 = 0 ;
22580 PyObject * obj2 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 arg2 = (long) SWIG_AsLong(obj1);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 arg3 = (long) SWIG_AsLong(obj2);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->RefreshItems(arg2,arg3);
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 Py_INCREF(Py_None); resultobj = Py_None;
22600 return resultobj;
22601 fail:
22602 return NULL;
22603 }
22604
22605
22606 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22607 PyObject *resultobj;
22608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22609 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22610 bool result;
22611 PyObject * obj0 = 0 ;
22612 PyObject * obj1 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self",(char *) "flag", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22620 if (obj1) {
22621 arg2 = (int) SWIG_AsInt(obj1);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 result = (bool)(arg1)->Arrange(arg2);
22627
22628 wxPyEndAllowThreads(__tstate);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 {
22632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22633 }
22634 return resultobj;
22635 fail:
22636 return NULL;
22637 }
22638
22639
22640 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22643 long arg2 ;
22644 bool result;
22645 PyObject * obj0 = 0 ;
22646 PyObject * obj1 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "self",(char *) "item", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22654 arg2 = (long) SWIG_AsLong(obj1);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 {
22657 PyThreadState* __tstate = wxPyBeginAllowThreads();
22658 result = (bool)(arg1)->DeleteItem(arg2);
22659
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 {
22664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22665 }
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22675 bool result;
22676 PyObject * obj0 = 0 ;
22677 char *kwnames[] = {
22678 (char *) "self", NULL
22679 };
22680
22681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = (bool)(arg1)->DeleteAllItems();
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 {
22692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22693 }
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22703 int arg2 ;
22704 bool result;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self",(char *) "col", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22714 arg2 = (int) SWIG_AsInt(obj1);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 result = (bool)(arg1)->DeleteColumn(arg2);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 {
22724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22725 }
22726 return resultobj;
22727 fail:
22728 return NULL;
22729 }
22730
22731
22732 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22733 PyObject *resultobj;
22734 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22735 bool result;
22736 PyObject * obj0 = 0 ;
22737 char *kwnames[] = {
22738 (char *) "self", NULL
22739 };
22740
22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 result = (bool)(arg1)->DeleteAllColumns();
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 {
22752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22753 }
22754 return resultobj;
22755 fail:
22756 return NULL;
22757 }
22758
22759
22760 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22761 PyObject *resultobj;
22762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22763 PyObject * obj0 = 0 ;
22764 char *kwnames[] = {
22765 (char *) "self", NULL
22766 };
22767
22768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 (arg1)->ClearAll();
22774
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 Py_INCREF(Py_None); resultobj = Py_None;
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22788 long arg2 ;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self",(char *) "item", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22798 arg2 = (long) SWIG_AsLong(obj1);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->EditLabel(arg2);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22817 long arg2 ;
22818 bool result;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self",(char *) "item", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22828 arg2 = (long) SWIG_AsLong(obj1);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (bool)(arg1)->EnsureVisible(arg2);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 {
22838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22839 }
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22849 long arg2 ;
22850 wxString *arg3 = 0 ;
22851 bool arg4 = (bool) False ;
22852 long result;
22853 bool temp3 = False ;
22854 PyObject * obj0 = 0 ;
22855 PyObject * obj1 = 0 ;
22856 PyObject * obj2 = 0 ;
22857 PyObject * obj3 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22865 arg2 = (long) SWIG_AsLong(obj1);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 {
22868 arg3 = wxString_in_helper(obj2);
22869 if (arg3 == NULL) SWIG_fail;
22870 temp3 = True;
22871 }
22872 if (obj3) {
22873 arg4 = (bool) SWIG_AsBool(obj3);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 resultobj = SWIG_FromLong((long)result);
22884 {
22885 if (temp3)
22886 delete arg3;
22887 }
22888 return resultobj;
22889 fail:
22890 {
22891 if (temp3)
22892 delete arg3;
22893 }
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22901 long arg2 ;
22902 long arg3 ;
22903 long result;
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 PyObject * obj2 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self",(char *) "start",(char *) "data", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22914 arg2 = (long) SWIG_AsLong(obj1);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 arg3 = (long) SWIG_AsLong(obj2);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 result = (long)(arg1)->FindItem(arg2,arg3);
22921
22922 wxPyEndAllowThreads(__tstate);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 }
22925 resultobj = SWIG_FromLong((long)result);
22926 return resultobj;
22927 fail:
22928 return NULL;
22929 }
22930
22931
22932 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22933 PyObject *resultobj;
22934 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22935 long arg2 ;
22936 wxPoint *arg3 = 0 ;
22937 int arg4 ;
22938 long result;
22939 wxPoint temp3 ;
22940 PyObject * obj0 = 0 ;
22941 PyObject * obj1 = 0 ;
22942 PyObject * obj2 = 0 ;
22943 PyObject * obj3 = 0 ;
22944 char *kwnames[] = {
22945 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22946 };
22947
22948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22951 arg2 = (long) SWIG_AsLong(obj1);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 {
22954 arg3 = &temp3;
22955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22956 }
22957 arg4 = (int) SWIG_AsInt(obj3);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 resultobj = SWIG_FromLong((long)result);
22967 return resultobj;
22968 fail:
22969 return NULL;
22970 }
22971
22972
22973 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj;
22975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22976 wxPoint *arg2 = 0 ;
22977 int *arg3 = 0 ;
22978 long result;
22979 wxPoint temp2 ;
22980 int temp3 ;
22981 PyObject * obj0 = 0 ;
22982 PyObject * obj1 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self",(char *) "point", NULL
22985 };
22986
22987 arg3 = &temp3;
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22991 {
22992 arg2 = &temp2;
22993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22994 }
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22998
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 resultobj = SWIG_FromLong((long)result);
23003 {
23004 PyObject *o = PyInt_FromLong((long) (*arg3));
23005 resultobj = t_output_helper(resultobj,o);
23006 }
23007 return resultobj;
23008 fail:
23009 return NULL;
23010 }
23011
23012
23013 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23016 wxListItem *arg2 = 0 ;
23017 long result;
23018 PyObject * obj0 = 0 ;
23019 PyObject * obj1 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self",(char *) "info", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23028 SWIG_POINTER_EXCEPTION | 0)) == -1)
23029 SWIG_fail;
23030 if (arg2 == NULL) {
23031 PyErr_SetString(PyExc_TypeError,"null reference");
23032 SWIG_fail;
23033 }
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 result = (long)(arg1)->InsertItem(*arg2);
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 resultobj = SWIG_FromLong((long)result);
23042 return resultobj;
23043 fail:
23044 return NULL;
23045 }
23046
23047
23048 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23049 PyObject *resultobj;
23050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23051 long arg2 ;
23052 wxString *arg3 = 0 ;
23053 long result;
23054 bool temp3 = False ;
23055 PyObject * obj0 = 0 ;
23056 PyObject * obj1 = 0 ;
23057 PyObject * obj2 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self",(char *) "index",(char *) "label", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23065 arg2 = (long) SWIG_AsLong(obj1);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 {
23068 arg3 = wxString_in_helper(obj2);
23069 if (arg3 == NULL) SWIG_fail;
23070 temp3 = True;
23071 }
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 resultobj = SWIG_FromLong((long)result);
23080 {
23081 if (temp3)
23082 delete arg3;
23083 }
23084 return resultobj;
23085 fail:
23086 {
23087 if (temp3)
23088 delete arg3;
23089 }
23090 return NULL;
23091 }
23092
23093
23094 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23095 PyObject *resultobj;
23096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23097 long arg2 ;
23098 int arg3 ;
23099 long result;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 PyObject * obj2 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 arg2 = (long) SWIG_AsLong(obj1);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 arg3 = (int) SWIG_AsInt(obj2);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = (long)(arg1)->InsertItem(arg2,arg3);
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 resultobj = SWIG_FromLong((long)result);
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23131 long arg2 ;
23132 wxString *arg3 = 0 ;
23133 int arg4 ;
23134 long result;
23135 bool temp3 = False ;
23136 PyObject * obj0 = 0 ;
23137 PyObject * obj1 = 0 ;
23138 PyObject * obj2 = 0 ;
23139 PyObject * obj3 = 0 ;
23140 char *kwnames[] = {
23141 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23142 };
23143
23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23147 arg2 = (long) SWIG_AsLong(obj1);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 {
23150 arg3 = wxString_in_helper(obj2);
23151 if (arg3 == NULL) SWIG_fail;
23152 temp3 = True;
23153 }
23154 arg4 = (int) SWIG_AsInt(obj3);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 resultobj = SWIG_FromLong((long)result);
23164 {
23165 if (temp3)
23166 delete arg3;
23167 }
23168 return resultobj;
23169 fail:
23170 {
23171 if (temp3)
23172 delete arg3;
23173 }
23174 return NULL;
23175 }
23176
23177
23178 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23181 long arg2 ;
23182 wxListItem *arg3 = 0 ;
23183 long result;
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 PyObject * obj2 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "col",(char *) "info", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23194 arg2 = (long) SWIG_AsLong(obj1);
23195 if (PyErr_Occurred()) SWIG_fail;
23196 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1)
23198 SWIG_fail;
23199 if (arg3 == NULL) {
23200 PyErr_SetString(PyExc_TypeError,"null reference");
23201 SWIG_fail;
23202 }
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 resultobj = SWIG_FromLong((long)result);
23211 return resultobj;
23212 fail:
23213 return NULL;
23214 }
23215
23216
23217 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj;
23219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23220 long arg2 ;
23221 wxString *arg3 = 0 ;
23222 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23223 int arg5 = (int) -1 ;
23224 long result;
23225 bool temp3 = False ;
23226 PyObject * obj0 = 0 ;
23227 PyObject * obj1 = 0 ;
23228 PyObject * obj2 = 0 ;
23229 PyObject * obj3 = 0 ;
23230 PyObject * obj4 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23238 arg2 = (long) SWIG_AsLong(obj1);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 {
23241 arg3 = wxString_in_helper(obj2);
23242 if (arg3 == NULL) SWIG_fail;
23243 temp3 = True;
23244 }
23245 if (obj3) {
23246 arg4 = (int) SWIG_AsInt(obj3);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 if (obj4) {
23250 arg5 = (int) SWIG_AsInt(obj4);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 resultobj = SWIG_FromLong((long)result);
23261 {
23262 if (temp3)
23263 delete arg3;
23264 }
23265 return resultobj;
23266 fail:
23267 {
23268 if (temp3)
23269 delete arg3;
23270 }
23271 return NULL;
23272 }
23273
23274
23275 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23276 PyObject *resultobj;
23277 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23278 long arg2 ;
23279 PyObject * obj0 = 0 ;
23280 PyObject * obj1 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self",(char *) "count", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23288 arg2 = (long) SWIG_AsLong(obj1);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 (arg1)->SetItemCount(arg2);
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 Py_INCREF(Py_None); resultobj = Py_None;
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23305 PyObject *resultobj;
23306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23307 int arg2 ;
23308 int arg3 ;
23309 bool result;
23310 PyObject * obj0 = 0 ;
23311 PyObject * obj1 = 0 ;
23312 PyObject * obj2 = 0 ;
23313 char *kwnames[] = {
23314 (char *) "self",(char *) "dx",(char *) "dy", NULL
23315 };
23316
23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23320 arg2 = (int) SWIG_AsInt(obj1);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 arg3 = (int) SWIG_AsInt(obj2);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 result = (bool)(arg1)->ScrollList(arg2,arg3);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 {
23332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23333 }
23334 return resultobj;
23335 fail:
23336 return NULL;
23337 }
23338
23339
23340 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23341 PyObject *resultobj;
23342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23343 long arg2 ;
23344 wxColour *arg3 = 0 ;
23345 wxColour temp3 ;
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 PyObject * obj2 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self",(char *) "item",(char *) "col", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23356 arg2 = (long) SWIG_AsLong(obj1);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 {
23359 arg3 = &temp3;
23360 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23361 }
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 Py_INCREF(Py_None); resultobj = Py_None;
23370 return resultobj;
23371 fail:
23372 return NULL;
23373 }
23374
23375
23376 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23377 PyObject *resultobj;
23378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23379 long arg2 ;
23380 wxColour result;
23381 PyObject * obj0 = 0 ;
23382 PyObject * obj1 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "item", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23390 arg2 = (long) SWIG_AsLong(obj1);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 {
23400 wxColour * resultptr;
23401 resultptr = new wxColour((wxColour &) result);
23402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23403 }
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj;
23412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23413 long arg2 ;
23414 wxColour *arg3 = 0 ;
23415 wxColour temp3 ;
23416 PyObject * obj0 = 0 ;
23417 PyObject * obj1 = 0 ;
23418 PyObject * obj2 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self",(char *) "item",(char *) "col", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23426 arg2 = (long) SWIG_AsLong(obj1);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 {
23429 arg3 = &temp3;
23430 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23431 }
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 Py_INCREF(Py_None); resultobj = Py_None;
23440 return resultobj;
23441 fail:
23442 return NULL;
23443 }
23444
23445
23446 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23449 long arg2 ;
23450 wxColour result;
23451 PyObject * obj0 = 0 ;
23452 PyObject * obj1 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self",(char *) "item", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23460 arg2 = (long) SWIG_AsLong(obj1);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 {
23470 wxColour * resultptr;
23471 resultptr = new wxColour((wxColour &) result);
23472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23473 }
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23483 PyObject *arg2 = (PyObject *) 0 ;
23484 bool result;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 char *kwnames[] = {
23488 (char *) "self",(char *) "func", NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23494 arg2 = obj1;
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23498
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 {
23503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23504 }
23505 return resultobj;
23506 fail:
23507 return NULL;
23508 }
23509
23510
23511 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23512 PyObject *resultobj;
23513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23514 wxWindow *result;
23515 PyObject * obj0 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 {
23531 resultobj = wxPyMake_wxObject(result);
23532 }
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23540 PyObject *resultobj;
23541 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23542 wxVisualAttributes result;
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "variant", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23549 if (obj0) {
23550 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 wxVisualAttributes * resultptr;
23562 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23564 }
23565 return resultobj;
23566 fail:
23567 return NULL;
23568 }
23569
23570
23571 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23572 PyObject *obj;
23573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23574 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23575 Py_INCREF(obj);
23576 return Py_BuildValue((char *)"");
23577 }
23578 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23579 PyObject *resultobj;
23580 wxWindow *arg1 = (wxWindow *) 0 ;
23581 int arg2 = (int) -1 ;
23582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23584 wxSize const &arg4_defvalue = wxDefaultSize ;
23585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23586 long arg5 = (long) wxLC_REPORT ;
23587 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23588 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23589 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23590 wxString *arg7 = (wxString *) &arg7_defvalue ;
23591 wxListView *result;
23592 wxPoint temp3 ;
23593 wxSize temp4 ;
23594 bool temp7 = False ;
23595 PyObject * obj0 = 0 ;
23596 PyObject * obj1 = 0 ;
23597 PyObject * obj2 = 0 ;
23598 PyObject * obj3 = 0 ;
23599 PyObject * obj4 = 0 ;
23600 PyObject * obj5 = 0 ;
23601 PyObject * obj6 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 if (obj1) {
23610 arg2 = (int) SWIG_AsInt(obj1);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 if (obj2) {
23614 {
23615 arg3 = &temp3;
23616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23617 }
23618 }
23619 if (obj3) {
23620 {
23621 arg4 = &temp4;
23622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23623 }
23624 }
23625 if (obj4) {
23626 arg5 = (long) SWIG_AsLong(obj4);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
23629 if (obj5) {
23630 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1)
23632 SWIG_fail;
23633 if (arg6 == NULL) {
23634 PyErr_SetString(PyExc_TypeError,"null reference");
23635 SWIG_fail;
23636 }
23637 }
23638 if (obj6) {
23639 {
23640 arg7 = wxString_in_helper(obj6);
23641 if (arg7 == NULL) SWIG_fail;
23642 temp7 = True;
23643 }
23644 }
23645 {
23646 if (!wxPyCheckForApp()) SWIG_fail;
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23649
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23654 {
23655 if (temp7)
23656 delete arg7;
23657 }
23658 return resultobj;
23659 fail:
23660 {
23661 if (temp7)
23662 delete arg7;
23663 }
23664 return NULL;
23665 }
23666
23667
23668 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23669 PyObject *resultobj;
23670 wxListView *result;
23671 char *kwnames[] = {
23672 NULL
23673 };
23674
23675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23676 {
23677 if (!wxPyCheckForApp()) SWIG_fail;
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (wxListView *)new wxListView();
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23685 return resultobj;
23686 fail:
23687 return NULL;
23688 }
23689
23690
23691 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxListView *arg1 = (wxListView *) 0 ;
23694 wxWindow *arg2 = (wxWindow *) 0 ;
23695 int arg3 = (int) -1 ;
23696 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23697 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23698 wxSize const &arg5_defvalue = wxDefaultSize ;
23699 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23700 long arg6 = (long) wxLC_REPORT ;
23701 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23702 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23703 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23704 wxString *arg8 = (wxString *) &arg8_defvalue ;
23705 bool result;
23706 wxPoint temp4 ;
23707 wxSize temp5 ;
23708 bool temp8 = False ;
23709 PyObject * obj0 = 0 ;
23710 PyObject * obj1 = 0 ;
23711 PyObject * obj2 = 0 ;
23712 PyObject * obj3 = 0 ;
23713 PyObject * obj4 = 0 ;
23714 PyObject * obj5 = 0 ;
23715 PyObject * obj6 = 0 ;
23716 PyObject * obj7 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 if (obj2) {
23727 arg3 = (int) SWIG_AsInt(obj2);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 if (obj3) {
23731 {
23732 arg4 = &temp4;
23733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23734 }
23735 }
23736 if (obj4) {
23737 {
23738 arg5 = &temp5;
23739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23740 }
23741 }
23742 if (obj5) {
23743 arg6 = (long) SWIG_AsLong(obj5);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 if (obj6) {
23747 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23748 SWIG_POINTER_EXCEPTION | 0)) == -1)
23749 SWIG_fail;
23750 if (arg7 == NULL) {
23751 PyErr_SetString(PyExc_TypeError,"null reference");
23752 SWIG_fail;
23753 }
23754 }
23755 if (obj7) {
23756 {
23757 arg8 = wxString_in_helper(obj7);
23758 if (arg8 == NULL) SWIG_fail;
23759 temp8 = True;
23760 }
23761 }
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 {
23770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23771 }
23772 {
23773 if (temp8)
23774 delete arg8;
23775 }
23776 return resultobj;
23777 fail:
23778 {
23779 if (temp8)
23780 delete arg8;
23781 }
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxListView *arg1 = (wxListView *) 0 ;
23789 long arg2 ;
23790 bool arg3 = (bool) True ;
23791 PyObject * obj0 = 0 ;
23792 PyObject * obj1 = 0 ;
23793 PyObject * obj2 = 0 ;
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "n",(char *) "on", NULL
23796 };
23797
23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23801 arg2 = (long) SWIG_AsLong(obj1);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 if (obj2) {
23804 arg3 = (bool) SWIG_AsBool(obj2);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 }
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 (arg1)->Select(arg2,arg3);
23810
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 Py_INCREF(Py_None); resultobj = Py_None;
23815 return resultobj;
23816 fail:
23817 return NULL;
23818 }
23819
23820
23821 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj;
23823 wxListView *arg1 = (wxListView *) 0 ;
23824 long arg2 ;
23825 PyObject * obj0 = 0 ;
23826 PyObject * obj1 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self",(char *) "index", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23834 arg2 = (long) SWIG_AsLong(obj1);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 (arg1)->Focus(arg2);
23839
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 Py_INCREF(Py_None); resultobj = Py_None;
23844 return resultobj;
23845 fail:
23846 return NULL;
23847 }
23848
23849
23850 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxListView *arg1 = (wxListView *) 0 ;
23853 long result;
23854 PyObject * obj0 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 resultobj = SWIG_FromLong((long)result);
23870 return resultobj;
23871 fail:
23872 return NULL;
23873 }
23874
23875
23876 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxListView *arg1 = (wxListView *) 0 ;
23879 long arg2 ;
23880 long result;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 char *kwnames[] = {
23884 (char *) "self",(char *) "item", NULL
23885 };
23886
23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23890 arg2 = (long) SWIG_AsLong(obj1);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 resultobj = SWIG_FromLong((long)result);
23900 return resultobj;
23901 fail:
23902 return NULL;
23903 }
23904
23905
23906 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxListView *arg1 = (wxListView *) 0 ;
23909 long result;
23910 PyObject * obj0 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "self", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 resultobj = SWIG_FromLong((long)result);
23926 return resultobj;
23927 fail:
23928 return NULL;
23929 }
23930
23931
23932 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj;
23934 wxListView *arg1 = (wxListView *) 0 ;
23935 long arg2 ;
23936 bool result;
23937 PyObject * obj0 = 0 ;
23938 PyObject * obj1 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self",(char *) "index", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 arg2 = (long) SWIG_AsLong(obj1);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 result = (bool)(arg1)->IsSelected(arg2);
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 {
23956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23957 }
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxListView *arg1 = (wxListView *) 0 ;
23967 int arg2 ;
23968 int arg3 ;
23969 PyObject * obj0 = 0 ;
23970 PyObject * obj1 = 0 ;
23971 PyObject * obj2 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "col",(char *) "image", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 arg2 = (int) SWIG_AsInt(obj1);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 arg3 = (int) SWIG_AsInt(obj2);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 (arg1)->SetColumnImage(arg2,arg3);
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 Py_INCREF(Py_None); resultobj = Py_None;
23991 return resultobj;
23992 fail:
23993 return NULL;
23994 }
23995
23996
23997 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23998 PyObject *resultobj;
23999 wxListView *arg1 = (wxListView *) 0 ;
24000 int arg2 ;
24001 PyObject * obj0 = 0 ;
24002 PyObject * obj1 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self",(char *) "col", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24010 arg2 = (int) SWIG_AsInt(obj1);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 (arg1)->ClearColumnImage(arg2);
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 Py_INCREF(Py_None); resultobj = Py_None;
24020 return resultobj;
24021 fail:
24022 return NULL;
24023 }
24024
24025
24026 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
24027 PyObject *obj;
24028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24029 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24030 Py_INCREF(obj);
24031 return Py_BuildValue((char *)"");
24032 }
24033 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24034 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24035 return 1;
24036 }
24037
24038
24039 static PyObject *_wrap_TreeCtrlNameStr_get() {
24040 PyObject *pyobj;
24041
24042 {
24043 #if wxUSE_UNICODE
24044 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24045 #else
24046 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24047 #endif
24048 }
24049 return pyobj;
24050 }
24051
24052
24053 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj;
24055 wxTreeItemId *result;
24056 char *kwnames[] = {
24057 NULL
24058 };
24059
24060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (wxTreeItemId *)new wxTreeItemId();
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj;
24077 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24078 PyObject * obj0 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 delete arg1;
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 Py_INCREF(Py_None); resultobj = Py_None;
24094 return resultobj;
24095 fail:
24096 return NULL;
24097 }
24098
24099
24100 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj;
24102 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24103 bool result;
24104 PyObject * obj0 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 {
24120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24121 }
24122 return resultobj;
24123 fail:
24124 return NULL;
24125 }
24126
24127
24128 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj;
24130 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24131 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24132 bool result;
24133 PyObject * obj0 = 0 ;
24134 PyObject * obj1 = 0 ;
24135 char *kwnames[] = {
24136 (char *) "self",(char *) "other", NULL
24137 };
24138
24139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 {
24152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24153 }
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj;
24162 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24163 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24164 bool result;
24165 PyObject * obj0 = 0 ;
24166 PyObject * obj1 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "other", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 {
24184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24185 }
24186 return resultobj;
24187 fail:
24188 return NULL;
24189 }
24190
24191
24192 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24193 PyObject *resultobj;
24194 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24195 void *arg2 = (void *) 0 ;
24196 PyObject * obj0 = 0 ;
24197 PyObject * obj1 = 0 ;
24198 char *kwnames[] = {
24199 (char *) "self",(char *) "m_pItem", NULL
24200 };
24201
24202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24205 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24206 if (arg1) (arg1)->m_pItem = arg2;
24207
24208 Py_INCREF(Py_None); resultobj = Py_None;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24218 void *result;
24219 PyObject * obj0 = 0 ;
24220 char *kwnames[] = {
24221 (char *) "self", NULL
24222 };
24223
24224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24227 result = (void *) ((arg1)->m_pItem);
24228
24229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24237 PyObject *obj;
24238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24239 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24240 Py_INCREF(obj);
24241 return Py_BuildValue((char *)"");
24242 }
24243 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24244 PyObject *resultobj;
24245 PyObject *arg1 = (PyObject *) NULL ;
24246 wxPyTreeItemData *result;
24247 PyObject * obj0 = 0 ;
24248 char *kwnames[] = {
24249 (char *) "obj", NULL
24250 };
24251
24252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24253 if (obj0) {
24254 arg1 = obj0;
24255 }
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24264 return resultobj;
24265 fail:
24266 return NULL;
24267 }
24268
24269
24270 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24271 PyObject *resultobj;
24272 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24273 PyObject *result;
24274 PyObject * obj0 = 0 ;
24275 char *kwnames[] = {
24276 (char *) "self", NULL
24277 };
24278
24279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24282 {
24283 PyThreadState* __tstate = wxPyBeginAllowThreads();
24284 result = (PyObject *)(arg1)->GetData();
24285
24286 wxPyEndAllowThreads(__tstate);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 resultobj = result;
24290 return resultobj;
24291 fail:
24292 return NULL;
24293 }
24294
24295
24296 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24297 PyObject *resultobj;
24298 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24299 PyObject *arg2 = (PyObject *) 0 ;
24300 PyObject * obj0 = 0 ;
24301 PyObject * obj1 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self",(char *) "obj", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24309 arg2 = obj1;
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 (arg1)->SetData(arg2);
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 Py_INCREF(Py_None); resultobj = Py_None;
24318 return resultobj;
24319 fail:
24320 return NULL;
24321 }
24322
24323
24324 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj;
24326 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24327 wxTreeItemId *result;
24328 PyObject * obj0 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 {
24339 wxTreeItemId const &_result_ref = (arg1)->GetId();
24340 result = (wxTreeItemId *) &_result_ref;
24341 }
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24356 wxTreeItemId *arg2 = 0 ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char *kwnames[] = {
24360 (char *) "self",(char *) "id", NULL
24361 };
24362
24363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24367 SWIG_POINTER_EXCEPTION | 0)) == -1)
24368 SWIG_fail;
24369 if (arg2 == NULL) {
24370 PyErr_SetString(PyExc_TypeError,"null reference");
24371 SWIG_fail;
24372 }
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 (arg1)->SetId((wxTreeItemId const &)*arg2);
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 Py_INCREF(Py_None); resultobj = Py_None;
24381 return resultobj;
24382 fail:
24383 return NULL;
24384 }
24385
24386
24387 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24388 PyObject *resultobj;
24389 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24390 PyObject * obj0 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 wxPyTreeItemData_Destroy(arg1);
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 Py_INCREF(Py_None); resultobj = Py_None;
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24413 PyObject *obj;
24414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24415 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24416 Py_INCREF(obj);
24417 return Py_BuildValue((char *)"");
24418 }
24419 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24420 PyObject *resultobj;
24421 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24422 int arg2 = (int) 0 ;
24423 wxTreeEvent *result;
24424 PyObject * obj0 = 0 ;
24425 PyObject * obj1 = 0 ;
24426 char *kwnames[] = {
24427 (char *) "commandType",(char *) "id", NULL
24428 };
24429
24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24431 if (obj0) {
24432 arg1 = (wxEventType) SWIG_AsInt(obj0);
24433 if (PyErr_Occurred()) SWIG_fail;
24434 }
24435 if (obj1) {
24436 arg2 = (int) SWIG_AsInt(obj1);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24447 return resultobj;
24448 fail:
24449 return NULL;
24450 }
24451
24452
24453 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj;
24455 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24456 wxTreeItemId result;
24457 PyObject * obj0 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 result = ((wxTreeEvent const *)arg1)->GetItem();
24468
24469 wxPyEndAllowThreads(__tstate);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 {
24473 wxTreeItemId * resultptr;
24474 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24476 }
24477 return resultobj;
24478 fail:
24479 return NULL;
24480 }
24481
24482
24483 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj;
24485 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24486 wxTreeItemId *arg2 = 0 ;
24487 PyObject * obj0 = 0 ;
24488 PyObject * obj1 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self",(char *) "item", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24497 SWIG_POINTER_EXCEPTION | 0)) == -1)
24498 SWIG_fail;
24499 if (arg2 == NULL) {
24500 PyErr_SetString(PyExc_TypeError,"null reference");
24501 SWIG_fail;
24502 }
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 (arg1)->SetItem((wxTreeItemId const &)*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_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj;
24519 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24520 wxTreeItemId result;
24521 PyObject * obj0 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 {
24537 wxTreeItemId * resultptr;
24538 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24540 }
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24550 wxTreeItemId *arg2 = 0 ;
24551 PyObject * obj0 = 0 ;
24552 PyObject * obj1 = 0 ;
24553 char *kwnames[] = {
24554 (char *) "self",(char *) "item", NULL
24555 };
24556
24557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24561 SWIG_POINTER_EXCEPTION | 0)) == -1)
24562 SWIG_fail;
24563 if (arg2 == NULL) {
24564 PyErr_SetString(PyExc_TypeError,"null reference");
24565 SWIG_fail;
24566 }
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24584 wxPoint result;
24585 PyObject * obj0 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 result = ((wxTreeEvent const *)arg1)->GetPoint();
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 {
24601 wxPoint * resultptr;
24602 resultptr = new wxPoint((wxPoint &) result);
24603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24604 }
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj;
24613 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24614 wxPoint *arg2 = 0 ;
24615 wxPoint temp2 ;
24616 PyObject * obj0 = 0 ;
24617 PyObject * obj1 = 0 ;
24618 char *kwnames[] = {
24619 (char *) "self",(char *) "pt", NULL
24620 };
24621
24622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24625 {
24626 arg2 = &temp2;
24627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24628 }
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 (arg1)->SetPoint((wxPoint const &)*arg2);
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 Py_INCREF(Py_None); resultobj = Py_None;
24637 return resultobj;
24638 fail:
24639 return NULL;
24640 }
24641
24642
24643 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj;
24645 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24646 wxKeyEvent *result;
24647 PyObject * obj0 = 0 ;
24648 char *kwnames[] = {
24649 (char *) "self", NULL
24650 };
24651
24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24655 {
24656 PyThreadState* __tstate = wxPyBeginAllowThreads();
24657 {
24658 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24659 result = (wxKeyEvent *) &_result_ref;
24660 }
24661
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24673 PyObject *resultobj;
24674 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24675 int result;
24676 PyObject * obj0 = 0 ;
24677 char *kwnames[] = {
24678 (char *) "self", NULL
24679 };
24680
24681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = SWIG_FromInt((int)result);
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj;
24700 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24701 wxKeyEvent *arg2 = 0 ;
24702 PyObject * obj0 = 0 ;
24703 PyObject * obj1 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self",(char *) "evt", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24712 SWIG_POINTER_EXCEPTION | 0)) == -1)
24713 SWIG_fail;
24714 if (arg2 == NULL) {
24715 PyErr_SetString(PyExc_TypeError,"null reference");
24716 SWIG_fail;
24717 }
24718 {
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 Py_INCREF(Py_None); resultobj = Py_None;
24726 return resultobj;
24727 fail:
24728 return NULL;
24729 }
24730
24731
24732 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24733 PyObject *resultobj;
24734 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24735 wxString *result;
24736 PyObject * obj0 = 0 ;
24737 char *kwnames[] = {
24738 (char *) "self", NULL
24739 };
24740
24741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24744 {
24745 PyThreadState* __tstate = wxPyBeginAllowThreads();
24746 {
24747 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24748 result = (wxString *) &_result_ref;
24749 }
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 {
24755 #if wxUSE_UNICODE
24756 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24757 #else
24758 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24759 #endif
24760 }
24761 return resultobj;
24762 fail:
24763 return NULL;
24764 }
24765
24766
24767 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24768 PyObject *resultobj;
24769 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24770 wxString *arg2 = 0 ;
24771 bool temp2 = False ;
24772 PyObject * obj0 = 0 ;
24773 PyObject * obj1 = 0 ;
24774 char *kwnames[] = {
24775 (char *) "self",(char *) "label", NULL
24776 };
24777
24778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24781 {
24782 arg2 = wxString_in_helper(obj1);
24783 if (arg2 == NULL) SWIG_fail;
24784 temp2 = True;
24785 }
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 (arg1)->SetLabel((wxString const &)*arg2);
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 Py_INCREF(Py_None); resultobj = Py_None;
24794 {
24795 if (temp2)
24796 delete arg2;
24797 }
24798 return resultobj;
24799 fail:
24800 {
24801 if (temp2)
24802 delete arg2;
24803 }
24804 return NULL;
24805 }
24806
24807
24808 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj;
24810 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24811 bool result;
24812 PyObject * obj0 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 {
24828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24829 }
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24839 bool arg2 ;
24840 PyObject * obj0 = 0 ;
24841 PyObject * obj1 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "editCancelled", NULL
24844 };
24845
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24849 arg2 = (bool) SWIG_AsBool(obj1);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 (arg1)->SetEditCanceled(arg2);
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 Py_INCREF(Py_None); resultobj = Py_None;
24859 return resultobj;
24860 fail:
24861 return NULL;
24862 }
24863
24864
24865 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj;
24867 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24868 wxString *arg2 = 0 ;
24869 bool temp2 = False ;
24870 PyObject * obj0 = 0 ;
24871 PyObject * obj1 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self",(char *) "toolTip", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24879 {
24880 arg2 = wxString_in_helper(obj1);
24881 if (arg2 == NULL) SWIG_fail;
24882 temp2 = True;
24883 }
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 (arg1)->SetToolTip((wxString const &)*arg2);
24887
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 Py_INCREF(Py_None); resultobj = Py_None;
24892 {
24893 if (temp2)
24894 delete arg2;
24895 }
24896 return resultobj;
24897 fail:
24898 {
24899 if (temp2)
24900 delete arg2;
24901 }
24902 return NULL;
24903 }
24904
24905
24906 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24907 PyObject *obj;
24908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24909 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24910 Py_INCREF(obj);
24911 return Py_BuildValue((char *)"");
24912 }
24913 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj;
24915 wxWindow *arg1 = (wxWindow *) 0 ;
24916 int arg2 = (int) -1 ;
24917 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24918 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24919 wxSize const &arg4_defvalue = wxDefaultSize ;
24920 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24921 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24922 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24923 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24924 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24925 wxString *arg7 = (wxString *) &arg7_defvalue ;
24926 wxPyTreeCtrl *result;
24927 wxPoint temp3 ;
24928 wxSize temp4 ;
24929 bool temp7 = False ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 PyObject * obj2 = 0 ;
24933 PyObject * obj3 = 0 ;
24934 PyObject * obj4 = 0 ;
24935 PyObject * obj5 = 0 ;
24936 PyObject * obj6 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24939 };
24940
24941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24944 if (obj1) {
24945 arg2 = (int) SWIG_AsInt(obj1);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 if (obj2) {
24949 {
24950 arg3 = &temp3;
24951 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24952 }
24953 }
24954 if (obj3) {
24955 {
24956 arg4 = &temp4;
24957 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24958 }
24959 }
24960 if (obj4) {
24961 arg5 = (long) SWIG_AsLong(obj4);
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 if (obj5) {
24965 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24966 SWIG_POINTER_EXCEPTION | 0)) == -1)
24967 SWIG_fail;
24968 if (arg6 == NULL) {
24969 PyErr_SetString(PyExc_TypeError,"null reference");
24970 SWIG_fail;
24971 }
24972 }
24973 if (obj6) {
24974 {
24975 arg7 = wxString_in_helper(obj6);
24976 if (arg7 == NULL) SWIG_fail;
24977 temp7 = True;
24978 }
24979 }
24980 {
24981 if (!wxPyCheckForApp()) SWIG_fail;
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24984
24985 wxPyEndAllowThreads(__tstate);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 }
24988 {
24989 resultobj = wxPyMake_wxObject(result);
24990 }
24991 {
24992 if (temp7)
24993 delete arg7;
24994 }
24995 return resultobj;
24996 fail:
24997 {
24998 if (temp7)
24999 delete arg7;
25000 }
25001 return NULL;
25002 }
25003
25004
25005 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxPyTreeCtrl *result;
25008 char *kwnames[] = {
25009 NULL
25010 };
25011
25012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25013 {
25014 if (!wxPyCheckForApp()) SWIG_fail;
25015 PyThreadState* __tstate = wxPyBeginAllowThreads();
25016 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25017
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 {
25022 resultobj = wxPyMake_wxObject(result);
25023 }
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25033 wxWindow *arg2 = (wxWindow *) 0 ;
25034 int arg3 = (int) -1 ;
25035 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25036 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25037 wxSize const &arg5_defvalue = wxDefaultSize ;
25038 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25039 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25040 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25041 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25042 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25043 wxString *arg8 = (wxString *) &arg8_defvalue ;
25044 bool result;
25045 wxPoint temp4 ;
25046 wxSize temp5 ;
25047 bool temp8 = False ;
25048 PyObject * obj0 = 0 ;
25049 PyObject * obj1 = 0 ;
25050 PyObject * obj2 = 0 ;
25051 PyObject * obj3 = 0 ;
25052 PyObject * obj4 = 0 ;
25053 PyObject * obj5 = 0 ;
25054 PyObject * obj6 = 0 ;
25055 PyObject * obj7 = 0 ;
25056 char *kwnames[] = {
25057 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25058 };
25059
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25065 if (obj2) {
25066 arg3 = (int) SWIG_AsInt(obj2);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 if (obj3) {
25070 {
25071 arg4 = &temp4;
25072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25073 }
25074 }
25075 if (obj4) {
25076 {
25077 arg5 = &temp5;
25078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25079 }
25080 }
25081 if (obj5) {
25082 arg6 = (long) SWIG_AsLong(obj5);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 if (obj6) {
25086 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25087 SWIG_POINTER_EXCEPTION | 0)) == -1)
25088 SWIG_fail;
25089 if (arg7 == NULL) {
25090 PyErr_SetString(PyExc_TypeError,"null reference");
25091 SWIG_fail;
25092 }
25093 }
25094 if (obj7) {
25095 {
25096 arg8 = wxString_in_helper(obj7);
25097 if (arg8 == NULL) SWIG_fail;
25098 temp8 = True;
25099 }
25100 }
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 {
25109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25110 }
25111 {
25112 if (temp8)
25113 delete arg8;
25114 }
25115 return resultobj;
25116 fail:
25117 {
25118 if (temp8)
25119 delete arg8;
25120 }
25121 return NULL;
25122 }
25123
25124
25125 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj;
25127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25128 PyObject *arg2 = (PyObject *) 0 ;
25129 PyObject *arg3 = (PyObject *) 0 ;
25130 PyObject * obj0 = 0 ;
25131 PyObject * obj1 = 0 ;
25132 PyObject * obj2 = 0 ;
25133 char *kwnames[] = {
25134 (char *) "self",(char *) "self",(char *) "_class", NULL
25135 };
25136
25137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25140 arg2 = obj1;
25141 arg3 = obj2;
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 (arg1)->_setCallbackInfo(arg2,arg3);
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 Py_INCREF(Py_None); resultobj = Py_None;
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj;
25158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25159 size_t result;
25160 PyObject * obj0 = 0 ;
25161 char *kwnames[] = {
25162 (char *) "self", NULL
25163 };
25164
25165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25171
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25176 return resultobj;
25177 fail:
25178 return NULL;
25179 }
25180
25181
25182 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25183 PyObject *resultobj;
25184 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25185 unsigned int result;
25186 PyObject * obj0 = 0 ;
25187 char *kwnames[] = {
25188 (char *) "self", NULL
25189 };
25190
25191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25194 {
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25197
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25202 return resultobj;
25203 fail:
25204 return NULL;
25205 }
25206
25207
25208 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25209 PyObject *resultobj;
25210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25211 unsigned int arg2 ;
25212 PyObject * obj0 = 0 ;
25213 PyObject * obj1 = 0 ;
25214 char *kwnames[] = {
25215 (char *) "self",(char *) "indent", NULL
25216 };
25217
25218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25221 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 (arg1)->SetIndent(arg2);
25226
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 Py_INCREF(Py_None); resultobj = Py_None;
25231 return resultobj;
25232 fail:
25233 return NULL;
25234 }
25235
25236
25237 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25238 PyObject *resultobj;
25239 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25240 unsigned int result;
25241 PyObject * obj0 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "self", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25257 return resultobj;
25258 fail:
25259 return NULL;
25260 }
25261
25262
25263 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj;
25265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25266 unsigned int arg2 ;
25267 PyObject * obj0 = 0 ;
25268 PyObject * obj1 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self",(char *) "spacing", NULL
25271 };
25272
25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25276 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 (arg1)->SetSpacing(arg2);
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 Py_INCREF(Py_None); resultobj = Py_None;
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj;
25294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25295 wxImageList *result;
25296 PyObject * obj0 = 0 ;
25297 char *kwnames[] = {
25298 (char *) "self", NULL
25299 };
25300
25301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25304 {
25305 PyThreadState* __tstate = wxPyBeginAllowThreads();
25306 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25307
25308 wxPyEndAllowThreads(__tstate);
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 {
25312 resultobj = wxPyMake_wxObject(result);
25313 }
25314 return resultobj;
25315 fail:
25316 return NULL;
25317 }
25318
25319
25320 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25321 PyObject *resultobj;
25322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25323 wxImageList *result;
25324 PyObject * obj0 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 {
25340 resultobj = wxPyMake_wxObject(result);
25341 }
25342 return resultobj;
25343 fail:
25344 return NULL;
25345 }
25346
25347
25348 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25349 PyObject *resultobj;
25350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25351 wxImageList *arg2 = (wxImageList *) 0 ;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "imageList", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 (arg1)->SetImageList(arg2);
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 Py_INCREF(Py_None); resultobj = Py_None;
25371 return resultobj;
25372 fail:
25373 return NULL;
25374 }
25375
25376
25377 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj;
25379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25380 wxImageList *arg2 = (wxImageList *) 0 ;
25381 PyObject * obj0 = 0 ;
25382 PyObject * obj1 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "self",(char *) "imageList", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25392 {
25393 PyThreadState* __tstate = wxPyBeginAllowThreads();
25394 (arg1)->SetStateImageList(arg2);
25395
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 Py_INCREF(Py_None); resultobj = Py_None;
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25407 PyObject *resultobj;
25408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25409 wxImageList *arg2 = (wxImageList *) 0 ;
25410 PyObject * obj0 = 0 ;
25411 PyObject * obj1 = 0 ;
25412 char *kwnames[] = {
25413 (char *) "self",(char *) "imageList", NULL
25414 };
25415
25416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) 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_wxImageList,
25420 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 (arg1)->AssignImageList(arg2);
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 Py_INCREF(Py_None); resultobj = Py_None;
25429 return resultobj;
25430 fail:
25431 return NULL;
25432 }
25433
25434
25435 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj;
25437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25438 wxImageList *arg2 = (wxImageList *) 0 ;
25439 PyObject * obj0 = 0 ;
25440 PyObject * obj1 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "self",(char *) "imageList", NULL
25443 };
25444
25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25449 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->AssignStateImageList(arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461 }
25462
25463
25464 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj;
25466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25467 wxTreeItemId *arg2 = 0 ;
25468 wxString result;
25469 PyObject * obj0 = 0 ;
25470 PyObject * obj1 = 0 ;
25471 char *kwnames[] = {
25472 (char *) "self",(char *) "item", NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25479 SWIG_POINTER_EXCEPTION | 0)) == -1)
25480 SWIG_fail;
25481 if (arg2 == NULL) {
25482 PyErr_SetString(PyExc_TypeError,"null reference");
25483 SWIG_fail;
25484 }
25485 {
25486 PyThreadState* __tstate = wxPyBeginAllowThreads();
25487 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25488
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 {
25493 #if wxUSE_UNICODE
25494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25495 #else
25496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25497 #endif
25498 }
25499 return resultobj;
25500 fail:
25501 return NULL;
25502 }
25503
25504
25505 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25506 PyObject *resultobj;
25507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25508 wxTreeItemId *arg2 = 0 ;
25509 int arg3 = (int) wxTreeItemIcon_Normal ;
25510 int result;
25511 PyObject * obj0 = 0 ;
25512 PyObject * obj1 = 0 ;
25513 PyObject * obj2 = 0 ;
25514 char *kwnames[] = {
25515 (char *) "self",(char *) "item",(char *) "which", NULL
25516 };
25517
25518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25522 SWIG_POINTER_EXCEPTION | 0)) == -1)
25523 SWIG_fail;
25524 if (arg2 == NULL) {
25525 PyErr_SetString(PyExc_TypeError,"null reference");
25526 SWIG_fail;
25527 }
25528 if (obj2) {
25529 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 {
25533 PyThreadState* __tstate = wxPyBeginAllowThreads();
25534 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25535
25536 wxPyEndAllowThreads(__tstate);
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 resultobj = SWIG_FromInt((int)result);
25540 return resultobj;
25541 fail:
25542 return NULL;
25543 }
25544
25545
25546 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25547 PyObject *resultobj;
25548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25549 wxTreeItemId *arg2 = 0 ;
25550 wxPyTreeItemData *result;
25551 PyObject * obj0 = 0 ;
25552 PyObject * obj1 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self",(char *) "item", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25561 SWIG_POINTER_EXCEPTION | 0)) == -1)
25562 SWIG_fail;
25563 if (arg2 == NULL) {
25564 PyErr_SetString(PyExc_TypeError,"null reference");
25565 SWIG_fail;
25566 }
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25570
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25575 return resultobj;
25576 fail:
25577 return NULL;
25578 }
25579
25580
25581 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25582 PyObject *resultobj;
25583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25584 wxTreeItemId *arg2 = 0 ;
25585 PyObject *result;
25586 PyObject * obj0 = 0 ;
25587 PyObject * obj1 = 0 ;
25588 char *kwnames[] = {
25589 (char *) "self",(char *) "item", NULL
25590 };
25591
25592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25596 SWIG_POINTER_EXCEPTION | 0)) == -1)
25597 SWIG_fail;
25598 if (arg2 == NULL) {
25599 PyErr_SetString(PyExc_TypeError,"null reference");
25600 SWIG_fail;
25601 }
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25605
25606 wxPyEndAllowThreads(__tstate);
25607 if (PyErr_Occurred()) SWIG_fail;
25608 }
25609 resultobj = result;
25610 return resultobj;
25611 fail:
25612 return NULL;
25613 }
25614
25615
25616 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25617 PyObject *resultobj;
25618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25619 wxTreeItemId *arg2 = 0 ;
25620 wxColour result;
25621 PyObject * obj0 = 0 ;
25622 PyObject * obj1 = 0 ;
25623 char *kwnames[] = {
25624 (char *) "self",(char *) "item", NULL
25625 };
25626
25627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25631 SWIG_POINTER_EXCEPTION | 0)) == -1)
25632 SWIG_fail;
25633 if (arg2 == NULL) {
25634 PyErr_SetString(PyExc_TypeError,"null reference");
25635 SWIG_fail;
25636 }
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25640
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 {
25645 wxColour * resultptr;
25646 resultptr = new wxColour((wxColour &) result);
25647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25648 }
25649 return resultobj;
25650 fail:
25651 return NULL;
25652 }
25653
25654
25655 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25656 PyObject *resultobj;
25657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25658 wxTreeItemId *arg2 = 0 ;
25659 wxColour result;
25660 PyObject * obj0 = 0 ;
25661 PyObject * obj1 = 0 ;
25662 char *kwnames[] = {
25663 (char *) "self",(char *) "item", NULL
25664 };
25665
25666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25670 SWIG_POINTER_EXCEPTION | 0)) == -1)
25671 SWIG_fail;
25672 if (arg2 == NULL) {
25673 PyErr_SetString(PyExc_TypeError,"null reference");
25674 SWIG_fail;
25675 }
25676 {
25677 PyThreadState* __tstate = wxPyBeginAllowThreads();
25678 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25679
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 {
25684 wxColour * resultptr;
25685 resultptr = new wxColour((wxColour &) result);
25686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25687 }
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj;
25696 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25697 wxTreeItemId *arg2 = 0 ;
25698 wxFont result;
25699 PyObject * obj0 = 0 ;
25700 PyObject * obj1 = 0 ;
25701 char *kwnames[] = {
25702 (char *) "self",(char *) "item", NULL
25703 };
25704
25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1)
25710 SWIG_fail;
25711 if (arg2 == NULL) {
25712 PyErr_SetString(PyExc_TypeError,"null reference");
25713 SWIG_fail;
25714 }
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25718
25719 wxPyEndAllowThreads(__tstate);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 }
25722 {
25723 wxFont * resultptr;
25724 resultptr = new wxFont((wxFont &) result);
25725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25726 }
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25736 wxTreeItemId *arg2 = 0 ;
25737 wxString *arg3 = 0 ;
25738 bool temp3 = False ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 PyObject * obj2 = 0 ;
25742 char *kwnames[] = {
25743 (char *) "self",(char *) "item",(char *) "text", NULL
25744 };
25745
25746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25750 SWIG_POINTER_EXCEPTION | 0)) == -1)
25751 SWIG_fail;
25752 if (arg2 == NULL) {
25753 PyErr_SetString(PyExc_TypeError,"null reference");
25754 SWIG_fail;
25755 }
25756 {
25757 arg3 = wxString_in_helper(obj2);
25758 if (arg3 == NULL) SWIG_fail;
25759 temp3 = True;
25760 }
25761 {
25762 PyThreadState* __tstate = wxPyBeginAllowThreads();
25763 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25764
25765 wxPyEndAllowThreads(__tstate);
25766 if (PyErr_Occurred()) SWIG_fail;
25767 }
25768 Py_INCREF(Py_None); resultobj = Py_None;
25769 {
25770 if (temp3)
25771 delete arg3;
25772 }
25773 return resultobj;
25774 fail:
25775 {
25776 if (temp3)
25777 delete arg3;
25778 }
25779 return NULL;
25780 }
25781
25782
25783 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25784 PyObject *resultobj;
25785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25786 wxTreeItemId *arg2 = 0 ;
25787 int arg3 ;
25788 int arg4 = (int) wxTreeItemIcon_Normal ;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 PyObject * obj2 = 0 ;
25792 PyObject * obj3 = 0 ;
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25795 };
25796
25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25801 SWIG_POINTER_EXCEPTION | 0)) == -1)
25802 SWIG_fail;
25803 if (arg2 == NULL) {
25804 PyErr_SetString(PyExc_TypeError,"null reference");
25805 SWIG_fail;
25806 }
25807 arg3 = (int) SWIG_AsInt(obj2);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 if (obj3) {
25810 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 {
25814 PyThreadState* __tstate = wxPyBeginAllowThreads();
25815 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25816
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 Py_INCREF(Py_None); resultobj = Py_None;
25821 return resultobj;
25822 fail:
25823 return NULL;
25824 }
25825
25826
25827 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25828 PyObject *resultobj;
25829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25830 wxTreeItemId *arg2 = 0 ;
25831 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25832 PyObject * obj0 = 0 ;
25833 PyObject * obj1 = 0 ;
25834 PyObject * obj2 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self",(char *) "item",(char *) "data", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) 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 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 Py_INCREF(Py_None); resultobj = Py_None;
25859 return resultobj;
25860 fail:
25861 return NULL;
25862 }
25863
25864
25865 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj;
25867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25868 wxTreeItemId *arg2 = 0 ;
25869 PyObject *arg3 = (PyObject *) 0 ;
25870 PyObject * obj0 = 0 ;
25871 PyObject * obj1 = 0 ;
25872 PyObject * obj2 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "self",(char *) "item",(char *) "obj", NULL
25875 };
25876
25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1)
25882 SWIG_fail;
25883 if (arg2 == NULL) {
25884 PyErr_SetString(PyExc_TypeError,"null reference");
25885 SWIG_fail;
25886 }
25887 arg3 = obj2;
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 Py_INCREF(Py_None); resultobj = Py_None;
25896 return resultobj;
25897 fail:
25898 return NULL;
25899 }
25900
25901
25902 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj;
25904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25905 wxTreeItemId *arg2 = 0 ;
25906 bool arg3 = (bool) True ;
25907 PyObject * obj0 = 0 ;
25908 PyObject * obj1 = 0 ;
25909 PyObject * obj2 = 0 ;
25910 char *kwnames[] = {
25911 (char *) "self",(char *) "item",(char *) "has", NULL
25912 };
25913
25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25918 SWIG_POINTER_EXCEPTION | 0)) == -1)
25919 SWIG_fail;
25920 if (arg2 == NULL) {
25921 PyErr_SetString(PyExc_TypeError,"null reference");
25922 SWIG_fail;
25923 }
25924 if (obj2) {
25925 arg3 = (bool) SWIG_AsBool(obj2);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 Py_INCREF(Py_None); resultobj = Py_None;
25936 return resultobj;
25937 fail:
25938 return NULL;
25939 }
25940
25941
25942 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25943 PyObject *resultobj;
25944 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25945 wxTreeItemId *arg2 = 0 ;
25946 bool arg3 = (bool) True ;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj1 = 0 ;
25949 PyObject * obj2 = 0 ;
25950 char *kwnames[] = {
25951 (char *) "self",(char *) "item",(char *) "bold", NULL
25952 };
25953
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25958 SWIG_POINTER_EXCEPTION | 0)) == -1)
25959 SWIG_fail;
25960 if (arg2 == NULL) {
25961 PyErr_SetString(PyExc_TypeError,"null reference");
25962 SWIG_fail;
25963 }
25964 if (obj2) {
25965 arg3 = (bool) SWIG_AsBool(obj2);
25966 if (PyErr_Occurred()) SWIG_fail;
25967 }
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25971
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 Py_INCREF(Py_None); resultobj = Py_None;
25976 return resultobj;
25977 fail:
25978 return NULL;
25979 }
25980
25981
25982 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj;
25984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25985 wxTreeItemId *arg2 = 0 ;
25986 wxColour *arg3 = 0 ;
25987 wxColour temp3 ;
25988 PyObject * obj0 = 0 ;
25989 PyObject * obj1 = 0 ;
25990 PyObject * obj2 = 0 ;
25991 char *kwnames[] = {
25992 (char *) "self",(char *) "item",(char *) "col", NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25999 SWIG_POINTER_EXCEPTION | 0)) == -1)
26000 SWIG_fail;
26001 if (arg2 == NULL) {
26002 PyErr_SetString(PyExc_TypeError,"null reference");
26003 SWIG_fail;
26004 }
26005 {
26006 arg3 = &temp3;
26007 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26008 }
26009 {
26010 PyThreadState* __tstate = wxPyBeginAllowThreads();
26011 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26012
26013 wxPyEndAllowThreads(__tstate);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 Py_INCREF(Py_None); resultobj = Py_None;
26017 return resultobj;
26018 fail:
26019 return NULL;
26020 }
26021
26022
26023 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26024 PyObject *resultobj;
26025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26026 wxTreeItemId *arg2 = 0 ;
26027 wxColour *arg3 = 0 ;
26028 wxColour temp3 ;
26029 PyObject * obj0 = 0 ;
26030 PyObject * obj1 = 0 ;
26031 PyObject * obj2 = 0 ;
26032 char *kwnames[] = {
26033 (char *) "self",(char *) "item",(char *) "col", NULL
26034 };
26035
26036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26040 SWIG_POINTER_EXCEPTION | 0)) == -1)
26041 SWIG_fail;
26042 if (arg2 == NULL) {
26043 PyErr_SetString(PyExc_TypeError,"null reference");
26044 SWIG_fail;
26045 }
26046 {
26047 arg3 = &temp3;
26048 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26049 }
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 Py_INCREF(Py_None); resultobj = Py_None;
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj;
26066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26067 wxTreeItemId *arg2 = 0 ;
26068 wxFont *arg3 = 0 ;
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 PyObject * obj2 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self",(char *) "item",(char *) "font", NULL
26074 };
26075
26076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26080 SWIG_POINTER_EXCEPTION | 0)) == -1)
26081 SWIG_fail;
26082 if (arg2 == NULL) {
26083 PyErr_SetString(PyExc_TypeError,"null reference");
26084 SWIG_fail;
26085 }
26086 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26087 SWIG_POINTER_EXCEPTION | 0)) == -1)
26088 SWIG_fail;
26089 if (arg3 == NULL) {
26090 PyErr_SetString(PyExc_TypeError,"null reference");
26091 SWIG_fail;
26092 }
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26096
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 Py_INCREF(Py_None); resultobj = Py_None;
26101 return resultobj;
26102 fail:
26103 return NULL;
26104 }
26105
26106
26107 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26108 PyObject *resultobj;
26109 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26110 wxTreeItemId *arg2 = 0 ;
26111 bool result;
26112 PyObject * obj0 = 0 ;
26113 PyObject * obj1 = 0 ;
26114 char *kwnames[] = {
26115 (char *) "self",(char *) "item", NULL
26116 };
26117
26118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26122 SWIG_POINTER_EXCEPTION | 0)) == -1)
26123 SWIG_fail;
26124 if (arg2 == NULL) {
26125 PyErr_SetString(PyExc_TypeError,"null reference");
26126 SWIG_fail;
26127 }
26128 {
26129 PyThreadState* __tstate = wxPyBeginAllowThreads();
26130 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26131
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 {
26136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26137 }
26138 return resultobj;
26139 fail:
26140 return NULL;
26141 }
26142
26143
26144 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26147 wxTreeItemId *arg2 = 0 ;
26148 bool result;
26149 PyObject * obj0 = 0 ;
26150 PyObject * obj1 = 0 ;
26151 char *kwnames[] = {
26152 (char *) "self",(char *) "item", NULL
26153 };
26154
26155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26159 SWIG_POINTER_EXCEPTION | 0)) == -1)
26160 SWIG_fail;
26161 if (arg2 == NULL) {
26162 PyErr_SetString(PyExc_TypeError,"null reference");
26163 SWIG_fail;
26164 }
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26168
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 {
26173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26174 }
26175 return resultobj;
26176 fail:
26177 return NULL;
26178 }
26179
26180
26181 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26182 PyObject *resultobj;
26183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26184 wxTreeItemId *arg2 = 0 ;
26185 bool result;
26186 PyObject * obj0 = 0 ;
26187 PyObject * obj1 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self",(char *) "item", NULL
26190 };
26191
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26196 SWIG_POINTER_EXCEPTION | 0)) == -1)
26197 SWIG_fail;
26198 if (arg2 == NULL) {
26199 PyErr_SetString(PyExc_TypeError,"null reference");
26200 SWIG_fail;
26201 }
26202 {
26203 PyThreadState* __tstate = wxPyBeginAllowThreads();
26204 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26205
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 {
26210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26211 }
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj;
26220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26221 wxTreeItemId *arg2 = 0 ;
26222 bool result;
26223 PyObject * obj0 = 0 ;
26224 PyObject * obj1 = 0 ;
26225 char *kwnames[] = {
26226 (char *) "self",(char *) "item", NULL
26227 };
26228
26229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26233 SWIG_POINTER_EXCEPTION | 0)) == -1)
26234 SWIG_fail;
26235 if (arg2 == NULL) {
26236 PyErr_SetString(PyExc_TypeError,"null reference");
26237 SWIG_fail;
26238 }
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 {
26247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26248 }
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj;
26257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26258 wxTreeItemId *arg2 = 0 ;
26259 bool result;
26260 PyObject * obj0 = 0 ;
26261 PyObject * obj1 = 0 ;
26262 char *kwnames[] = {
26263 (char *) "self",(char *) "item", NULL
26264 };
26265
26266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26270 SWIG_POINTER_EXCEPTION | 0)) == -1)
26271 SWIG_fail;
26272 if (arg2 == NULL) {
26273 PyErr_SetString(PyExc_TypeError,"null reference");
26274 SWIG_fail;
26275 }
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26279
26280 wxPyEndAllowThreads(__tstate);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 }
26283 {
26284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26285 }
26286 return resultobj;
26287 fail:
26288 return NULL;
26289 }
26290
26291
26292 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26295 wxTreeItemId *arg2 = 0 ;
26296 bool arg3 = (bool) True ;
26297 size_t result;
26298 PyObject * obj0 = 0 ;
26299 PyObject * obj1 = 0 ;
26300 PyObject * obj2 = 0 ;
26301 char *kwnames[] = {
26302 (char *) "self",(char *) "item",(char *) "recursively", NULL
26303 };
26304
26305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1)
26310 SWIG_fail;
26311 if (arg2 == NULL) {
26312 PyErr_SetString(PyExc_TypeError,"null reference");
26313 SWIG_fail;
26314 }
26315 if (obj2) {
26316 arg3 = (bool) SWIG_AsBool(obj2);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 {
26320 PyThreadState* __tstate = wxPyBeginAllowThreads();
26321 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26322
26323 wxPyEndAllowThreads(__tstate);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 }
26326 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26327 return resultobj;
26328 fail:
26329 return NULL;
26330 }
26331
26332
26333 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26334 PyObject *resultobj;
26335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26336 wxTreeItemId result;
26337 PyObject * obj0 = 0 ;
26338 char *kwnames[] = {
26339 (char *) "self", NULL
26340 };
26341
26342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 {
26353 wxTreeItemId * resultptr;
26354 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26356 }
26357 return resultobj;
26358 fail:
26359 return NULL;
26360 }
26361
26362
26363 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26364 PyObject *resultobj;
26365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26366 wxTreeItemId result;
26367 PyObject * obj0 = 0 ;
26368 char *kwnames[] = {
26369 (char *) "self", NULL
26370 };
26371
26372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26378
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 {
26383 wxTreeItemId * resultptr;
26384 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26386 }
26387 return resultobj;
26388 fail:
26389 return NULL;
26390 }
26391
26392
26393 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26394 PyObject *resultobj;
26395 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26396 PyObject *result;
26397 PyObject * obj0 = 0 ;
26398 char *kwnames[] = {
26399 (char *) "self", NULL
26400 };
26401
26402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26408
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
26412 resultobj = result;
26413 return resultobj;
26414 fail:
26415 return NULL;
26416 }
26417
26418
26419 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26420 PyObject *resultobj;
26421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26422 wxTreeItemId *arg2 = 0 ;
26423 wxTreeItemId result;
26424 PyObject * obj0 = 0 ;
26425 PyObject * obj1 = 0 ;
26426 char *kwnames[] = {
26427 (char *) "self",(char *) "item", NULL
26428 };
26429
26430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26434 SWIG_POINTER_EXCEPTION | 0)) == -1)
26435 SWIG_fail;
26436 if (arg2 == NULL) {
26437 PyErr_SetString(PyExc_TypeError,"null reference");
26438 SWIG_fail;
26439 }
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 {
26448 wxTreeItemId * resultptr;
26449 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455 }
26456
26457
26458 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26461 wxTreeItemId *arg2 = 0 ;
26462 PyObject *result;
26463 PyObject * obj0 = 0 ;
26464 PyObject * obj1 = 0 ;
26465 char *kwnames[] = {
26466 (char *) "self",(char *) "item", NULL
26467 };
26468
26469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26473 SWIG_POINTER_EXCEPTION | 0)) == -1)
26474 SWIG_fail;
26475 if (arg2 == NULL) {
26476 PyErr_SetString(PyExc_TypeError,"null reference");
26477 SWIG_fail;
26478 }
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26482
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 resultobj = result;
26487 return resultobj;
26488 fail:
26489 return NULL;
26490 }
26491
26492
26493 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26494 PyObject *resultobj;
26495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26496 wxTreeItemId *arg2 = 0 ;
26497 void *arg3 = (void *) 0 ;
26498 PyObject *result;
26499 PyObject * obj0 = 0 ;
26500 PyObject * obj1 = 0 ;
26501 PyObject * obj2 = 0 ;
26502 char *kwnames[] = {
26503 (char *) "self",(char *) "item",(char *) "cookie", NULL
26504 };
26505
26506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26510 SWIG_POINTER_EXCEPTION | 0)) == -1)
26511 SWIG_fail;
26512 if (arg2 == NULL) {
26513 PyErr_SetString(PyExc_TypeError,"null reference");
26514 SWIG_fail;
26515 }
26516 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 resultobj = result;
26525 return resultobj;
26526 fail:
26527 return NULL;
26528 }
26529
26530
26531 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26532 PyObject *resultobj;
26533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26534 wxTreeItemId *arg2 = 0 ;
26535 wxTreeItemId result;
26536 PyObject * obj0 = 0 ;
26537 PyObject * obj1 = 0 ;
26538 char *kwnames[] = {
26539 (char *) "self",(char *) "item", NULL
26540 };
26541
26542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26546 SWIG_POINTER_EXCEPTION | 0)) == -1)
26547 SWIG_fail;
26548 if (arg2 == NULL) {
26549 PyErr_SetString(PyExc_TypeError,"null reference");
26550 SWIG_fail;
26551 }
26552 {
26553 PyThreadState* __tstate = wxPyBeginAllowThreads();
26554 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26555
26556 wxPyEndAllowThreads(__tstate);
26557 if (PyErr_Occurred()) SWIG_fail;
26558 }
26559 {
26560 wxTreeItemId * resultptr;
26561 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26563 }
26564 return resultobj;
26565 fail:
26566 return NULL;
26567 }
26568
26569
26570 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26571 PyObject *resultobj;
26572 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26573 wxTreeItemId *arg2 = 0 ;
26574 wxTreeItemId result;
26575 PyObject * obj0 = 0 ;
26576 PyObject * obj1 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self",(char *) "item", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26585 SWIG_POINTER_EXCEPTION | 0)) == -1)
26586 SWIG_fail;
26587 if (arg2 == NULL) {
26588 PyErr_SetString(PyExc_TypeError,"null reference");
26589 SWIG_fail;
26590 }
26591 {
26592 PyThreadState* __tstate = wxPyBeginAllowThreads();
26593 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26594
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 {
26599 wxTreeItemId * resultptr;
26600 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26602 }
26603 return resultobj;
26604 fail:
26605 return NULL;
26606 }
26607
26608
26609 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26610 PyObject *resultobj;
26611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26612 wxTreeItemId *arg2 = 0 ;
26613 wxTreeItemId result;
26614 PyObject * obj0 = 0 ;
26615 PyObject * obj1 = 0 ;
26616 char *kwnames[] = {
26617 (char *) "self",(char *) "item", NULL
26618 };
26619
26620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26624 SWIG_POINTER_EXCEPTION | 0)) == -1)
26625 SWIG_fail;
26626 if (arg2 == NULL) {
26627 PyErr_SetString(PyExc_TypeError,"null reference");
26628 SWIG_fail;
26629 }
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26633
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 {
26638 wxTreeItemId * resultptr;
26639 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26641 }
26642 return resultobj;
26643 fail:
26644 return NULL;
26645 }
26646
26647
26648 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26649 PyObject *resultobj;
26650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26651 wxTreeItemId result;
26652 PyObject * obj0 = 0 ;
26653 char *kwnames[] = {
26654 (char *) "self", NULL
26655 };
26656
26657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26660 {
26661 PyThreadState* __tstate = wxPyBeginAllowThreads();
26662 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26663
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 {
26668 wxTreeItemId * resultptr;
26669 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26671 }
26672 return resultobj;
26673 fail:
26674 return NULL;
26675 }
26676
26677
26678 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26679 PyObject *resultobj;
26680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26681 wxTreeItemId *arg2 = 0 ;
26682 wxTreeItemId result;
26683 PyObject * obj0 = 0 ;
26684 PyObject * obj1 = 0 ;
26685 char *kwnames[] = {
26686 (char *) "self",(char *) "item", NULL
26687 };
26688
26689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26693 SWIG_POINTER_EXCEPTION | 0)) == -1)
26694 SWIG_fail;
26695 if (arg2 == NULL) {
26696 PyErr_SetString(PyExc_TypeError,"null reference");
26697 SWIG_fail;
26698 }
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26702
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 {
26707 wxTreeItemId * resultptr;
26708 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26710 }
26711 return resultobj;
26712 fail:
26713 return NULL;
26714 }
26715
26716
26717 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26718 PyObject *resultobj;
26719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26720 wxTreeItemId *arg2 = 0 ;
26721 wxTreeItemId result;
26722 PyObject * obj0 = 0 ;
26723 PyObject * obj1 = 0 ;
26724 char *kwnames[] = {
26725 (char *) "self",(char *) "item", NULL
26726 };
26727
26728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26732 SWIG_POINTER_EXCEPTION | 0)) == -1)
26733 SWIG_fail;
26734 if (arg2 == NULL) {
26735 PyErr_SetString(PyExc_TypeError,"null reference");
26736 SWIG_fail;
26737 }
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26741
26742 wxPyEndAllowThreads(__tstate);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 }
26745 {
26746 wxTreeItemId * resultptr;
26747 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26749 }
26750 return resultobj;
26751 fail:
26752 return NULL;
26753 }
26754
26755
26756 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26757 PyObject *resultobj;
26758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26759 wxString *arg2 = 0 ;
26760 int arg3 = (int) -1 ;
26761 int arg4 = (int) -1 ;
26762 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26763 wxTreeItemId result;
26764 bool temp2 = False ;
26765 PyObject * obj0 = 0 ;
26766 PyObject * obj1 = 0 ;
26767 PyObject * obj2 = 0 ;
26768 PyObject * obj3 = 0 ;
26769 PyObject * obj4 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26777 {
26778 arg2 = wxString_in_helper(obj1);
26779 if (arg2 == NULL) SWIG_fail;
26780 temp2 = True;
26781 }
26782 if (obj2) {
26783 arg3 = (int) SWIG_AsInt(obj2);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 if (obj3) {
26787 arg4 = (int) SWIG_AsInt(obj3);
26788 if (PyErr_Occurred()) SWIG_fail;
26789 }
26790 if (obj4) {
26791 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26793 }
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 {
26802 wxTreeItemId * resultptr;
26803 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26805 }
26806 {
26807 if (temp2)
26808 delete arg2;
26809 }
26810 return resultobj;
26811 fail:
26812 {
26813 if (temp2)
26814 delete arg2;
26815 }
26816 return NULL;
26817 }
26818
26819
26820 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26821 PyObject *resultobj;
26822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26823 wxTreeItemId *arg2 = 0 ;
26824 wxString *arg3 = 0 ;
26825 int arg4 = (int) -1 ;
26826 int arg5 = (int) -1 ;
26827 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26828 wxTreeItemId result;
26829 bool temp3 = False ;
26830 PyObject * obj0 = 0 ;
26831 PyObject * obj1 = 0 ;
26832 PyObject * obj2 = 0 ;
26833 PyObject * obj3 = 0 ;
26834 PyObject * obj4 = 0 ;
26835 PyObject * obj5 = 0 ;
26836 char *kwnames[] = {
26837 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26838 };
26839
26840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26844 SWIG_POINTER_EXCEPTION | 0)) == -1)
26845 SWIG_fail;
26846 if (arg2 == NULL) {
26847 PyErr_SetString(PyExc_TypeError,"null reference");
26848 SWIG_fail;
26849 }
26850 {
26851 arg3 = wxString_in_helper(obj2);
26852 if (arg3 == NULL) SWIG_fail;
26853 temp3 = True;
26854 }
26855 if (obj3) {
26856 arg4 = (int) SWIG_AsInt(obj3);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
26859 if (obj4) {
26860 arg5 = (int) SWIG_AsInt(obj4);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
26863 if (obj5) {
26864 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26866 }
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26870
26871 wxPyEndAllowThreads(__tstate);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 }
26874 {
26875 wxTreeItemId * resultptr;
26876 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26878 }
26879 {
26880 if (temp3)
26881 delete arg3;
26882 }
26883 return resultobj;
26884 fail:
26885 {
26886 if (temp3)
26887 delete arg3;
26888 }
26889 return NULL;
26890 }
26891
26892
26893 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26894 PyObject *resultobj;
26895 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26896 wxTreeItemId *arg2 = 0 ;
26897 wxTreeItemId *arg3 = 0 ;
26898 wxString *arg4 = 0 ;
26899 int arg5 = (int) -1 ;
26900 int arg6 = (int) -1 ;
26901 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26902 wxTreeItemId result;
26903 bool temp4 = False ;
26904 PyObject * obj0 = 0 ;
26905 PyObject * obj1 = 0 ;
26906 PyObject * obj2 = 0 ;
26907 PyObject * obj3 = 0 ;
26908 PyObject * obj4 = 0 ;
26909 PyObject * obj5 = 0 ;
26910 PyObject * obj6 = 0 ;
26911 char *kwnames[] = {
26912 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26913 };
26914
26915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26919 SWIG_POINTER_EXCEPTION | 0)) == -1)
26920 SWIG_fail;
26921 if (arg2 == NULL) {
26922 PyErr_SetString(PyExc_TypeError,"null reference");
26923 SWIG_fail;
26924 }
26925 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26926 SWIG_POINTER_EXCEPTION | 0)) == -1)
26927 SWIG_fail;
26928 if (arg3 == NULL) {
26929 PyErr_SetString(PyExc_TypeError,"null reference");
26930 SWIG_fail;
26931 }
26932 {
26933 arg4 = wxString_in_helper(obj3);
26934 if (arg4 == NULL) SWIG_fail;
26935 temp4 = True;
26936 }
26937 if (obj4) {
26938 arg5 = (int) SWIG_AsInt(obj4);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 if (obj5) {
26942 arg6 = (int) SWIG_AsInt(obj5);
26943 if (PyErr_Occurred()) SWIG_fail;
26944 }
26945 if (obj6) {
26946 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 {
26957 wxTreeItemId * resultptr;
26958 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26960 }
26961 {
26962 if (temp4)
26963 delete arg4;
26964 }
26965 return resultobj;
26966 fail:
26967 {
26968 if (temp4)
26969 delete arg4;
26970 }
26971 return NULL;
26972 }
26973
26974
26975 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26976 PyObject *resultobj;
26977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26978 wxTreeItemId *arg2 = 0 ;
26979 size_t arg3 ;
26980 wxString *arg4 = 0 ;
26981 int arg5 = (int) -1 ;
26982 int arg6 = (int) -1 ;
26983 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26984 wxTreeItemId result;
26985 bool temp4 = False ;
26986 PyObject * obj0 = 0 ;
26987 PyObject * obj1 = 0 ;
26988 PyObject * obj2 = 0 ;
26989 PyObject * obj3 = 0 ;
26990 PyObject * obj4 = 0 ;
26991 PyObject * obj5 = 0 ;
26992 PyObject * obj6 = 0 ;
26993 char *kwnames[] = {
26994 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26995 };
26996
26997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27001 SWIG_POINTER_EXCEPTION | 0)) == -1)
27002 SWIG_fail;
27003 if (arg2 == NULL) {
27004 PyErr_SetString(PyExc_TypeError,"null reference");
27005 SWIG_fail;
27006 }
27007 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 {
27010 arg4 = wxString_in_helper(obj3);
27011 if (arg4 == NULL) SWIG_fail;
27012 temp4 = True;
27013 }
27014 if (obj4) {
27015 arg5 = (int) SWIG_AsInt(obj4);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 if (obj5) {
27019 arg6 = (int) SWIG_AsInt(obj5);
27020 if (PyErr_Occurred()) SWIG_fail;
27021 }
27022 if (obj6) {
27023 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27025 }
27026 {
27027 PyThreadState* __tstate = wxPyBeginAllowThreads();
27028 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27029
27030 wxPyEndAllowThreads(__tstate);
27031 if (PyErr_Occurred()) SWIG_fail;
27032 }
27033 {
27034 wxTreeItemId * resultptr;
27035 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27037 }
27038 {
27039 if (temp4)
27040 delete arg4;
27041 }
27042 return resultobj;
27043 fail:
27044 {
27045 if (temp4)
27046 delete arg4;
27047 }
27048 return NULL;
27049 }
27050
27051
27052 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27053 PyObject *resultobj;
27054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27055 wxTreeItemId *arg2 = 0 ;
27056 wxString *arg3 = 0 ;
27057 int arg4 = (int) -1 ;
27058 int arg5 = (int) -1 ;
27059 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27060 wxTreeItemId result;
27061 bool temp3 = False ;
27062 PyObject * obj0 = 0 ;
27063 PyObject * obj1 = 0 ;
27064 PyObject * obj2 = 0 ;
27065 PyObject * obj3 = 0 ;
27066 PyObject * obj4 = 0 ;
27067 PyObject * obj5 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27076 SWIG_POINTER_EXCEPTION | 0)) == -1)
27077 SWIG_fail;
27078 if (arg2 == NULL) {
27079 PyErr_SetString(PyExc_TypeError,"null reference");
27080 SWIG_fail;
27081 }
27082 {
27083 arg3 = wxString_in_helper(obj2);
27084 if (arg3 == NULL) SWIG_fail;
27085 temp3 = True;
27086 }
27087 if (obj3) {
27088 arg4 = (int) SWIG_AsInt(obj3);
27089 if (PyErr_Occurred()) SWIG_fail;
27090 }
27091 if (obj4) {
27092 arg5 = (int) SWIG_AsInt(obj4);
27093 if (PyErr_Occurred()) SWIG_fail;
27094 }
27095 if (obj5) {
27096 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27098 }
27099 {
27100 PyThreadState* __tstate = wxPyBeginAllowThreads();
27101 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27102
27103 wxPyEndAllowThreads(__tstate);
27104 if (PyErr_Occurred()) SWIG_fail;
27105 }
27106 {
27107 wxTreeItemId * resultptr;
27108 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27110 }
27111 {
27112 if (temp3)
27113 delete arg3;
27114 }
27115 return resultobj;
27116 fail:
27117 {
27118 if (temp3)
27119 delete arg3;
27120 }
27121 return NULL;
27122 }
27123
27124
27125 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27126 PyObject *resultobj;
27127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27128 wxTreeItemId *arg2 = 0 ;
27129 PyObject * obj0 = 0 ;
27130 PyObject * obj1 = 0 ;
27131 char *kwnames[] = {
27132 (char *) "self",(char *) "item", NULL
27133 };
27134
27135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27139 SWIG_POINTER_EXCEPTION | 0)) == -1)
27140 SWIG_fail;
27141 if (arg2 == NULL) {
27142 PyErr_SetString(PyExc_TypeError,"null reference");
27143 SWIG_fail;
27144 }
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 (arg1)->Delete((wxTreeItemId const &)*arg2);
27148
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 Py_INCREF(Py_None); resultobj = Py_None;
27153 return resultobj;
27154 fail:
27155 return NULL;
27156 }
27157
27158
27159 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27160 PyObject *resultobj;
27161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27162 wxTreeItemId *arg2 = 0 ;
27163 PyObject * obj0 = 0 ;
27164 PyObject * obj1 = 0 ;
27165 char *kwnames[] = {
27166 (char *) "self",(char *) "item", NULL
27167 };
27168
27169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27173 SWIG_POINTER_EXCEPTION | 0)) == -1)
27174 SWIG_fail;
27175 if (arg2 == NULL) {
27176 PyErr_SetString(PyExc_TypeError,"null reference");
27177 SWIG_fail;
27178 }
27179 {
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27182
27183 wxPyEndAllowThreads(__tstate);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 Py_INCREF(Py_None); resultobj = Py_None;
27187 return resultobj;
27188 fail:
27189 return NULL;
27190 }
27191
27192
27193 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj;
27195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27196 PyObject * obj0 = 0 ;
27197 char *kwnames[] = {
27198 (char *) "self", NULL
27199 };
27200
27201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 (arg1)->DeleteAllItems();
27207
27208 wxPyEndAllowThreads(__tstate);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 }
27211 Py_INCREF(Py_None); resultobj = Py_None;
27212 return resultobj;
27213 fail:
27214 return NULL;
27215 }
27216
27217
27218 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27219 PyObject *resultobj;
27220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27221 wxTreeItemId *arg2 = 0 ;
27222 PyObject * obj0 = 0 ;
27223 PyObject * obj1 = 0 ;
27224 char *kwnames[] = {
27225 (char *) "self",(char *) "item", NULL
27226 };
27227
27228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27232 SWIG_POINTER_EXCEPTION | 0)) == -1)
27233 SWIG_fail;
27234 if (arg2 == NULL) {
27235 PyErr_SetString(PyExc_TypeError,"null reference");
27236 SWIG_fail;
27237 }
27238 {
27239 PyThreadState* __tstate = wxPyBeginAllowThreads();
27240 (arg1)->Expand((wxTreeItemId const &)*arg2);
27241
27242 wxPyEndAllowThreads(__tstate);
27243 if (PyErr_Occurred()) SWIG_fail;
27244 }
27245 Py_INCREF(Py_None); resultobj = Py_None;
27246 return resultobj;
27247 fail:
27248 return NULL;
27249 }
27250
27251
27252 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27253 PyObject *resultobj;
27254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27255 wxTreeItemId *arg2 = 0 ;
27256 PyObject * obj0 = 0 ;
27257 PyObject * obj1 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self",(char *) "item", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27266 SWIG_POINTER_EXCEPTION | 0)) == -1)
27267 SWIG_fail;
27268 if (arg2 == NULL) {
27269 PyErr_SetString(PyExc_TypeError,"null reference");
27270 SWIG_fail;
27271 }
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27275
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 Py_INCREF(Py_None); resultobj = Py_None;
27280 return resultobj;
27281 fail:
27282 return NULL;
27283 }
27284
27285
27286 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27287 PyObject *resultobj;
27288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27289 wxTreeItemId *arg2 = 0 ;
27290 PyObject * obj0 = 0 ;
27291 PyObject * obj1 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self",(char *) "item", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27300 SWIG_POINTER_EXCEPTION | 0)) == -1)
27301 SWIG_fail;
27302 if (arg2 == NULL) {
27303 PyErr_SetString(PyExc_TypeError,"null reference");
27304 SWIG_fail;
27305 }
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27309
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 Py_INCREF(Py_None); resultobj = Py_None;
27314 return resultobj;
27315 fail:
27316 return NULL;
27317 }
27318
27319
27320 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27321 PyObject *resultobj;
27322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27323 wxTreeItemId *arg2 = 0 ;
27324 PyObject * obj0 = 0 ;
27325 PyObject * obj1 = 0 ;
27326 char *kwnames[] = {
27327 (char *) "self",(char *) "item", NULL
27328 };
27329
27330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27334 SWIG_POINTER_EXCEPTION | 0)) == -1)
27335 SWIG_fail;
27336 if (arg2 == NULL) {
27337 PyErr_SetString(PyExc_TypeError,"null reference");
27338 SWIG_fail;
27339 }
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27343
27344 wxPyEndAllowThreads(__tstate);
27345 if (PyErr_Occurred()) SWIG_fail;
27346 }
27347 Py_INCREF(Py_None); resultobj = Py_None;
27348 return resultobj;
27349 fail:
27350 return NULL;
27351 }
27352
27353
27354 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27355 PyObject *resultobj;
27356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 (arg1)->Unselect();
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 Py_INCREF(Py_None); resultobj = Py_None;
27373 return resultobj;
27374 fail:
27375 return NULL;
27376 }
27377
27378
27379 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27380 PyObject *resultobj;
27381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27382 wxTreeItemId *arg2 = 0 ;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 char *kwnames[] = {
27386 (char *) "self",(char *) "item", NULL
27387 };
27388
27389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27393 SWIG_POINTER_EXCEPTION | 0)) == -1)
27394 SWIG_fail;
27395 if (arg2 == NULL) {
27396 PyErr_SetString(PyExc_TypeError,"null reference");
27397 SWIG_fail;
27398 }
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 Py_INCREF(Py_None); resultobj = Py_None;
27407 return resultobj;
27408 fail:
27409 return NULL;
27410 }
27411
27412
27413 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27414 PyObject *resultobj;
27415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27416 PyObject * obj0 = 0 ;
27417 char *kwnames[] = {
27418 (char *) "self", NULL
27419 };
27420
27421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 (arg1)->UnselectAll();
27427
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 Py_INCREF(Py_None); resultobj = Py_None;
27432 return resultobj;
27433 fail:
27434 return NULL;
27435 }
27436
27437
27438 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj;
27440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27441 wxTreeItemId *arg2 = 0 ;
27442 bool arg3 = (bool) True ;
27443 PyObject * obj0 = 0 ;
27444 PyObject * obj1 = 0 ;
27445 PyObject * obj2 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self",(char *) "item",(char *) "select", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1)
27455 SWIG_fail;
27456 if (arg2 == NULL) {
27457 PyErr_SetString(PyExc_TypeError,"null reference");
27458 SWIG_fail;
27459 }
27460 if (obj2) {
27461 arg3 = (bool) SWIG_AsBool(obj2);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 }
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27467
27468 wxPyEndAllowThreads(__tstate);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 Py_INCREF(Py_None); resultobj = Py_None;
27472 return resultobj;
27473 fail:
27474 return NULL;
27475 }
27476
27477
27478 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27479 PyObject *resultobj;
27480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27481 wxTreeItemId *arg2 = 0 ;
27482 PyObject * obj0 = 0 ;
27483 PyObject * obj1 = 0 ;
27484 char *kwnames[] = {
27485 (char *) "self",(char *) "item", NULL
27486 };
27487
27488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27492 SWIG_POINTER_EXCEPTION | 0)) == -1)
27493 SWIG_fail;
27494 if (arg2 == NULL) {
27495 PyErr_SetString(PyExc_TypeError,"null reference");
27496 SWIG_fail;
27497 }
27498 {
27499 PyThreadState* __tstate = wxPyBeginAllowThreads();
27500 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27501
27502 wxPyEndAllowThreads(__tstate);
27503 if (PyErr_Occurred()) SWIG_fail;
27504 }
27505 Py_INCREF(Py_None); resultobj = Py_None;
27506 return resultobj;
27507 fail:
27508 return NULL;
27509 }
27510
27511
27512 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27513 PyObject *resultobj;
27514 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27515 wxTreeItemId *arg2 = 0 ;
27516 PyObject * obj0 = 0 ;
27517 PyObject * obj1 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self",(char *) "item", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27526 SWIG_POINTER_EXCEPTION | 0)) == -1)
27527 SWIG_fail;
27528 if (arg2 == NULL) {
27529 PyErr_SetString(PyExc_TypeError,"null reference");
27530 SWIG_fail;
27531 }
27532 {
27533 PyThreadState* __tstate = wxPyBeginAllowThreads();
27534 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27535
27536 wxPyEndAllowThreads(__tstate);
27537 if (PyErr_Occurred()) SWIG_fail;
27538 }
27539 Py_INCREF(Py_None); resultobj = Py_None;
27540 return resultobj;
27541 fail:
27542 return NULL;
27543 }
27544
27545
27546 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27547 PyObject *resultobj;
27548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27549 wxTreeItemId *arg2 = 0 ;
27550 PyObject * obj0 = 0 ;
27551 PyObject * obj1 = 0 ;
27552 char *kwnames[] = {
27553 (char *) "self",(char *) "item", NULL
27554 };
27555
27556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27560 SWIG_POINTER_EXCEPTION | 0)) == -1)
27561 SWIG_fail;
27562 if (arg2 == NULL) {
27563 PyErr_SetString(PyExc_TypeError,"null reference");
27564 SWIG_fail;
27565 }
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27569
27570 wxPyEndAllowThreads(__tstate);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 Py_INCREF(Py_None); resultobj = Py_None;
27574 return resultobj;
27575 fail:
27576 return NULL;
27577 }
27578
27579
27580 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27581 PyObject *resultobj;
27582 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27583 wxTreeItemId *arg2 = 0 ;
27584 PyObject * obj0 = 0 ;
27585 PyObject * obj1 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self",(char *) "item", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27594 SWIG_POINTER_EXCEPTION | 0)) == -1)
27595 SWIG_fail;
27596 if (arg2 == NULL) {
27597 PyErr_SetString(PyExc_TypeError,"null reference");
27598 SWIG_fail;
27599 }
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27603
27604 wxPyEndAllowThreads(__tstate);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 }
27607 Py_INCREF(Py_None); resultobj = Py_None;
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj;
27616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27617 wxTextCtrl *result;
27618 PyObject * obj0 = 0 ;
27619 char *kwnames[] = {
27620 (char *) "self", NULL
27621 };
27622
27623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27626 {
27627 PyThreadState* __tstate = wxPyBeginAllowThreads();
27628 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27629
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 {
27634 resultobj = wxPyMake_wxObject(result);
27635 }
27636 return resultobj;
27637 fail:
27638 return NULL;
27639 }
27640
27641
27642 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27643 PyObject *resultobj;
27644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27645 wxTreeItemId *arg2 = 0 ;
27646 PyObject * obj0 = 0 ;
27647 PyObject * obj1 = 0 ;
27648 char *kwnames[] = {
27649 (char *) "self",(char *) "item", NULL
27650 };
27651
27652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27656 SWIG_POINTER_EXCEPTION | 0)) == -1)
27657 SWIG_fail;
27658 if (arg2 == NULL) {
27659 PyErr_SetString(PyExc_TypeError,"null reference");
27660 SWIG_fail;
27661 }
27662 {
27663 PyThreadState* __tstate = wxPyBeginAllowThreads();
27664 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27665
27666 wxPyEndAllowThreads(__tstate);
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 Py_INCREF(Py_None); resultobj = Py_None;
27670 return resultobj;
27671 fail:
27672 return NULL;
27673 }
27674
27675
27676 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27677 PyObject *resultobj;
27678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27679 wxPoint *arg2 = 0 ;
27680 int *arg3 = 0 ;
27681 wxTreeItemId result;
27682 wxPoint temp2 ;
27683 int temp3 ;
27684 PyObject * obj0 = 0 ;
27685 PyObject * obj1 = 0 ;
27686 char *kwnames[] = {
27687 (char *) "self",(char *) "point", NULL
27688 };
27689
27690 arg3 = &temp3;
27691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27694 {
27695 arg2 = &temp2;
27696 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27697 }
27698 {
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27701
27702 wxPyEndAllowThreads(__tstate);
27703 if (PyErr_Occurred()) SWIG_fail;
27704 }
27705 {
27706 wxTreeItemId * resultptr;
27707 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27709 }
27710 {
27711 PyObject *o = PyInt_FromLong((long) (*arg3));
27712 resultobj = t_output_helper(resultobj,o);
27713 }
27714 return resultobj;
27715 fail:
27716 return NULL;
27717 }
27718
27719
27720 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27721 PyObject *resultobj;
27722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27723 wxTreeItemId *arg2 = 0 ;
27724 bool arg3 = (bool) False ;
27725 PyObject *result;
27726 PyObject * obj0 = 0 ;
27727 PyObject * obj1 = 0 ;
27728 PyObject * obj2 = 0 ;
27729 char *kwnames[] = {
27730 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27731 };
27732
27733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27737 SWIG_POINTER_EXCEPTION | 0)) == -1)
27738 SWIG_fail;
27739 if (arg2 == NULL) {
27740 PyErr_SetString(PyExc_TypeError,"null reference");
27741 SWIG_fail;
27742 }
27743 if (obj2) {
27744 arg3 = (bool) SWIG_AsBool(obj2);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 {
27748 PyThreadState* __tstate = wxPyBeginAllowThreads();
27749 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27750
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 resultobj = result;
27755 return resultobj;
27756 fail:
27757 return NULL;
27758 }
27759
27760
27761 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27762 PyObject *resultobj;
27763 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27764 wxVisualAttributes result;
27765 PyObject * obj0 = 0 ;
27766 char *kwnames[] = {
27767 (char *) "variant", NULL
27768 };
27769
27770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27771 if (obj0) {
27772 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 {
27783 wxVisualAttributes * resultptr;
27784 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27786 }
27787 return resultobj;
27788 fail:
27789 return NULL;
27790 }
27791
27792
27793 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27794 PyObject *obj;
27795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27796 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27797 Py_INCREF(obj);
27798 return Py_BuildValue((char *)"");
27799 }
27800 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27801 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27802 return 1;
27803 }
27804
27805
27806 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27807 PyObject *pyobj;
27808
27809 {
27810 #if wxUSE_UNICODE
27811 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27812 #else
27813 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27814 #endif
27815 }
27816 return pyobj;
27817 }
27818
27819
27820 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27821 PyObject *resultobj;
27822 wxWindow *arg1 = (wxWindow *) 0 ;
27823 int arg2 = (int) (int)-1 ;
27824 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27825 wxString *arg3 = (wxString *) &arg3_defvalue ;
27826 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27827 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27828 wxSize const &arg5_defvalue = wxDefaultSize ;
27829 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27830 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27831 wxString const &arg7_defvalue = wxPyEmptyString ;
27832 wxString *arg7 = (wxString *) &arg7_defvalue ;
27833 int arg8 = (int) 0 ;
27834 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27835 wxString *arg9 = (wxString *) &arg9_defvalue ;
27836 wxGenericDirCtrl *result;
27837 bool temp3 = False ;
27838 wxPoint temp4 ;
27839 wxSize temp5 ;
27840 bool temp7 = False ;
27841 bool temp9 = False ;
27842 PyObject * obj0 = 0 ;
27843 PyObject * obj1 = 0 ;
27844 PyObject * obj2 = 0 ;
27845 PyObject * obj3 = 0 ;
27846 PyObject * obj4 = 0 ;
27847 PyObject * obj5 = 0 ;
27848 PyObject * obj6 = 0 ;
27849 PyObject * obj7 = 0 ;
27850 PyObject * obj8 = 0 ;
27851 char *kwnames[] = {
27852 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27853 };
27854
27855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27858 if (obj1) {
27859 arg2 = (int const) SWIG_AsInt(obj1);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 if (obj2) {
27863 {
27864 arg3 = wxString_in_helper(obj2);
27865 if (arg3 == NULL) SWIG_fail;
27866 temp3 = True;
27867 }
27868 }
27869 if (obj3) {
27870 {
27871 arg4 = &temp4;
27872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27873 }
27874 }
27875 if (obj4) {
27876 {
27877 arg5 = &temp5;
27878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27879 }
27880 }
27881 if (obj5) {
27882 arg6 = (long) SWIG_AsLong(obj5);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 if (obj6) {
27886 {
27887 arg7 = wxString_in_helper(obj6);
27888 if (arg7 == NULL) SWIG_fail;
27889 temp7 = True;
27890 }
27891 }
27892 if (obj7) {
27893 arg8 = (int) SWIG_AsInt(obj7);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 if (obj8) {
27897 {
27898 arg9 = wxString_in_helper(obj8);
27899 if (arg9 == NULL) SWIG_fail;
27900 temp9 = True;
27901 }
27902 }
27903 {
27904 if (!wxPyCheckForApp()) SWIG_fail;
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27907
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27912 {
27913 if (temp3)
27914 delete arg3;
27915 }
27916 {
27917 if (temp7)
27918 delete arg7;
27919 }
27920 {
27921 if (temp9)
27922 delete arg9;
27923 }
27924 return resultobj;
27925 fail:
27926 {
27927 if (temp3)
27928 delete arg3;
27929 }
27930 {
27931 if (temp7)
27932 delete arg7;
27933 }
27934 {
27935 if (temp9)
27936 delete arg9;
27937 }
27938 return NULL;
27939 }
27940
27941
27942 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27943 PyObject *resultobj;
27944 wxGenericDirCtrl *result;
27945 char *kwnames[] = {
27946 NULL
27947 };
27948
27949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27950 {
27951 if (!wxPyCheckForApp()) SWIG_fail;
27952 PyThreadState* __tstate = wxPyBeginAllowThreads();
27953 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27954
27955 wxPyEndAllowThreads(__tstate);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27959 return resultobj;
27960 fail:
27961 return NULL;
27962 }
27963
27964
27965 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27966 PyObject *resultobj;
27967 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27968 wxWindow *arg2 = (wxWindow *) 0 ;
27969 int arg3 = (int) (int)-1 ;
27970 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27971 wxString *arg4 = (wxString *) &arg4_defvalue ;
27972 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27973 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27974 wxSize const &arg6_defvalue = wxDefaultSize ;
27975 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27976 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27977 wxString const &arg8_defvalue = wxPyEmptyString ;
27978 wxString *arg8 = (wxString *) &arg8_defvalue ;
27979 int arg9 = (int) 0 ;
27980 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27981 wxString *arg10 = (wxString *) &arg10_defvalue ;
27982 bool result;
27983 bool temp4 = False ;
27984 wxPoint temp5 ;
27985 wxSize temp6 ;
27986 bool temp8 = False ;
27987 bool temp10 = False ;
27988 PyObject * obj0 = 0 ;
27989 PyObject * obj1 = 0 ;
27990 PyObject * obj2 = 0 ;
27991 PyObject * obj3 = 0 ;
27992 PyObject * obj4 = 0 ;
27993 PyObject * obj5 = 0 ;
27994 PyObject * obj6 = 0 ;
27995 PyObject * obj7 = 0 ;
27996 PyObject * obj8 = 0 ;
27997 PyObject * obj9 = 0 ;
27998 char *kwnames[] = {
27999 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28000 };
28001
28002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28007 if (obj2) {
28008 arg3 = (int const) SWIG_AsInt(obj2);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 if (obj3) {
28012 {
28013 arg4 = wxString_in_helper(obj3);
28014 if (arg4 == NULL) SWIG_fail;
28015 temp4 = True;
28016 }
28017 }
28018 if (obj4) {
28019 {
28020 arg5 = &temp5;
28021 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28022 }
28023 }
28024 if (obj5) {
28025 {
28026 arg6 = &temp6;
28027 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28028 }
28029 }
28030 if (obj6) {
28031 arg7 = (long) SWIG_AsLong(obj6);
28032 if (PyErr_Occurred()) SWIG_fail;
28033 }
28034 if (obj7) {
28035 {
28036 arg8 = wxString_in_helper(obj7);
28037 if (arg8 == NULL) SWIG_fail;
28038 temp8 = True;
28039 }
28040 }
28041 if (obj8) {
28042 arg9 = (int) SWIG_AsInt(obj8);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 if (obj9) {
28046 {
28047 arg10 = wxString_in_helper(obj9);
28048 if (arg10 == NULL) SWIG_fail;
28049 temp10 = True;
28050 }
28051 }
28052 {
28053 PyThreadState* __tstate = wxPyBeginAllowThreads();
28054 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28055
28056 wxPyEndAllowThreads(__tstate);
28057 if (PyErr_Occurred()) SWIG_fail;
28058 }
28059 {
28060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28061 }
28062 {
28063 if (temp4)
28064 delete arg4;
28065 }
28066 {
28067 if (temp8)
28068 delete arg8;
28069 }
28070 {
28071 if (temp10)
28072 delete arg10;
28073 }
28074 return resultobj;
28075 fail:
28076 {
28077 if (temp4)
28078 delete arg4;
28079 }
28080 {
28081 if (temp8)
28082 delete arg8;
28083 }
28084 {
28085 if (temp10)
28086 delete arg10;
28087 }
28088 return NULL;
28089 }
28090
28091
28092 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28093 PyObject *resultobj;
28094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28095 wxString *arg2 = 0 ;
28096 bool result;
28097 bool temp2 = False ;
28098 PyObject * obj0 = 0 ;
28099 PyObject * obj1 = 0 ;
28100 char *kwnames[] = {
28101 (char *) "self",(char *) "path", NULL
28102 };
28103
28104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28107 {
28108 arg2 = wxString_in_helper(obj1);
28109 if (arg2 == NULL) SWIG_fail;
28110 temp2 = True;
28111 }
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28115
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 {
28120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28121 }
28122 {
28123 if (temp2)
28124 delete arg2;
28125 }
28126 return resultobj;
28127 fail:
28128 {
28129 if (temp2)
28130 delete arg2;
28131 }
28132 return NULL;
28133 }
28134
28135
28136 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28137 PyObject *resultobj;
28138 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28139 wxString result;
28140 PyObject * obj0 = 0 ;
28141 char *kwnames[] = {
28142 (char *) "self", NULL
28143 };
28144
28145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28148 {
28149 PyThreadState* __tstate = wxPyBeginAllowThreads();
28150 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28151
28152 wxPyEndAllowThreads(__tstate);
28153 if (PyErr_Occurred()) SWIG_fail;
28154 }
28155 {
28156 #if wxUSE_UNICODE
28157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28158 #else
28159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28160 #endif
28161 }
28162 return resultobj;
28163 fail:
28164 return NULL;
28165 }
28166
28167
28168 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28169 PyObject *resultobj;
28170 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28171 wxString *arg2 = 0 ;
28172 bool temp2 = False ;
28173 PyObject * obj0 = 0 ;
28174 PyObject * obj1 = 0 ;
28175 char *kwnames[] = {
28176 (char *) "self",(char *) "path", NULL
28177 };
28178
28179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28182 {
28183 arg2 = wxString_in_helper(obj1);
28184 if (arg2 == NULL) SWIG_fail;
28185 temp2 = True;
28186 }
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 (arg1)->SetDefaultPath((wxString const &)*arg2);
28190
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 Py_INCREF(Py_None); resultobj = Py_None;
28195 {
28196 if (temp2)
28197 delete arg2;
28198 }
28199 return resultobj;
28200 fail:
28201 {
28202 if (temp2)
28203 delete arg2;
28204 }
28205 return NULL;
28206 }
28207
28208
28209 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj;
28211 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28212 wxString result;
28213 PyObject * obj0 = 0 ;
28214 char *kwnames[] = {
28215 (char *) "self", NULL
28216 };
28217
28218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28221 {
28222 PyThreadState* __tstate = wxPyBeginAllowThreads();
28223 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28224
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
28228 {
28229 #if wxUSE_UNICODE
28230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28231 #else
28232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28233 #endif
28234 }
28235 return resultobj;
28236 fail:
28237 return NULL;
28238 }
28239
28240
28241 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28242 PyObject *resultobj;
28243 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28244 wxString result;
28245 PyObject * obj0 = 0 ;
28246 char *kwnames[] = {
28247 (char *) "self", NULL
28248 };
28249
28250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28256
28257 wxPyEndAllowThreads(__tstate);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 }
28260 {
28261 #if wxUSE_UNICODE
28262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28263 #else
28264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28265 #endif
28266 }
28267 return resultobj;
28268 fail:
28269 return NULL;
28270 }
28271
28272
28273 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28274 PyObject *resultobj;
28275 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28276 wxString *arg2 = 0 ;
28277 bool temp2 = False ;
28278 PyObject * obj0 = 0 ;
28279 PyObject * obj1 = 0 ;
28280 char *kwnames[] = {
28281 (char *) "self",(char *) "path", NULL
28282 };
28283
28284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28287 {
28288 arg2 = wxString_in_helper(obj1);
28289 if (arg2 == NULL) SWIG_fail;
28290 temp2 = True;
28291 }
28292 {
28293 PyThreadState* __tstate = wxPyBeginAllowThreads();
28294 (arg1)->SetPath((wxString const &)*arg2);
28295
28296 wxPyEndAllowThreads(__tstate);
28297 if (PyErr_Occurred()) SWIG_fail;
28298 }
28299 Py_INCREF(Py_None); resultobj = Py_None;
28300 {
28301 if (temp2)
28302 delete arg2;
28303 }
28304 return resultobj;
28305 fail:
28306 {
28307 if (temp2)
28308 delete arg2;
28309 }
28310 return NULL;
28311 }
28312
28313
28314 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28315 PyObject *resultobj;
28316 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28317 bool arg2 ;
28318 PyObject * obj0 = 0 ;
28319 PyObject * obj1 = 0 ;
28320 char *kwnames[] = {
28321 (char *) "self",(char *) "show", NULL
28322 };
28323
28324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28327 arg2 = (bool) SWIG_AsBool(obj1);
28328 if (PyErr_Occurred()) SWIG_fail;
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 (arg1)->ShowHidden(arg2);
28332
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 Py_INCREF(Py_None); resultobj = Py_None;
28337 return resultobj;
28338 fail:
28339 return NULL;
28340 }
28341
28342
28343 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28344 PyObject *resultobj;
28345 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28346 bool result;
28347 PyObject * obj0 = 0 ;
28348 char *kwnames[] = {
28349 (char *) "self", NULL
28350 };
28351
28352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 result = (bool)(arg1)->GetShowHidden();
28358
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 {
28363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28364 }
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28372 PyObject *resultobj;
28373 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28374 wxString result;
28375 PyObject * obj0 = 0 ;
28376 char *kwnames[] = {
28377 (char *) "self", NULL
28378 };
28379
28380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 {
28391 #if wxUSE_UNICODE
28392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28393 #else
28394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28395 #endif
28396 }
28397 return resultobj;
28398 fail:
28399 return NULL;
28400 }
28401
28402
28403 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28406 wxString *arg2 = 0 ;
28407 bool temp2 = False ;
28408 PyObject * obj0 = 0 ;
28409 PyObject * obj1 = 0 ;
28410 char *kwnames[] = {
28411 (char *) "self",(char *) "filter", NULL
28412 };
28413
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28417 {
28418 arg2 = wxString_in_helper(obj1);
28419 if (arg2 == NULL) SWIG_fail;
28420 temp2 = True;
28421 }
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 (arg1)->SetFilter((wxString const &)*arg2);
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 Py_INCREF(Py_None); resultobj = Py_None;
28430 {
28431 if (temp2)
28432 delete arg2;
28433 }
28434 return resultobj;
28435 fail:
28436 {
28437 if (temp2)
28438 delete arg2;
28439 }
28440 return NULL;
28441 }
28442
28443
28444 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28445 PyObject *resultobj;
28446 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28447 int result;
28448 PyObject * obj0 = 0 ;
28449 char *kwnames[] = {
28450 (char *) "self", NULL
28451 };
28452
28453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28456 {
28457 PyThreadState* __tstate = wxPyBeginAllowThreads();
28458 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28459
28460 wxPyEndAllowThreads(__tstate);
28461 if (PyErr_Occurred()) SWIG_fail;
28462 }
28463 resultobj = SWIG_FromInt((int)result);
28464 return resultobj;
28465 fail:
28466 return NULL;
28467 }
28468
28469
28470 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28471 PyObject *resultobj;
28472 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28473 int arg2 ;
28474 PyObject * obj0 = 0 ;
28475 PyObject * obj1 = 0 ;
28476 char *kwnames[] = {
28477 (char *) "self",(char *) "n", NULL
28478 };
28479
28480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28483 arg2 = (int) SWIG_AsInt(obj1);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 {
28486 PyThreadState* __tstate = wxPyBeginAllowThreads();
28487 (arg1)->SetFilterIndex(arg2);
28488
28489 wxPyEndAllowThreads(__tstate);
28490 if (PyErr_Occurred()) SWIG_fail;
28491 }
28492 Py_INCREF(Py_None); resultobj = Py_None;
28493 return resultobj;
28494 fail:
28495 return NULL;
28496 }
28497
28498
28499 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28500 PyObject *resultobj;
28501 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28502 wxTreeItemId result;
28503 PyObject * obj0 = 0 ;
28504 char *kwnames[] = {
28505 (char *) "self", NULL
28506 };
28507
28508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28511 {
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 result = (arg1)->GetRootId();
28514
28515 wxPyEndAllowThreads(__tstate);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 {
28519 wxTreeItemId * resultptr;
28520 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28522 }
28523 return resultobj;
28524 fail:
28525 return NULL;
28526 }
28527
28528
28529 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28530 PyObject *resultobj;
28531 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28532 wxPyTreeCtrl *result;
28533 PyObject * obj0 = 0 ;
28534 char *kwnames[] = {
28535 (char *) "self", NULL
28536 };
28537
28538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28544
28545 wxPyEndAllowThreads(__tstate);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 }
28548 {
28549 resultobj = wxPyMake_wxObject(result);
28550 }
28551 return resultobj;
28552 fail:
28553 return NULL;
28554 }
28555
28556
28557 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28558 PyObject *resultobj;
28559 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28560 wxDirFilterListCtrl *result;
28561 PyObject * obj0 = 0 ;
28562 char *kwnames[] = {
28563 (char *) "self", NULL
28564 };
28565
28566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28569 {
28570 PyThreadState* __tstate = wxPyBeginAllowThreads();
28571 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28572
28573 wxPyEndAllowThreads(__tstate);
28574 if (PyErr_Occurred()) SWIG_fail;
28575 }
28576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28577 return resultobj;
28578 fail:
28579 return NULL;
28580 }
28581
28582
28583 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28584 PyObject *resultobj;
28585 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28586 wxTreeItemId arg2 ;
28587 wxString *arg3 = 0 ;
28588 bool *arg4 = 0 ;
28589 wxTreeItemId result;
28590 wxTreeItemId *argp2 ;
28591 bool temp3 = False ;
28592 bool temp4 ;
28593 PyObject * obj0 = 0 ;
28594 PyObject * obj1 = 0 ;
28595 PyObject * obj2 = 0 ;
28596 char *kwnames[] = {
28597 (char *) "self",(char *) "parentId",(char *) "path", NULL
28598 };
28599
28600 arg4 = &temp4;
28601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28604 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28605 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28606 arg2 = *argp2;
28607 {
28608 arg3 = wxString_in_helper(obj2);
28609 if (arg3 == NULL) SWIG_fail;
28610 temp3 = True;
28611 }
28612 {
28613 PyThreadState* __tstate = wxPyBeginAllowThreads();
28614 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28615
28616 wxPyEndAllowThreads(__tstate);
28617 if (PyErr_Occurred()) SWIG_fail;
28618 }
28619 {
28620 wxTreeItemId * resultptr;
28621 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28623 }
28624 {
28625 PyObject *o = PyInt_FromLong((long) (*arg4));
28626 resultobj = t_output_helper(resultobj,o);
28627 }
28628 {
28629 if (temp3)
28630 delete arg3;
28631 }
28632 return resultobj;
28633 fail:
28634 {
28635 if (temp3)
28636 delete arg3;
28637 }
28638 return NULL;
28639 }
28640
28641
28642 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28643 PyObject *resultobj;
28644 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28645 PyObject * obj0 = 0 ;
28646 char *kwnames[] = {
28647 (char *) "self", NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28653 {
28654 PyThreadState* __tstate = wxPyBeginAllowThreads();
28655 (arg1)->DoResize();
28656
28657 wxPyEndAllowThreads(__tstate);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 }
28660 Py_INCREF(Py_None); resultobj = Py_None;
28661 return resultobj;
28662 fail:
28663 return NULL;
28664 }
28665
28666
28667 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28668 PyObject *resultobj;
28669 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28670 PyObject * obj0 = 0 ;
28671 char *kwnames[] = {
28672 (char *) "self", NULL
28673 };
28674
28675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 (arg1)->ReCreateTree();
28681
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 Py_INCREF(Py_None); resultobj = Py_None;
28686 return resultobj;
28687 fail:
28688 return NULL;
28689 }
28690
28691
28692 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28693 PyObject *obj;
28694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28695 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28696 Py_INCREF(obj);
28697 return Py_BuildValue((char *)"");
28698 }
28699 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28700 PyObject *resultobj;
28701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28702 int arg2 = (int) (int)-1 ;
28703 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28704 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28705 wxSize const &arg4_defvalue = wxDefaultSize ;
28706 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28707 long arg5 = (long) 0 ;
28708 wxDirFilterListCtrl *result;
28709 wxPoint temp3 ;
28710 wxSize temp4 ;
28711 PyObject * obj0 = 0 ;
28712 PyObject * obj1 = 0 ;
28713 PyObject * obj2 = 0 ;
28714 PyObject * obj3 = 0 ;
28715 PyObject * obj4 = 0 ;
28716 char *kwnames[] = {
28717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28718 };
28719
28720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28723 if (obj1) {
28724 arg2 = (int const) SWIG_AsInt(obj1);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 if (obj2) {
28728 {
28729 arg3 = &temp3;
28730 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28731 }
28732 }
28733 if (obj3) {
28734 {
28735 arg4 = &temp4;
28736 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28737 }
28738 }
28739 if (obj4) {
28740 arg5 = (long) SWIG_AsLong(obj4);
28741 if (PyErr_Occurred()) SWIG_fail;
28742 }
28743 {
28744 if (!wxPyCheckForApp()) SWIG_fail;
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28747
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28752 return resultobj;
28753 fail:
28754 return NULL;
28755 }
28756
28757
28758 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj;
28760 wxDirFilterListCtrl *result;
28761 char *kwnames[] = {
28762 NULL
28763 };
28764
28765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28766 {
28767 if (!wxPyCheckForApp()) SWIG_fail;
28768 PyThreadState* __tstate = wxPyBeginAllowThreads();
28769 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28770
28771 wxPyEndAllowThreads(__tstate);
28772 if (PyErr_Occurred()) SWIG_fail;
28773 }
28774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28775 return resultobj;
28776 fail:
28777 return NULL;
28778 }
28779
28780
28781 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28782 PyObject *resultobj;
28783 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28784 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
28785 int arg3 = (int) (int)-1 ;
28786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28788 wxSize const &arg5_defvalue = wxDefaultSize ;
28789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28790 long arg6 = (long) 0 ;
28791 bool result;
28792 wxPoint temp4 ;
28793 wxSize temp5 ;
28794 PyObject * obj0 = 0 ;
28795 PyObject * obj1 = 0 ;
28796 PyObject * obj2 = 0 ;
28797 PyObject * obj3 = 0 ;
28798 PyObject * obj4 = 0 ;
28799 PyObject * obj5 = 0 ;
28800 char *kwnames[] = {
28801 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28802 };
28803
28804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28809 if (obj2) {
28810 arg3 = (int const) SWIG_AsInt(obj2);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 if (obj3) {
28814 {
28815 arg4 = &temp4;
28816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28817 }
28818 }
28819 if (obj4) {
28820 {
28821 arg5 = &temp5;
28822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28823 }
28824 }
28825 if (obj5) {
28826 arg6 = (long) SWIG_AsLong(obj5);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 {
28830 PyThreadState* __tstate = wxPyBeginAllowThreads();
28831 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28832
28833 wxPyEndAllowThreads(__tstate);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 {
28837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28838 }
28839 return resultobj;
28840 fail:
28841 return NULL;
28842 }
28843
28844
28845 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28846 PyObject *resultobj;
28847 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28848 wxString *arg2 = 0 ;
28849 int arg3 ;
28850 bool temp2 = False ;
28851 PyObject * obj0 = 0 ;
28852 PyObject * obj1 = 0 ;
28853 PyObject * obj2 = 0 ;
28854 char *kwnames[] = {
28855 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28856 };
28857
28858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28861 {
28862 arg2 = wxString_in_helper(obj1);
28863 if (arg2 == NULL) SWIG_fail;
28864 temp2 = True;
28865 }
28866 arg3 = (int) SWIG_AsInt(obj2);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 {
28869 PyThreadState* __tstate = wxPyBeginAllowThreads();
28870 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28871
28872 wxPyEndAllowThreads(__tstate);
28873 if (PyErr_Occurred()) SWIG_fail;
28874 }
28875 Py_INCREF(Py_None); resultobj = Py_None;
28876 {
28877 if (temp2)
28878 delete arg2;
28879 }
28880 return resultobj;
28881 fail:
28882 {
28883 if (temp2)
28884 delete arg2;
28885 }
28886 return NULL;
28887 }
28888
28889
28890 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28891 PyObject *obj;
28892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28893 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28894 Py_INCREF(obj);
28895 return Py_BuildValue((char *)"");
28896 }
28897 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28898 PyObject *resultobj;
28899 wxWindow *arg1 = (wxWindow *) 0 ;
28900 int arg2 = (int) (int)-1 ;
28901 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28902 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28903 wxSize const &arg4_defvalue = wxDefaultSize ;
28904 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28905 long arg5 = (long) 0 ;
28906 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28907 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28908 wxString const &arg7_defvalue = wxPyControlNameStr ;
28909 wxString *arg7 = (wxString *) &arg7_defvalue ;
28910 wxPyControl *result;
28911 wxPoint temp3 ;
28912 wxSize temp4 ;
28913 bool temp7 = False ;
28914 PyObject * obj0 = 0 ;
28915 PyObject * obj1 = 0 ;
28916 PyObject * obj2 = 0 ;
28917 PyObject * obj3 = 0 ;
28918 PyObject * obj4 = 0 ;
28919 PyObject * obj5 = 0 ;
28920 PyObject * obj6 = 0 ;
28921 char *kwnames[] = {
28922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28923 };
28924
28925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28928 if (obj1) {
28929 arg2 = (int const) SWIG_AsInt(obj1);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 if (obj2) {
28933 {
28934 arg3 = &temp3;
28935 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28936 }
28937 }
28938 if (obj3) {
28939 {
28940 arg4 = &temp4;
28941 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28942 }
28943 }
28944 if (obj4) {
28945 arg5 = (long) SWIG_AsLong(obj4);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 }
28948 if (obj5) {
28949 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28950 SWIG_POINTER_EXCEPTION | 0)) == -1)
28951 SWIG_fail;
28952 if (arg6 == NULL) {
28953 PyErr_SetString(PyExc_TypeError,"null reference");
28954 SWIG_fail;
28955 }
28956 }
28957 if (obj6) {
28958 {
28959 arg7 = wxString_in_helper(obj6);
28960 if (arg7 == NULL) SWIG_fail;
28961 temp7 = True;
28962 }
28963 }
28964 {
28965 if (!wxPyCheckForApp()) SWIG_fail;
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
28967 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28973 {
28974 if (temp7)
28975 delete arg7;
28976 }
28977 return resultobj;
28978 fail:
28979 {
28980 if (temp7)
28981 delete arg7;
28982 }
28983 return NULL;
28984 }
28985
28986
28987 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28988 PyObject *resultobj;
28989 wxPyControl *result;
28990 char *kwnames[] = {
28991 NULL
28992 };
28993
28994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28995 {
28996 if (!wxPyCheckForApp()) SWIG_fail;
28997 PyThreadState* __tstate = wxPyBeginAllowThreads();
28998 result = (wxPyControl *)new wxPyControl();
28999
29000 wxPyEndAllowThreads(__tstate);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 }
29003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29004 return resultobj;
29005 fail:
29006 return NULL;
29007 }
29008
29009
29010 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29011 PyObject *resultobj;
29012 wxPyControl *arg1 = (wxPyControl *) 0 ;
29013 PyObject *arg2 = (PyObject *) 0 ;
29014 PyObject *arg3 = (PyObject *) 0 ;
29015 PyObject * obj0 = 0 ;
29016 PyObject * obj1 = 0 ;
29017 PyObject * obj2 = 0 ;
29018 char *kwnames[] = {
29019 (char *) "self",(char *) "self",(char *) "_class", NULL
29020 };
29021
29022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29025 arg2 = obj1;
29026 arg3 = obj2;
29027 {
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 (arg1)->_setCallbackInfo(arg2,arg3);
29030
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 Py_INCREF(Py_None); resultobj = Py_None;
29035 return resultobj;
29036 fail:
29037 return NULL;
29038 }
29039
29040
29041 static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29042 PyObject *resultobj;
29043 wxPyControl *arg1 = (wxPyControl *) 0 ;
29044 wxSize *arg2 = 0 ;
29045 wxSize temp2 ;
29046 PyObject * obj0 = 0 ;
29047 PyObject * obj1 = 0 ;
29048 char *kwnames[] = {
29049 (char *) "self",(char *) "size", NULL
29050 };
29051
29052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29055 {
29056 arg2 = &temp2;
29057 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29058 }
29059 {
29060 PyThreadState* __tstate = wxPyBeginAllowThreads();
29061 (arg1)->SetBestSize((wxSize const &)*arg2);
29062
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 Py_INCREF(Py_None); resultobj = Py_None;
29067 return resultobj;
29068 fail:
29069 return NULL;
29070 }
29071
29072
29073 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29074 PyObject *resultobj;
29075 wxPyControl *arg1 = (wxPyControl *) 0 ;
29076 int arg2 ;
29077 int arg3 ;
29078 int arg4 ;
29079 int arg5 ;
29080 PyObject * obj0 = 0 ;
29081 PyObject * obj1 = 0 ;
29082 PyObject * obj2 = 0 ;
29083 PyObject * obj3 = 0 ;
29084 PyObject * obj4 = 0 ;
29085 char *kwnames[] = {
29086 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29087 };
29088
29089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29092 arg2 = (int) SWIG_AsInt(obj1);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 arg3 = (int) SWIG_AsInt(obj2);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 arg4 = (int) SWIG_AsInt(obj3);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 arg5 = (int) SWIG_AsInt(obj4);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29103
29104 wxPyEndAllowThreads(__tstate);
29105 if (PyErr_Occurred()) SWIG_fail;
29106 }
29107 Py_INCREF(Py_None); resultobj = Py_None;
29108 return resultobj;
29109 fail:
29110 return NULL;
29111 }
29112
29113
29114 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29115 PyObject *resultobj;
29116 wxPyControl *arg1 = (wxPyControl *) 0 ;
29117 int arg2 ;
29118 int arg3 ;
29119 int arg4 ;
29120 int arg5 ;
29121 int arg6 = (int) wxSIZE_AUTO ;
29122 PyObject * obj0 = 0 ;
29123 PyObject * obj1 = 0 ;
29124 PyObject * obj2 = 0 ;
29125 PyObject * obj3 = 0 ;
29126 PyObject * obj4 = 0 ;
29127 PyObject * obj5 = 0 ;
29128 char *kwnames[] = {
29129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29130 };
29131
29132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29135 arg2 = (int) SWIG_AsInt(obj1);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 arg3 = (int) SWIG_AsInt(obj2);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 arg4 = (int) SWIG_AsInt(obj3);
29140 if (PyErr_Occurred()) SWIG_fail;
29141 arg5 = (int) SWIG_AsInt(obj4);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 if (obj5) {
29144 arg6 = (int) SWIG_AsInt(obj5);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29150
29151 wxPyEndAllowThreads(__tstate);
29152 if (PyErr_Occurred()) SWIG_fail;
29153 }
29154 Py_INCREF(Py_None); resultobj = Py_None;
29155 return resultobj;
29156 fail:
29157 return NULL;
29158 }
29159
29160
29161 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29162 PyObject *resultobj;
29163 wxPyControl *arg1 = (wxPyControl *) 0 ;
29164 int arg2 ;
29165 int arg3 ;
29166 PyObject * obj0 = 0 ;
29167 PyObject * obj1 = 0 ;
29168 PyObject * obj2 = 0 ;
29169 char *kwnames[] = {
29170 (char *) "self",(char *) "width",(char *) "height", NULL
29171 };
29172
29173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29176 arg2 = (int) SWIG_AsInt(obj1);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 arg3 = (int) SWIG_AsInt(obj2);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->base_DoSetClientSize(arg2,arg3);
29183
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 Py_INCREF(Py_None); resultobj = Py_None;
29188 return resultobj;
29189 fail:
29190 return NULL;
29191 }
29192
29193
29194 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj;
29196 wxPyControl *arg1 = (wxPyControl *) 0 ;
29197 int arg2 ;
29198 int arg3 ;
29199 PyObject * obj0 = 0 ;
29200 PyObject * obj1 = 0 ;
29201 PyObject * obj2 = 0 ;
29202 char *kwnames[] = {
29203 (char *) "self",(char *) "x",(char *) "y", NULL
29204 };
29205
29206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29209 arg2 = (int) SWIG_AsInt(obj1);
29210 if (PyErr_Occurred()) SWIG_fail;
29211 arg3 = (int) SWIG_AsInt(obj2);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 {
29214 PyThreadState* __tstate = wxPyBeginAllowThreads();
29215 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29216
29217 wxPyEndAllowThreads(__tstate);
29218 if (PyErr_Occurred()) SWIG_fail;
29219 }
29220 Py_INCREF(Py_None); resultobj = Py_None;
29221 return resultobj;
29222 fail:
29223 return NULL;
29224 }
29225
29226
29227 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29228 PyObject *resultobj;
29229 wxPyControl *arg1 = (wxPyControl *) 0 ;
29230 int *arg2 = (int *) 0 ;
29231 int *arg3 = (int *) 0 ;
29232 int temp2 ;
29233 int temp3 ;
29234 PyObject * obj0 = 0 ;
29235 char *kwnames[] = {
29236 (char *) "self", NULL
29237 };
29238
29239 arg2 = &temp2;
29240 arg3 = &temp3;
29241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29247
29248 wxPyEndAllowThreads(__tstate);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 }
29251 Py_INCREF(Py_None); resultobj = Py_None;
29252 {
29253 PyObject *o = PyInt_FromLong((long) (*arg2));
29254 resultobj = t_output_helper(resultobj,o);
29255 }
29256 {
29257 PyObject *o = PyInt_FromLong((long) (*arg3));
29258 resultobj = t_output_helper(resultobj,o);
29259 }
29260 return resultobj;
29261 fail:
29262 return NULL;
29263 }
29264
29265
29266 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxPyControl *arg1 = (wxPyControl *) 0 ;
29269 int *arg2 = (int *) 0 ;
29270 int *arg3 = (int *) 0 ;
29271 int temp2 ;
29272 int temp3 ;
29273 PyObject * obj0 = 0 ;
29274 char *kwnames[] = {
29275 (char *) "self", NULL
29276 };
29277
29278 arg2 = &temp2;
29279 arg3 = &temp3;
29280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29283 {
29284 PyThreadState* __tstate = wxPyBeginAllowThreads();
29285 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29286
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 Py_INCREF(Py_None); resultobj = Py_None;
29291 {
29292 PyObject *o = PyInt_FromLong((long) (*arg2));
29293 resultobj = t_output_helper(resultobj,o);
29294 }
29295 {
29296 PyObject *o = PyInt_FromLong((long) (*arg3));
29297 resultobj = t_output_helper(resultobj,o);
29298 }
29299 return resultobj;
29300 fail:
29301 return NULL;
29302 }
29303
29304
29305 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29306 PyObject *resultobj;
29307 wxPyControl *arg1 = (wxPyControl *) 0 ;
29308 int *arg2 = (int *) 0 ;
29309 int *arg3 = (int *) 0 ;
29310 int temp2 ;
29311 int temp3 ;
29312 PyObject * obj0 = 0 ;
29313 char *kwnames[] = {
29314 (char *) "self", NULL
29315 };
29316
29317 arg2 = &temp2;
29318 arg3 = &temp3;
29319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29322 {
29323 PyThreadState* __tstate = wxPyBeginAllowThreads();
29324 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29325
29326 wxPyEndAllowThreads(__tstate);
29327 if (PyErr_Occurred()) SWIG_fail;
29328 }
29329 Py_INCREF(Py_None); resultobj = Py_None;
29330 {
29331 PyObject *o = PyInt_FromLong((long) (*arg2));
29332 resultobj = t_output_helper(resultobj,o);
29333 }
29334 {
29335 PyObject *o = PyInt_FromLong((long) (*arg3));
29336 resultobj = t_output_helper(resultobj,o);
29337 }
29338 return resultobj;
29339 fail:
29340 return NULL;
29341 }
29342
29343
29344 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29345 PyObject *resultobj;
29346 wxPyControl *arg1 = (wxPyControl *) 0 ;
29347 wxSize result;
29348 PyObject * obj0 = 0 ;
29349 char *kwnames[] = {
29350 (char *) "self", NULL
29351 };
29352
29353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29359
29360 wxPyEndAllowThreads(__tstate);
29361 if (PyErr_Occurred()) SWIG_fail;
29362 }
29363 {
29364 wxSize * resultptr;
29365 resultptr = new wxSize((wxSize &) result);
29366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29367 }
29368 return resultobj;
29369 fail:
29370 return NULL;
29371 }
29372
29373
29374 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29375 PyObject *resultobj;
29376 wxPyControl *arg1 = (wxPyControl *) 0 ;
29377 wxSize result;
29378 PyObject * obj0 = 0 ;
29379 char *kwnames[] = {
29380 (char *) "self", NULL
29381 };
29382
29383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29386 {
29387 PyThreadState* __tstate = wxPyBeginAllowThreads();
29388 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29389
29390 wxPyEndAllowThreads(__tstate);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 }
29393 {
29394 wxSize * resultptr;
29395 resultptr = new wxSize((wxSize &) result);
29396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29397 }
29398 return resultobj;
29399 fail:
29400 return NULL;
29401 }
29402
29403
29404 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29405 PyObject *resultobj;
29406 wxPyControl *arg1 = (wxPyControl *) 0 ;
29407 PyObject * obj0 = 0 ;
29408 char *kwnames[] = {
29409 (char *) "self", NULL
29410 };
29411
29412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29415 {
29416 PyThreadState* __tstate = wxPyBeginAllowThreads();
29417 (arg1)->base_InitDialog();
29418
29419 wxPyEndAllowThreads(__tstate);
29420 if (PyErr_Occurred()) SWIG_fail;
29421 }
29422 Py_INCREF(Py_None); resultobj = Py_None;
29423 return resultobj;
29424 fail:
29425 return NULL;
29426 }
29427
29428
29429 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29430 PyObject *resultobj;
29431 wxPyControl *arg1 = (wxPyControl *) 0 ;
29432 bool result;
29433 PyObject * obj0 = 0 ;
29434 char *kwnames[] = {
29435 (char *) "self", NULL
29436 };
29437
29438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29441 {
29442 PyThreadState* __tstate = wxPyBeginAllowThreads();
29443 result = (bool)(arg1)->base_TransferDataToWindow();
29444
29445 wxPyEndAllowThreads(__tstate);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 {
29449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29450 }
29451 return resultobj;
29452 fail:
29453 return NULL;
29454 }
29455
29456
29457 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29458 PyObject *resultobj;
29459 wxPyControl *arg1 = (wxPyControl *) 0 ;
29460 bool result;
29461 PyObject * obj0 = 0 ;
29462 char *kwnames[] = {
29463 (char *) "self", NULL
29464 };
29465
29466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29469 {
29470 PyThreadState* __tstate = wxPyBeginAllowThreads();
29471 result = (bool)(arg1)->base_TransferDataFromWindow();
29472
29473 wxPyEndAllowThreads(__tstate);
29474 if (PyErr_Occurred()) SWIG_fail;
29475 }
29476 {
29477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29478 }
29479 return resultobj;
29480 fail:
29481 return NULL;
29482 }
29483
29484
29485 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29486 PyObject *resultobj;
29487 wxPyControl *arg1 = (wxPyControl *) 0 ;
29488 bool result;
29489 PyObject * obj0 = 0 ;
29490 char *kwnames[] = {
29491 (char *) "self", NULL
29492 };
29493
29494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29497 {
29498 PyThreadState* __tstate = wxPyBeginAllowThreads();
29499 result = (bool)(arg1)->base_Validate();
29500
29501 wxPyEndAllowThreads(__tstate);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 }
29504 {
29505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29506 }
29507 return resultobj;
29508 fail:
29509 return NULL;
29510 }
29511
29512
29513 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29514 PyObject *resultobj;
29515 wxPyControl *arg1 = (wxPyControl *) 0 ;
29516 bool result;
29517 PyObject * obj0 = 0 ;
29518 char *kwnames[] = {
29519 (char *) "self", NULL
29520 };
29521
29522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29525 {
29526 PyThreadState* __tstate = wxPyBeginAllowThreads();
29527 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29528
29529 wxPyEndAllowThreads(__tstate);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 }
29532 {
29533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxPyControl *arg1 = (wxPyControl *) 0 ;
29544 bool result;
29545 PyObject * obj0 = 0 ;
29546 char *kwnames[] = {
29547 (char *) "self", NULL
29548 };
29549
29550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29553 {
29554 PyThreadState* __tstate = wxPyBeginAllowThreads();
29555 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29556
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 {
29561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29562 }
29563 return resultobj;
29564 fail:
29565 return NULL;
29566 }
29567
29568
29569 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29570 PyObject *resultobj;
29571 wxPyControl *arg1 = (wxPyControl *) 0 ;
29572 wxSize result;
29573 PyObject * obj0 = 0 ;
29574 char *kwnames[] = {
29575 (char *) "self", NULL
29576 };
29577
29578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29584
29585 wxPyEndAllowThreads(__tstate);
29586 if (PyErr_Occurred()) SWIG_fail;
29587 }
29588 {
29589 wxSize * resultptr;
29590 resultptr = new wxSize((wxSize &) result);
29591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29592 }
29593 return resultobj;
29594 fail:
29595 return NULL;
29596 }
29597
29598
29599 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29600 PyObject *resultobj;
29601 wxPyControl *arg1 = (wxPyControl *) 0 ;
29602 wxWindow *arg2 = (wxWindow *) 0 ;
29603 PyObject * obj0 = 0 ;
29604 PyObject * obj1 = 0 ;
29605 char *kwnames[] = {
29606 (char *) "self",(char *) "child", NULL
29607 };
29608
29609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 (arg1)->base_AddChild(arg2);
29617
29618 wxPyEndAllowThreads(__tstate);
29619 if (PyErr_Occurred()) SWIG_fail;
29620 }
29621 Py_INCREF(Py_None); resultobj = Py_None;
29622 return resultobj;
29623 fail:
29624 return NULL;
29625 }
29626
29627
29628 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29629 PyObject *resultobj;
29630 wxPyControl *arg1 = (wxPyControl *) 0 ;
29631 wxWindow *arg2 = (wxWindow *) 0 ;
29632 PyObject * obj0 = 0 ;
29633 PyObject * obj1 = 0 ;
29634 char *kwnames[] = {
29635 (char *) "self",(char *) "child", NULL
29636 };
29637
29638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29643 {
29644 PyThreadState* __tstate = wxPyBeginAllowThreads();
29645 (arg1)->base_RemoveChild(arg2);
29646
29647 wxPyEndAllowThreads(__tstate);
29648 if (PyErr_Occurred()) SWIG_fail;
29649 }
29650 Py_INCREF(Py_None); resultobj = Py_None;
29651 return resultobj;
29652 fail:
29653 return NULL;
29654 }
29655
29656
29657 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29658 PyObject *resultobj;
29659 wxPyControl *arg1 = (wxPyControl *) 0 ;
29660 bool result;
29661 PyObject * obj0 = 0 ;
29662 char *kwnames[] = {
29663 (char *) "self", NULL
29664 };
29665
29666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29669 {
29670 PyThreadState* __tstate = wxPyBeginAllowThreads();
29671 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
29672
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 {
29677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29678 }
29679 return resultobj;
29680 fail:
29681 return NULL;
29682 }
29683
29684
29685 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj;
29687 wxPyControl *arg1 = (wxPyControl *) 0 ;
29688 wxColour *arg2 = 0 ;
29689 wxColour temp2 ;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 char *kwnames[] = {
29693 (char *) "self",(char *) "c", NULL
29694 };
29695
29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29699 {
29700 arg2 = &temp2;
29701 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29702 }
29703 {
29704 PyThreadState* __tstate = wxPyBeginAllowThreads();
29705 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29706
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 Py_INCREF(Py_None); resultobj = Py_None;
29711 return resultobj;
29712 fail:
29713 return NULL;
29714 }
29715
29716
29717 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29718 PyObject *resultobj;
29719 wxPyControl *arg1 = (wxPyControl *) 0 ;
29720 wxVisualAttributes result;
29721 PyObject * obj0 = 0 ;
29722 char *kwnames[] = {
29723 (char *) "self", NULL
29724 };
29725
29726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29729 {
29730 PyThreadState* __tstate = wxPyBeginAllowThreads();
29731 result = (arg1)->base_GetDefaultAttributes();
29732
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 {
29737 wxVisualAttributes * resultptr;
29738 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744 }
29745
29746
29747 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29748 PyObject *obj;
29749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29750 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29751 Py_INCREF(obj);
29752 return Py_BuildValue((char *)"");
29753 }
29754 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29755 PyObject *resultobj;
29756 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
29757 int arg2 = (int) 0 ;
29758 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29759 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29760 wxHelpEvent *result;
29761 wxPoint temp3 ;
29762 PyObject * obj0 = 0 ;
29763 PyObject * obj1 = 0 ;
29764 PyObject * obj2 = 0 ;
29765 char *kwnames[] = {
29766 (char *) "type",(char *) "winid",(char *) "pt", NULL
29767 };
29768
29769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29770 if (obj0) {
29771 arg1 = (wxEventType) SWIG_AsInt(obj0);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
29774 if (obj1) {
29775 arg2 = (int) SWIG_AsInt(obj1);
29776 if (PyErr_Occurred()) SWIG_fail;
29777 }
29778 if (obj2) {
29779 {
29780 arg3 = &temp3;
29781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29782 }
29783 }
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
29792 return resultobj;
29793 fail:
29794 return NULL;
29795 }
29796
29797
29798 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29799 PyObject *resultobj;
29800 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29801 wxPoint result;
29802 PyObject * obj0 = 0 ;
29803 char *kwnames[] = {
29804 (char *) "self", NULL
29805 };
29806
29807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
29808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 result = ((wxHelpEvent const *)arg1)->GetPosition();
29813
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 {
29818 wxPoint * resultptr;
29819 resultptr = new wxPoint((wxPoint &) result);
29820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29821 }
29822 return resultobj;
29823 fail:
29824 return NULL;
29825 }
29826
29827
29828 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29829 PyObject *resultobj;
29830 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29831 wxPoint *arg2 = 0 ;
29832 wxPoint temp2 ;
29833 PyObject * obj0 = 0 ;
29834 PyObject * obj1 = 0 ;
29835 char *kwnames[] = {
29836 (char *) "self",(char *) "pos", NULL
29837 };
29838
29839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
29840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29842 {
29843 arg2 = &temp2;
29844 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29845 }
29846 {
29847 PyThreadState* __tstate = wxPyBeginAllowThreads();
29848 (arg1)->SetPosition((wxPoint const &)*arg2);
29849
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 Py_INCREF(Py_None); resultobj = Py_None;
29854 return resultobj;
29855 fail:
29856 return NULL;
29857 }
29858
29859
29860 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj;
29862 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29863 wxString *result;
29864 PyObject * obj0 = 0 ;
29865 char *kwnames[] = {
29866 (char *) "self", NULL
29867 };
29868
29869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
29870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
29874 {
29875 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29876 result = (wxString *) &_result_ref;
29877 }
29878
29879 wxPyEndAllowThreads(__tstate);
29880 if (PyErr_Occurred()) SWIG_fail;
29881 }
29882 {
29883 #if wxUSE_UNICODE
29884 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29885 #else
29886 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29887 #endif
29888 }
29889 return resultobj;
29890 fail:
29891 return NULL;
29892 }
29893
29894
29895 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29896 PyObject *resultobj;
29897 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29898 wxString *arg2 = 0 ;
29899 bool temp2 = False ;
29900 PyObject * obj0 = 0 ;
29901 PyObject * obj1 = 0 ;
29902 char *kwnames[] = {
29903 (char *) "self",(char *) "link", NULL
29904 };
29905
29906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29909 {
29910 arg2 = wxString_in_helper(obj1);
29911 if (arg2 == NULL) SWIG_fail;
29912 temp2 = True;
29913 }
29914 {
29915 PyThreadState* __tstate = wxPyBeginAllowThreads();
29916 (arg1)->SetLink((wxString const &)*arg2);
29917
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 Py_INCREF(Py_None); resultobj = Py_None;
29922 {
29923 if (temp2)
29924 delete arg2;
29925 }
29926 return resultobj;
29927 fail:
29928 {
29929 if (temp2)
29930 delete arg2;
29931 }
29932 return NULL;
29933 }
29934
29935
29936 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29937 PyObject *resultobj;
29938 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29939 wxString *result;
29940 PyObject * obj0 = 0 ;
29941 char *kwnames[] = {
29942 (char *) "self", NULL
29943 };
29944
29945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29948 {
29949 PyThreadState* __tstate = wxPyBeginAllowThreads();
29950 {
29951 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29952 result = (wxString *) &_result_ref;
29953 }
29954
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 {
29959 #if wxUSE_UNICODE
29960 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29961 #else
29962 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29963 #endif
29964 }
29965 return resultobj;
29966 fail:
29967 return NULL;
29968 }
29969
29970
29971 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj;
29973 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29974 wxString *arg2 = 0 ;
29975 bool temp2 = False ;
29976 PyObject * obj0 = 0 ;
29977 PyObject * obj1 = 0 ;
29978 char *kwnames[] = {
29979 (char *) "self",(char *) "target", NULL
29980 };
29981
29982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29985 {
29986 arg2 = wxString_in_helper(obj1);
29987 if (arg2 == NULL) SWIG_fail;
29988 temp2 = True;
29989 }
29990 {
29991 PyThreadState* __tstate = wxPyBeginAllowThreads();
29992 (arg1)->SetTarget((wxString const &)*arg2);
29993
29994 wxPyEndAllowThreads(__tstate);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 }
29997 Py_INCREF(Py_None); resultobj = Py_None;
29998 {
29999 if (temp2)
30000 delete arg2;
30001 }
30002 return resultobj;
30003 fail:
30004 {
30005 if (temp2)
30006 delete arg2;
30007 }
30008 return NULL;
30009 }
30010
30011
30012 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30013 PyObject *obj;
30014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30015 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30016 Py_INCREF(obj);
30017 return Py_BuildValue((char *)"");
30018 }
30019 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30020 PyObject *resultobj;
30021 wxWindow *arg1 = (wxWindow *) NULL ;
30022 bool arg2 = (bool) True ;
30023 wxContextHelp *result;
30024 PyObject * obj0 = 0 ;
30025 PyObject * obj1 = 0 ;
30026 char *kwnames[] = {
30027 (char *) "window",(char *) "doNow", NULL
30028 };
30029
30030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30031 if (obj0) {
30032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30034 }
30035 if (obj1) {
30036 arg2 = (bool) SWIG_AsBool(obj1);
30037 if (PyErr_Occurred()) SWIG_fail;
30038 }
30039 {
30040 if (!wxPyCheckForApp()) SWIG_fail;
30041 PyThreadState* __tstate = wxPyBeginAllowThreads();
30042 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30043
30044 wxPyEndAllowThreads(__tstate);
30045 if (PyErr_Occurred()) SWIG_fail;
30046 }
30047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30048 return resultobj;
30049 fail:
30050 return NULL;
30051 }
30052
30053
30054 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30055 PyObject *resultobj;
30056 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30057 PyObject * obj0 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30065 {
30066 PyThreadState* __tstate = wxPyBeginAllowThreads();
30067 delete arg1;
30068
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 Py_INCREF(Py_None); resultobj = Py_None;
30073 return resultobj;
30074 fail:
30075 return NULL;
30076 }
30077
30078
30079 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30080 PyObject *resultobj;
30081 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30082 wxWindow *arg2 = (wxWindow *) NULL ;
30083 bool result;
30084 PyObject * obj0 = 0 ;
30085 PyObject * obj1 = 0 ;
30086 char *kwnames[] = {
30087 (char *) "self",(char *) "window", NULL
30088 };
30089
30090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30093 if (obj1) {
30094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30096 }
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 result = (bool)(arg1)->BeginContextHelp(arg2);
30100
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 {
30105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30106 }
30107 return resultobj;
30108 fail:
30109 return NULL;
30110 }
30111
30112
30113 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30114 PyObject *resultobj;
30115 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30116 bool result;
30117 PyObject * obj0 = 0 ;
30118 char *kwnames[] = {
30119 (char *) "self", NULL
30120 };
30121
30122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
30127 result = (bool)(arg1)->EndContextHelp();
30128
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 {
30133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30134 }
30135 return resultobj;
30136 fail:
30137 return NULL;
30138 }
30139
30140
30141 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30142 PyObject *obj;
30143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30144 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30145 Py_INCREF(obj);
30146 return Py_BuildValue((char *)"");
30147 }
30148 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30149 PyObject *resultobj;
30150 wxWindow *arg1 = (wxWindow *) 0 ;
30151 int arg2 = (int) wxID_CONTEXT_HELP ;
30152 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30153 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30154 wxSize const &arg4_defvalue = wxDefaultSize ;
30155 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30156 long arg5 = (long) wxBU_AUTODRAW ;
30157 wxContextHelpButton *result;
30158 wxPoint temp3 ;
30159 wxSize temp4 ;
30160 PyObject * obj0 = 0 ;
30161 PyObject * obj1 = 0 ;
30162 PyObject * obj2 = 0 ;
30163 PyObject * obj3 = 0 ;
30164 PyObject * obj4 = 0 ;
30165 char *kwnames[] = {
30166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30167 };
30168
30169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30172 if (obj1) {
30173 arg2 = (int) SWIG_AsInt(obj1);
30174 if (PyErr_Occurred()) SWIG_fail;
30175 }
30176 if (obj2) {
30177 {
30178 arg3 = &temp3;
30179 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30180 }
30181 }
30182 if (obj3) {
30183 {
30184 arg4 = &temp4;
30185 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30186 }
30187 }
30188 if (obj4) {
30189 arg5 = (long) SWIG_AsLong(obj4);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 {
30193 if (!wxPyCheckForApp()) SWIG_fail;
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30196
30197 wxPyEndAllowThreads(__tstate);
30198 if (PyErr_Occurred()) SWIG_fail;
30199 }
30200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30201 return resultobj;
30202 fail:
30203 return NULL;
30204 }
30205
30206
30207 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30208 PyObject *obj;
30209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30210 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30211 Py_INCREF(obj);
30212 return Py_BuildValue((char *)"");
30213 }
30214 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30215 PyObject *resultobj;
30216 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30217 wxHelpProvider *result;
30218 PyObject * obj0 = 0 ;
30219 char *kwnames[] = {
30220 (char *) "helpProvider", NULL
30221 };
30222
30223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30226 {
30227 PyThreadState* __tstate = wxPyBeginAllowThreads();
30228 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30229
30230 wxPyEndAllowThreads(__tstate);
30231 if (PyErr_Occurred()) SWIG_fail;
30232 }
30233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30234 return resultobj;
30235 fail:
30236 return NULL;
30237 }
30238
30239
30240 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30241 PyObject *resultobj;
30242 wxHelpProvider *result;
30243 char *kwnames[] = {
30244 NULL
30245 };
30246
30247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30248 {
30249 PyThreadState* __tstate = wxPyBeginAllowThreads();
30250 result = (wxHelpProvider *)wxHelpProvider::Get();
30251
30252 wxPyEndAllowThreads(__tstate);
30253 if (PyErr_Occurred()) SWIG_fail;
30254 }
30255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30256 return resultobj;
30257 fail:
30258 return NULL;
30259 }
30260
30261
30262 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30263 PyObject *resultobj;
30264 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30265 wxWindow *arg2 = (wxWindow *) 0 ;
30266 wxString result;
30267 PyObject * obj0 = 0 ;
30268 PyObject * obj1 = 0 ;
30269 char *kwnames[] = {
30270 (char *) "self",(char *) "window", NULL
30271 };
30272
30273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30278 {
30279 PyThreadState* __tstate = wxPyBeginAllowThreads();
30280 result = (arg1)->GetHelp((wxWindow const *)arg2);
30281
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 {
30286 #if wxUSE_UNICODE
30287 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30288 #else
30289 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30290 #endif
30291 }
30292 return resultobj;
30293 fail:
30294 return NULL;
30295 }
30296
30297
30298 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30299 PyObject *resultobj;
30300 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30301 wxWindow *arg2 = (wxWindow *) 0 ;
30302 bool result;
30303 PyObject * obj0 = 0 ;
30304 PyObject * obj1 = 0 ;
30305 char *kwnames[] = {
30306 (char *) "self",(char *) "window", NULL
30307 };
30308
30309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30314 {
30315 PyThreadState* __tstate = wxPyBeginAllowThreads();
30316 result = (bool)(arg1)->ShowHelp(arg2);
30317
30318 wxPyEndAllowThreads(__tstate);
30319 if (PyErr_Occurred()) SWIG_fail;
30320 }
30321 {
30322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30323 }
30324 return resultobj;
30325 fail:
30326 return NULL;
30327 }
30328
30329
30330 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30331 PyObject *resultobj;
30332 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30333 wxWindow *arg2 = (wxWindow *) 0 ;
30334 wxString *arg3 = 0 ;
30335 bool temp3 = False ;
30336 PyObject * obj0 = 0 ;
30337 PyObject * obj1 = 0 ;
30338 PyObject * obj2 = 0 ;
30339 char *kwnames[] = {
30340 (char *) "self",(char *) "window",(char *) "text", NULL
30341 };
30342
30343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30348 {
30349 arg3 = wxString_in_helper(obj2);
30350 if (arg3 == NULL) SWIG_fail;
30351 temp3 = True;
30352 }
30353 {
30354 PyThreadState* __tstate = wxPyBeginAllowThreads();
30355 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30356
30357 wxPyEndAllowThreads(__tstate);
30358 if (PyErr_Occurred()) SWIG_fail;
30359 }
30360 Py_INCREF(Py_None); resultobj = Py_None;
30361 {
30362 if (temp3)
30363 delete arg3;
30364 }
30365 return resultobj;
30366 fail:
30367 {
30368 if (temp3)
30369 delete arg3;
30370 }
30371 return NULL;
30372 }
30373
30374
30375 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30376 PyObject *resultobj;
30377 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30378 int arg2 ;
30379 wxString *arg3 = 0 ;
30380 bool temp3 = False ;
30381 PyObject * obj0 = 0 ;
30382 PyObject * obj1 = 0 ;
30383 PyObject * obj2 = 0 ;
30384 char *kwnames[] = {
30385 (char *) "self",(char *) "id",(char *) "text", NULL
30386 };
30387
30388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30391 arg2 = (int) SWIG_AsInt(obj1);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 {
30394 arg3 = wxString_in_helper(obj2);
30395 if (arg3 == NULL) SWIG_fail;
30396 temp3 = True;
30397 }
30398 {
30399 PyThreadState* __tstate = wxPyBeginAllowThreads();
30400 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30401
30402 wxPyEndAllowThreads(__tstate);
30403 if (PyErr_Occurred()) SWIG_fail;
30404 }
30405 Py_INCREF(Py_None); resultobj = Py_None;
30406 {
30407 if (temp3)
30408 delete arg3;
30409 }
30410 return resultobj;
30411 fail:
30412 {
30413 if (temp3)
30414 delete arg3;
30415 }
30416 return NULL;
30417 }
30418
30419
30420 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30421 PyObject *resultobj;
30422 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30423 wxWindow *arg2 = (wxWindow *) 0 ;
30424 PyObject * obj0 = 0 ;
30425 PyObject * obj1 = 0 ;
30426 char *kwnames[] = {
30427 (char *) "self",(char *) "window", NULL
30428 };
30429
30430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30435 {
30436 PyThreadState* __tstate = wxPyBeginAllowThreads();
30437 (arg1)->RemoveHelp(arg2);
30438
30439 wxPyEndAllowThreads(__tstate);
30440 if (PyErr_Occurred()) SWIG_fail;
30441 }
30442 Py_INCREF(Py_None); resultobj = Py_None;
30443 return resultobj;
30444 fail:
30445 return NULL;
30446 }
30447
30448
30449 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30450 PyObject *resultobj;
30451 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30452 PyObject * obj0 = 0 ;
30453 char *kwnames[] = {
30454 (char *) "self", NULL
30455 };
30456
30457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30460 {
30461 PyThreadState* __tstate = wxPyBeginAllowThreads();
30462 wxHelpProvider_Destroy(arg1);
30463
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 Py_INCREF(Py_None); resultobj = Py_None;
30468 return resultobj;
30469 fail:
30470 return NULL;
30471 }
30472
30473
30474 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30475 PyObject *obj;
30476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30477 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30478 Py_INCREF(obj);
30479 return Py_BuildValue((char *)"");
30480 }
30481 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30482 PyObject *resultobj;
30483 wxSimpleHelpProvider *result;
30484 char *kwnames[] = {
30485 NULL
30486 };
30487
30488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30489 {
30490 PyThreadState* __tstate = wxPyBeginAllowThreads();
30491 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30492
30493 wxPyEndAllowThreads(__tstate);
30494 if (PyErr_Occurred()) SWIG_fail;
30495 }
30496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30497 return resultobj;
30498 fail:
30499 return NULL;
30500 }
30501
30502
30503 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30504 PyObject *obj;
30505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30506 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30507 Py_INCREF(obj);
30508 return Py_BuildValue((char *)"");
30509 }
30510 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30511 PyObject *resultobj;
30512 wxBitmap *arg1 = 0 ;
30513 wxCursor const &arg2_defvalue = wxNullCursor ;
30514 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30515 wxGenericDragImage *result;
30516 PyObject * obj0 = 0 ;
30517 PyObject * obj1 = 0 ;
30518 char *kwnames[] = {
30519 (char *) "image",(char *) "cursor", NULL
30520 };
30521
30522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30524 SWIG_POINTER_EXCEPTION | 0)) == -1)
30525 SWIG_fail;
30526 if (arg1 == NULL) {
30527 PyErr_SetString(PyExc_TypeError,"null reference");
30528 SWIG_fail;
30529 }
30530 if (obj1) {
30531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30532 SWIG_POINTER_EXCEPTION | 0)) == -1)
30533 SWIG_fail;
30534 if (arg2 == NULL) {
30535 PyErr_SetString(PyExc_TypeError,"null reference");
30536 SWIG_fail;
30537 }
30538 }
30539 {
30540 if (!wxPyCheckForApp()) SWIG_fail;
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30543
30544 wxPyEndAllowThreads(__tstate);
30545 if (PyErr_Occurred()) SWIG_fail;
30546 }
30547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30548 return resultobj;
30549 fail:
30550 return NULL;
30551 }
30552
30553
30554 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30555 PyObject *resultobj;
30556 wxIcon *arg1 = 0 ;
30557 wxCursor const &arg2_defvalue = wxNullCursor ;
30558 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30559 wxGenericDragImage *result;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 char *kwnames[] = {
30563 (char *) "image",(char *) "cursor", NULL
30564 };
30565
30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30568 SWIG_POINTER_EXCEPTION | 0)) == -1)
30569 SWIG_fail;
30570 if (arg1 == NULL) {
30571 PyErr_SetString(PyExc_TypeError,"null reference");
30572 SWIG_fail;
30573 }
30574 if (obj1) {
30575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30576 SWIG_POINTER_EXCEPTION | 0)) == -1)
30577 SWIG_fail;
30578 if (arg2 == NULL) {
30579 PyErr_SetString(PyExc_TypeError,"null reference");
30580 SWIG_fail;
30581 }
30582 }
30583 {
30584 if (!wxPyCheckForApp()) SWIG_fail;
30585 PyThreadState* __tstate = wxPyBeginAllowThreads();
30586 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30587
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30592 return resultobj;
30593 fail:
30594 return NULL;
30595 }
30596
30597
30598 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30599 PyObject *resultobj;
30600 wxString *arg1 = 0 ;
30601 wxCursor const &arg2_defvalue = wxNullCursor ;
30602 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30603 wxGenericDragImage *result;
30604 bool temp1 = False ;
30605 PyObject * obj0 = 0 ;
30606 PyObject * obj1 = 0 ;
30607 char *kwnames[] = {
30608 (char *) "str",(char *) "cursor", NULL
30609 };
30610
30611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30612 {
30613 arg1 = wxString_in_helper(obj0);
30614 if (arg1 == NULL) SWIG_fail;
30615 temp1 = True;
30616 }
30617 if (obj1) {
30618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30619 SWIG_POINTER_EXCEPTION | 0)) == -1)
30620 SWIG_fail;
30621 if (arg2 == NULL) {
30622 PyErr_SetString(PyExc_TypeError,"null reference");
30623 SWIG_fail;
30624 }
30625 }
30626 {
30627 if (!wxPyCheckForApp()) SWIG_fail;
30628 PyThreadState* __tstate = wxPyBeginAllowThreads();
30629 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30630
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30635 {
30636 if (temp1)
30637 delete arg1;
30638 }
30639 return resultobj;
30640 fail:
30641 {
30642 if (temp1)
30643 delete arg1;
30644 }
30645 return NULL;
30646 }
30647
30648
30649 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30650 PyObject *resultobj;
30651 wxPyTreeCtrl *arg1 = 0 ;
30652 wxTreeItemId *arg2 = 0 ;
30653 wxGenericDragImage *result;
30654 PyObject * obj0 = 0 ;
30655 PyObject * obj1 = 0 ;
30656 char *kwnames[] = {
30657 (char *) "treeCtrl",(char *) "id", NULL
30658 };
30659
30660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30662 SWIG_POINTER_EXCEPTION | 0)) == -1)
30663 SWIG_fail;
30664 if (arg1 == NULL) {
30665 PyErr_SetString(PyExc_TypeError,"null reference");
30666 SWIG_fail;
30667 }
30668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30669 SWIG_POINTER_EXCEPTION | 0)) == -1)
30670 SWIG_fail;
30671 if (arg2 == NULL) {
30672 PyErr_SetString(PyExc_TypeError,"null reference");
30673 SWIG_fail;
30674 }
30675 {
30676 if (!wxPyCheckForApp()) SWIG_fail;
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30679
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30684 return resultobj;
30685 fail:
30686 return NULL;
30687 }
30688
30689
30690 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj;
30692 wxPyListCtrl *arg1 = 0 ;
30693 long arg2 ;
30694 wxGenericDragImage *result;
30695 PyObject * obj0 = 0 ;
30696 PyObject * obj1 = 0 ;
30697 char *kwnames[] = {
30698 (char *) "listCtrl",(char *) "id", NULL
30699 };
30700
30701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
30702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30703 SWIG_POINTER_EXCEPTION | 0)) == -1)
30704 SWIG_fail;
30705 if (arg1 == NULL) {
30706 PyErr_SetString(PyExc_TypeError,"null reference");
30707 SWIG_fail;
30708 }
30709 arg2 = (long) SWIG_AsLong(obj1);
30710 if (PyErr_Occurred()) SWIG_fail;
30711 {
30712 if (!wxPyCheckForApp()) SWIG_fail;
30713 PyThreadState* __tstate = wxPyBeginAllowThreads();
30714 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30715
30716 wxPyEndAllowThreads(__tstate);
30717 if (PyErr_Occurred()) SWIG_fail;
30718 }
30719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30720 return resultobj;
30721 fail:
30722 return NULL;
30723 }
30724
30725
30726 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30727 PyObject *resultobj;
30728 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30729 PyObject * obj0 = 0 ;
30730 char *kwnames[] = {
30731 (char *) "self", NULL
30732 };
30733
30734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
30735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30737 {
30738 PyThreadState* __tstate = wxPyBeginAllowThreads();
30739 delete arg1;
30740
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 Py_INCREF(Py_None); resultobj = Py_None;
30745 return resultobj;
30746 fail:
30747 return NULL;
30748 }
30749
30750
30751 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30752 PyObject *resultobj;
30753 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30754 wxBitmap *arg2 = (wxBitmap *) 0 ;
30755 PyObject * obj0 = 0 ;
30756 PyObject * obj1 = 0 ;
30757 char *kwnames[] = {
30758 (char *) "self",(char *) "bitmap", NULL
30759 };
30760
30761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
30762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30766 {
30767 PyThreadState* __tstate = wxPyBeginAllowThreads();
30768 (arg1)->SetBackingBitmap(arg2);
30769
30770 wxPyEndAllowThreads(__tstate);
30771 if (PyErr_Occurred()) SWIG_fail;
30772 }
30773 Py_INCREF(Py_None); resultobj = Py_None;
30774 return resultobj;
30775 fail:
30776 return NULL;
30777 }
30778
30779
30780 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30781 PyObject *resultobj;
30782 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30783 wxPoint *arg2 = 0 ;
30784 wxWindow *arg3 = (wxWindow *) 0 ;
30785 bool arg4 = (bool) False ;
30786 wxRect *arg5 = (wxRect *) NULL ;
30787 bool result;
30788 wxPoint temp2 ;
30789 PyObject * obj0 = 0 ;
30790 PyObject * obj1 = 0 ;
30791 PyObject * obj2 = 0 ;
30792 PyObject * obj3 = 0 ;
30793 PyObject * obj4 = 0 ;
30794 char *kwnames[] = {
30795 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30796 };
30797
30798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30801 {
30802 arg2 = &temp2;
30803 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30804 }
30805 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30807 if (obj3) {
30808 arg4 = (bool) SWIG_AsBool(obj3);
30809 if (PyErr_Occurred()) SWIG_fail;
30810 }
30811 if (obj4) {
30812 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30814 }
30815 {
30816 PyThreadState* __tstate = wxPyBeginAllowThreads();
30817 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30818
30819 wxPyEndAllowThreads(__tstate);
30820 if (PyErr_Occurred()) SWIG_fail;
30821 }
30822 {
30823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30824 }
30825 return resultobj;
30826 fail:
30827 return NULL;
30828 }
30829
30830
30831 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30832 PyObject *resultobj;
30833 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30834 wxPoint *arg2 = 0 ;
30835 wxWindow *arg3 = (wxWindow *) 0 ;
30836 wxWindow *arg4 = (wxWindow *) 0 ;
30837 bool result;
30838 wxPoint temp2 ;
30839 PyObject * obj0 = 0 ;
30840 PyObject * obj1 = 0 ;
30841 PyObject * obj2 = 0 ;
30842 PyObject * obj3 = 0 ;
30843 char *kwnames[] = {
30844 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30845 };
30846
30847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30850 {
30851 arg2 = &temp2;
30852 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30853 }
30854 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30856 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30858 {
30859 PyThreadState* __tstate = wxPyBeginAllowThreads();
30860 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30861
30862 wxPyEndAllowThreads(__tstate);
30863 if (PyErr_Occurred()) SWIG_fail;
30864 }
30865 {
30866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30867 }
30868 return resultobj;
30869 fail:
30870 return NULL;
30871 }
30872
30873
30874 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30875 PyObject *resultobj;
30876 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30877 bool result;
30878 PyObject * obj0 = 0 ;
30879 char *kwnames[] = {
30880 (char *) "self", NULL
30881 };
30882
30883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
30884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30886 {
30887 PyThreadState* __tstate = wxPyBeginAllowThreads();
30888 result = (bool)(arg1)->EndDrag();
30889
30890 wxPyEndAllowThreads(__tstate);
30891 if (PyErr_Occurred()) SWIG_fail;
30892 }
30893 {
30894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30895 }
30896 return resultobj;
30897 fail:
30898 return NULL;
30899 }
30900
30901
30902 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30903 PyObject *resultobj;
30904 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30905 wxPoint *arg2 = 0 ;
30906 bool result;
30907 wxPoint temp2 ;
30908 PyObject * obj0 = 0 ;
30909 PyObject * obj1 = 0 ;
30910 char *kwnames[] = {
30911 (char *) "self",(char *) "pt", NULL
30912 };
30913
30914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30917 {
30918 arg2 = &temp2;
30919 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30920 }
30921 {
30922 PyThreadState* __tstate = wxPyBeginAllowThreads();
30923 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30924
30925 wxPyEndAllowThreads(__tstate);
30926 if (PyErr_Occurred()) SWIG_fail;
30927 }
30928 {
30929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30930 }
30931 return resultobj;
30932 fail:
30933 return NULL;
30934 }
30935
30936
30937 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30938 PyObject *resultobj;
30939 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30940 bool result;
30941 PyObject * obj0 = 0 ;
30942 char *kwnames[] = {
30943 (char *) "self", NULL
30944 };
30945
30946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30949 {
30950 PyThreadState* __tstate = wxPyBeginAllowThreads();
30951 result = (bool)(arg1)->Show();
30952
30953 wxPyEndAllowThreads(__tstate);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 }
30956 {
30957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30958 }
30959 return resultobj;
30960 fail:
30961 return NULL;
30962 }
30963
30964
30965 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj;
30967 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30968 bool result;
30969 PyObject * obj0 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "self", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (bool)(arg1)->Hide();
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
30984 {
30985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30986 }
30987 return resultobj;
30988 fail:
30989 return NULL;
30990 }
30991
30992
30993 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30994 PyObject *resultobj;
30995 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30996 wxPoint *arg2 = 0 ;
30997 wxRect result;
30998 wxPoint temp2 ;
30999 PyObject * obj0 = 0 ;
31000 PyObject * obj1 = 0 ;
31001 char *kwnames[] = {
31002 (char *) "self",(char *) "pos", NULL
31003 };
31004
31005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31008 {
31009 arg2 = &temp2;
31010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31011 }
31012 {
31013 PyThreadState* __tstate = wxPyBeginAllowThreads();
31014 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31015
31016 wxPyEndAllowThreads(__tstate);
31017 if (PyErr_Occurred()) SWIG_fail;
31018 }
31019 {
31020 wxRect * resultptr;
31021 resultptr = new wxRect((wxRect &) result);
31022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31023 }
31024 return resultobj;
31025 fail:
31026 return NULL;
31027 }
31028
31029
31030 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31031 PyObject *resultobj;
31032 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31033 wxDC *arg2 = 0 ;
31034 wxPoint *arg3 = 0 ;
31035 bool result;
31036 wxPoint temp3 ;
31037 PyObject * obj0 = 0 ;
31038 PyObject * obj1 = 0 ;
31039 PyObject * obj2 = 0 ;
31040 char *kwnames[] = {
31041 (char *) "self",(char *) "dc",(char *) "pos", NULL
31042 };
31043
31044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31048 SWIG_POINTER_EXCEPTION | 0)) == -1)
31049 SWIG_fail;
31050 if (arg2 == NULL) {
31051 PyErr_SetString(PyExc_TypeError,"null reference");
31052 SWIG_fail;
31053 }
31054 {
31055 arg3 = &temp3;
31056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31057 }
31058 {
31059 PyThreadState* __tstate = wxPyBeginAllowThreads();
31060 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31061
31062 wxPyEndAllowThreads(__tstate);
31063 if (PyErr_Occurred()) SWIG_fail;
31064 }
31065 {
31066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31067 }
31068 return resultobj;
31069 fail:
31070 return NULL;
31071 }
31072
31073
31074 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31075 PyObject *resultobj;
31076 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31077 wxDC *arg2 = 0 ;
31078 wxMemoryDC *arg3 = 0 ;
31079 wxRect *arg4 = 0 ;
31080 wxRect *arg5 = 0 ;
31081 bool result;
31082 wxRect temp4 ;
31083 wxRect temp5 ;
31084 PyObject * obj0 = 0 ;
31085 PyObject * obj1 = 0 ;
31086 PyObject * obj2 = 0 ;
31087 PyObject * obj3 = 0 ;
31088 PyObject * obj4 = 0 ;
31089 char *kwnames[] = {
31090 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31091 };
31092
31093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31097 SWIG_POINTER_EXCEPTION | 0)) == -1)
31098 SWIG_fail;
31099 if (arg2 == NULL) {
31100 PyErr_SetString(PyExc_TypeError,"null reference");
31101 SWIG_fail;
31102 }
31103 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31104 SWIG_POINTER_EXCEPTION | 0)) == -1)
31105 SWIG_fail;
31106 if (arg3 == NULL) {
31107 PyErr_SetString(PyExc_TypeError,"null reference");
31108 SWIG_fail;
31109 }
31110 {
31111 arg4 = &temp4;
31112 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31113 }
31114 {
31115 arg5 = &temp5;
31116 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31117 }
31118 {
31119 PyThreadState* __tstate = wxPyBeginAllowThreads();
31120 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31121
31122 wxPyEndAllowThreads(__tstate);
31123 if (PyErr_Occurred()) SWIG_fail;
31124 }
31125 {
31126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31127 }
31128 return resultobj;
31129 fail:
31130 return NULL;
31131 }
31132
31133
31134 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31135 PyObject *resultobj;
31136 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31137 wxPoint *arg2 = 0 ;
31138 wxPoint *arg3 = 0 ;
31139 bool arg4 ;
31140 bool arg5 ;
31141 bool result;
31142 wxPoint temp2 ;
31143 wxPoint temp3 ;
31144 PyObject * obj0 = 0 ;
31145 PyObject * obj1 = 0 ;
31146 PyObject * obj2 = 0 ;
31147 PyObject * obj3 = 0 ;
31148 PyObject * obj4 = 0 ;
31149 char *kwnames[] = {
31150 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31151 };
31152
31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31156 {
31157 arg2 = &temp2;
31158 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31159 }
31160 {
31161 arg3 = &temp3;
31162 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31163 }
31164 arg4 = (bool) SWIG_AsBool(obj3);
31165 if (PyErr_Occurred()) SWIG_fail;
31166 arg5 = (bool) SWIG_AsBool(obj4);
31167 if (PyErr_Occurred()) SWIG_fail;
31168 {
31169 PyThreadState* __tstate = wxPyBeginAllowThreads();
31170 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31171
31172 wxPyEndAllowThreads(__tstate);
31173 if (PyErr_Occurred()) SWIG_fail;
31174 }
31175 {
31176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31177 }
31178 return resultobj;
31179 fail:
31180 return NULL;
31181 }
31182
31183
31184 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31185 PyObject *obj;
31186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31187 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31188 Py_INCREF(obj);
31189 return Py_BuildValue((char *)"");
31190 }
31191 static PyMethodDef SwigMethods[] = {
31192 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31193 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31194 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31195 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31196 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31197 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31198 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31199 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31200 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31201 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31202 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31203 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31204 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31205 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31206 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31207 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31208 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31209 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31210 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31211 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31212 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31213 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31214 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31215 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31216 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31217 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31218 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31219 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31220 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31221 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31222 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31223 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
31224 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31225 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31226 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31227 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31228 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31229 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31230 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31231 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
31232 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31233 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31234 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31235 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31236 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31237 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31238 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31239 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31240 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31241 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31242 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31243 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31244 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31245 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31246 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31247 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
31248 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31249 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
31250 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31251 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31252 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
31253 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31254 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31255 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31256 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31257 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31258 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31259 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31260 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31261 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31262 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31263 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31264 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31265 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31266 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
31267 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31268 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31269 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31270 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31271 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
31272 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31273 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31274 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31275 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31276 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31277 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31278 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31279 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31280 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31281 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31282 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31283 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
31284 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31286 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31287 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31288 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31289 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31290 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31291 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
31292 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31294 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31296 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31301 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31302 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31303 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31304 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31305 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31306 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31307 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31308 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31313 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31314 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31315 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31316 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31317 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31318 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31319 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31320 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31321 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31322 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31323 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31324 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31325 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31326 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS },
31327 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31328 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31331 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31333 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31336 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31337 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31338 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31339 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31341 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31343 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31344 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31345 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31346 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31348 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31350 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31351 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31356 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31357 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31358 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31359 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31360 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31361 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31363 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31364 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31365 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31370 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31371 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31372 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31375 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31376 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31377 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31378 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31379 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31380 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31382 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31383 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31384 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31385 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31387 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31388 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31390 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31392 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31393 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31394 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31397 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31399 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31400 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31401 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31403 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31404 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31405 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31406 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31407 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31408 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31412 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31415 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31416 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31417 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31418 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31419 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31423 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31424 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31426 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31429 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31430 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31431 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31436 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31438 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31439 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
31440 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31441 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31442 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31443 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31445 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31446 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31447 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31448 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31452 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31454 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31458 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31459 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31462 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31463 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31464 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31465 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31466 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31468 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31470 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31472 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31473 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31474 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31475 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31476 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31477 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31478 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31480 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31481 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31482 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31483 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31484 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31489 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31503 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31509 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31517 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31518 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31519 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31538 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31544 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31554 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31556 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31561 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31563 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31568 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31573 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31603 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31648 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31654 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31666 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31718 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31745 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31816 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31828 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31836 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31843 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
31858 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31859 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31865 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31934 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31950 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31956 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31961 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
31963 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31987 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31995 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32000 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32002 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32003 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32004 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32011 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32012 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
32013 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32015 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32016 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32017 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32020 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32022 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32023 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32024 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32025 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32026 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
32031 { NULL, NULL }
32032 };
32033
32034
32035 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32036
32037 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32038 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32039 }
32040 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32041 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32042 }
32043 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32044 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32045 }
32046 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32047 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32048 }
32049 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32050 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32051 }
32052 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32053 return (void *)((wxSizer *) ((wxGridSizer *) x));
32054 }
32055 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32056 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32057 }
32058 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32059 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32060 }
32061 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32062 return (void *)((wxSizer *) ((wxPySizer *) x));
32063 }
32064 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32065 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32066 }
32067 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32068 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32069 }
32070 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32071 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32072 }
32073 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32074 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32075 }
32076 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32077 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32078 }
32079 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32080 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32081 }
32082 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32083 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32084 }
32085 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32086 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32087 }
32088 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32089 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32090 }
32091 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32092 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32093 }
32094 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32095 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32096 }
32097 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32098 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32099 }
32100 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32101 return (void *)((wxEvent *) ((wxPyEvent *) x));
32102 }
32103 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32105 }
32106 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32107 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32108 }
32109 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32110 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32111 }
32112 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32113 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32114 }
32115 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32116 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32117 }
32118 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32119 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32120 }
32121 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32122 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32123 }
32124 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32125 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32126 }
32127 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32128 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32129 }
32130 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32131 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32132 }
32133 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32134 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32135 }
32136 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32137 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32138 }
32139 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32140 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32141 }
32142 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32143 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32144 }
32145 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32146 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32147 }
32148 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32149 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32150 }
32151 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32152 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32153 }
32154 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32155 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32156 }
32157 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32158 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32159 }
32160 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32161 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32162 }
32163 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32164 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32165 }
32166 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32167 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32168 }
32169 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32170 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32171 }
32172 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32173 return (void *)((wxEvent *) ((wxShowEvent *) x));
32174 }
32175 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32176 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32177 }
32178 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32179 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32180 }
32181 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32182 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32183 }
32184 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32185 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32186 }
32187 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32188 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32189 }
32190 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32191 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32192 }
32193 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32194 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32195 }
32196 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32197 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32198 }
32199 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32200 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32201 }
32202 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32203 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32204 }
32205 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32206 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32207 }
32208 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32209 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32210 }
32211 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32212 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32213 }
32214 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32215 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32216 }
32217 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32218 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32219 }
32220 static void *_p_wxListBoxTo_p_wxControl(void *x) {
32221 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32222 }
32223 static void *_p_wxChoiceTo_p_wxControl(void *x) {
32224 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32225 }
32226 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32227 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32228 }
32229 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32230 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32231 }
32232 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32233 return (void *)((wxControl *) ((wxComboBox *) x));
32234 }
32235 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32236 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32237 }
32238 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32239 return (void *)((wxControl *) ((wxStaticBox *) x));
32240 }
32241 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32242 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32243 }
32244 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32245 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32246 }
32247 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32248 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32249 }
32250 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32251 return (void *)((wxControl *) ((wxScrollBar *) x));
32252 }
32253 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32254 return (void *)((wxControl *) ((wxBookCtrl *) x));
32255 }
32256 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32257 return (void *)((wxControl *) ((wxRadioButton *) x));
32258 }
32259 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32260 return (void *)((wxControl *) ((wxToggleButton *) x));
32261 }
32262 static void *_p_wxGaugeTo_p_wxControl(void *x) {
32263 return (void *)((wxControl *) ((wxGauge *) x));
32264 }
32265 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32266 return (void *)((wxControl *) ((wxToolBarBase *) x));
32267 }
32268 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32269 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32270 }
32271 static void *_p_wxButtonTo_p_wxControl(void *x) {
32272 return (void *)((wxControl *) ((wxButton *) x));
32273 }
32274 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32275 return (void *)((wxControl *) ((wxSpinButton *) x));
32276 }
32277 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32278 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32279 }
32280 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32281 return (void *)((wxControl *) ((wxControlWithItems *) x));
32282 }
32283 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32284 return (void *)((wxControl *) ((wxRadioBox *) x));
32285 }
32286 static void *_p_wxNotebookTo_p_wxControl(void *x) {
32287 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32288 }
32289 static void *_p_wxListbookTo_p_wxControl(void *x) {
32290 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32291 }
32292 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32293 return (void *)((wxControl *) ((wxCheckBox *) x));
32294 }
32295 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32296 return (void *)((wxControl *) ((wxTextCtrl *) x));
32297 }
32298 static void *_p_wxListViewTo_p_wxControl(void *x) {
32299 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32300 }
32301 static void *_p_wxSliderTo_p_wxControl(void *x) {
32302 return (void *)((wxControl *) ((wxSlider *) x));
32303 }
32304 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32305 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32306 }
32307 static void *_p_wxPyControlTo_p_wxControl(void *x) {
32308 return (void *)((wxControl *) ((wxPyControl *) x));
32309 }
32310 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32311 return (void *)((wxControl *) ((wxStaticLine *) x));
32312 }
32313 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32314 return (void *)((wxControl *) ((wxStaticText *) x));
32315 }
32316 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32317 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32318 }
32319 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32320 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32321 }
32322 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32323 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32324 }
32325 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32326 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32327 }
32328 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32329 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32330 }
32331 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32332 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32333 }
32334 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32335 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32336 }
32337 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32338 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32339 }
32340 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32341 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32342 }
32343 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32345 }
32346 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32347 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32348 }
32349 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32350 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32351 }
32352 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32353 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32354 }
32355 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32356 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32357 }
32358 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32359 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32360 }
32361 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32363 }
32364 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32365 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32366 }
32367 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32369 }
32370 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32371 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32372 }
32373 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32374 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32375 }
32376 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32378 }
32379 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32381 }
32382 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32384 }
32385 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32386 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32387 }
32388 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32390 }
32391 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32393 }
32394 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32396 }
32397 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32399 }
32400 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32402 }
32403 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32405 }
32406 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32408 }
32409 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32411 }
32412 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32414 }
32415 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32417 }
32418 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32420 }
32421 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32423 }
32424 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32426 }
32427 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32428 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32429 }
32430 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32432 }
32433 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32435 }
32436 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32438 }
32439 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32441 }
32442 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32444 }
32445 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32447 }
32448 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32450 }
32451 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32453 }
32454 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32456 }
32457 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32459 }
32460 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32461 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32462 }
32463 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32464 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32465 }
32466 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32467 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32468 }
32469 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32470 return (void *)((wxButton *) ((wxBitmapButton *) x));
32471 }
32472 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32473 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32474 }
32475 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32476 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32477 }
32478 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32479 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32480 }
32481 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32483 }
32484 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32486 }
32487 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) ((wxSizerItem *) x));
32489 }
32490 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32492 }
32493 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32495 }
32496 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32498 }
32499 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32501 }
32502 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32504 }
32505 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32507 }
32508 static void *_p_wxSizerTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) ((wxSizer *) x));
32510 }
32511 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32513 }
32514 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32516 }
32517 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32519 }
32520 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32522 }
32523 static void *_p_wxEventTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) ((wxEvent *) x));
32525 }
32526 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32528 }
32529 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32531 }
32532 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32534 }
32535 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32537 }
32538 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32540 }
32541 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32543 }
32544 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32546 }
32547 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32549 }
32550 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32552 }
32553 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32555 }
32556 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32558 }
32559 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32561 }
32562 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32564 }
32565 static void *_p_wxControlTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32567 }
32568 static void *_p_wxPyControlTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32570 }
32571 static void *_p_wxGaugeTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32573 }
32574 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32576 }
32577 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32579 }
32580 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32582 }
32583 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32585 }
32586 static void *_p_wxChoiceTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32588 }
32589 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) ((wxFSFile *) x));
32591 }
32592 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32594 }
32595 static void *_p_wxListViewTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32597 }
32598 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32600 }
32601 static void *_p_wxNotebookTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32603 }
32604 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32606 }
32607 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32609 }
32610 static void *_p_wxListbookTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32612 }
32613 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32615 }
32616 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32618 }
32619 static void *_p_wxSliderTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32621 }
32622 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) ((wxMenuItem *) x));
32624 }
32625 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32627 }
32628 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32630 }
32631 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32633 }
32634 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32636 }
32637 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32639 }
32640 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32642 }
32643 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32645 }
32646 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32648 }
32649 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32651 }
32652 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) ((wxContextHelp *) x));
32654 }
32655 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32657 }
32658 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32660 }
32661 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32663 }
32664 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32666 }
32667 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32669 }
32670 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32672 }
32673 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32674 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32675 }
32676 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32677 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32678 }
32679 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32680 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32681 }
32682 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32683 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32684 }
32685 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32686 return (void *)((wxObject *) ((wxImageHandler *) x));
32687 }
32688 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32689 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32690 }
32691 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32692 return (void *)((wxObject *) ((wxEvtHandler *) x));
32693 }
32694 static void *_p_wxListEventTo_p_wxObject(void *x) {
32695 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32696 }
32697 static void *_p_wxListBoxTo_p_wxObject(void *x) {
32698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32699 }
32700 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32702 }
32703 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32705 }
32706 static void *_p_wxButtonTo_p_wxObject(void *x) {
32707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32708 }
32709 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32711 }
32712 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32714 }
32715 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32717 }
32718 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32719 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32720 }
32721 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32723 }
32724 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32726 }
32727 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
32729 }
32730 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32732 }
32733 static void *_p_wxListItemTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) ((wxListItem *) x));
32735 }
32736 static void *_p_wxImageTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) ((wxImage *) x));
32738 }
32739 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32741 }
32742 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32744 }
32745 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32747 }
32748 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32750 }
32751 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32753 }
32754 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32756 }
32757 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32759 }
32760 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32762 }
32763 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32764 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32765 }
32766 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32767 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32768 }
32769 static void *_p_wxWindowTo_p_wxObject(void *x) {
32770 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32771 }
32772 static void *_p_wxMenuTo_p_wxObject(void *x) {
32773 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32774 }
32775 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32777 }
32778 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) ((wxFileSystem *) x));
32780 }
32781 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32783 }
32784 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32786 }
32787 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32789 }
32790 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32792 }
32793 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32795 }
32796 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32798 }
32799 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32801 }
32802 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32804 }
32805 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32807 }
32808 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32810 }
32811 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32813 }
32814 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32816 }
32817 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32819 }
32820 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32822 }
32823 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32825 }
32826 static void *_p_wxToolBarTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32828 }
32829 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32831 }
32832 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32834 }
32835 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32837 }
32838 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32839 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32840 }
32841 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32842 return (void *)((wxWindow *) ((wxMenuBar *) x));
32843 }
32844 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32845 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32846 }
32847 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32848 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32849 }
32850 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32851 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32852 }
32853 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32854 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32855 }
32856 static void *_p_wxControlTo_p_wxWindow(void *x) {
32857 return (void *)((wxWindow *) ((wxControl *) x));
32858 }
32859 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32860 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32861 }
32862 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32863 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32864 }
32865 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32866 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32867 }
32868 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32869 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
32870 }
32871 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32872 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32873 }
32874 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32875 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32876 }
32877 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32878 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32879 }
32880 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32881 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32882 }
32883 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32884 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32885 }
32886 static void *_p_wxListbookTo_p_wxWindow(void *x) {
32887 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32888 }
32889 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32890 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32891 }
32892 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32893 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32894 }
32895 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32896 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32897 }
32898 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32899 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32900 }
32901 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32902 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32903 }
32904 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32905 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32906 }
32907 static void *_p_wxListViewTo_p_wxWindow(void *x) {
32908 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32909 }
32910 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32911 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32912 }
32913 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32914 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32915 }
32916 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32917 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32918 }
32919 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32920 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32921 }
32922 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32923 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32924 }
32925 static void *_p_wxSliderTo_p_wxWindow(void *x) {
32926 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32927 }
32928 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32929 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32930 }
32931 static void *_p_wxButtonTo_p_wxWindow(void *x) {
32932 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32933 }
32934 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32935 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32936 }
32937 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32938 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32939 }
32940 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32941 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32942 }
32943 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32944 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32945 }
32946 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32947 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32948 }
32949 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32950 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32951 }
32952 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32953 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32954 }
32955 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32956 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32957 }
32958 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32959 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32960 }
32961 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32962 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32963 }
32964 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32965 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32966 }
32967 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32968 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32969 }
32970 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32971 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32972 }
32973 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32974 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32975 }
32976 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32977 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32978 }
32979 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32980 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32981 }
32982 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32983 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32984 }
32985 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32986 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32987 }
32988 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32989 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32990 }
32991 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32992 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32993 }
32994 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32995 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32996 }
32997 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32998 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32999 }
33000 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33001 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33002 }
33003 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33004 return (void *)((wxValidator *) ((wxPyValidator *) x));
33005 }
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091
33092 static swig_type_info *swig_types_initial[] = {
33093 _swigt__p_wxTextUrlEvent,
33094 _swigt__p_wxBookCtrlEvent,
33095 _swigt__p_wxSizer,
33096 _swigt__p_wxCheckBox,
33097 _swigt__p_wxPyTreeCtrl,
33098 _swigt__p_wxEvent,
33099 _swigt__p_wxGenericDirCtrl,
33100 _swigt__p_bool,
33101 _swigt__p_wxPyTreeItemData,
33102 _swigt__p_wxItemContainer,
33103 _swigt__p_wxPyListCtrl,
33104 _swigt__p_wxDirFilterListCtrl,
33105 _swigt__p_wxStaticLine,
33106 _swigt__p_wxControl,
33107 _swigt__p_wxPyControl,
33108 _swigt__p_wxGauge,
33109 _swigt__p_wxToolBarBase,
33110 _swigt__p_wxFont,
33111 _swigt__p_wxToggleButton,
33112 _swigt__p_wxRadioButton,
33113 _swigt__p_wxChoice,
33114 _swigt__p_wxMemoryDC,
33115 _swigt__p_wxListItemAttr,
33116 _swigt__p_void,
33117 _swigt__p_int,
33118 _swigt__p_wxSize,
33119 _swigt__p_wxDC,
33120 _swigt__p_wxListView,
33121 _swigt__p_wxIcon,
33122 _swigt__p_wxVisualAttributes,
33123 _swigt__p_wxTextCtrl,
33124 _swigt__p_wxNotebook,
33125 _swigt__p_wxNotifyEvent,
33126 _swigt__p_wxArrayString,
33127 _swigt__p_wxListbook,
33128 _swigt__p_wxStaticBitmap,
33129 _swigt__p_wxSlider,
33130 _swigt__p_wxStaticBox,
33131 _swigt__p_wxArrayInt,
33132 _swigt__p_wxContextHelp,
33133 _swigt__p_long,
33134 _swigt__p_wxEvtHandler,
33135 _swigt__p_wxListEvent,
33136 _swigt__p_wxCheckListBox,
33137 _swigt__p_wxListBox,
33138 _swigt__p_wxBookCtrl,
33139 _swigt__p_wxSpinButton,
33140 _swigt__p_wxButton,
33141 _swigt__p_wxBitmapButton,
33142 _swigt__p_wxRect,
33143 _swigt__p_wxContextHelpButton,
33144 _swigt__p_wxRadioBox,
33145 _swigt__p_wxScrollBar,
33146 _swigt__p_char,
33147 _swigt__p_wxTreeItemId,
33148 _swigt__p_wxComboBox,
33149 _swigt__p_wxHelpEvent,
33150 _swigt__p_wxListItem,
33151 _swigt__p_wxNotebookSizer,
33152 _swigt__p_wxSpinEvent,
33153 _swigt__p_wxGenericDragImage,
33154 _swigt__p_wxSpinCtrl,
33155 _swigt__p_wxImageList,
33156 _swigt__p_wxHelpProvider,
33157 _swigt__p_wxTextAttr,
33158 _swigt__p_wxSimpleHelpProvider,
33159 _swigt__p_wxPoint,
33160 _swigt__p_wxListbookEvent,
33161 _swigt__p_wxNotebookEvent,
33162 _swigt__p_wxObject,
33163 _swigt__p_wxCursor,
33164 _swigt__p_wxKeyEvent,
33165 _swigt__p_wxWindow,
33166 _swigt__p_wxString,
33167 _swigt__p_wxBitmap,
33168 _swigt__p_wxTreeEvent,
33169 _swigt__p_wxMouseEvent,
33170 _swigt__p_wxCommandEvent,
33171 _swigt__p_wxStaticText,
33172 _swigt__p_wxControlWithItems,
33173 _swigt__p_wxToolBarToolBase,
33174 _swigt__p_wxColour,
33175 _swigt__p_wxToolBar,
33176 _swigt__p_wxBookCtrlSizer,
33177 _swigt__p_wxValidator,
33178 0
33179 };
33180
33181
33182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33183
33184 static swig_const_info swig_const_table[] = {
33185 {0}};
33186
33187 #ifdef __cplusplus
33188 }
33189 #endif
33190
33191 #ifdef __cplusplus
33192 extern "C"
33193 #endif
33194 SWIGEXPORT(void) SWIG_init(void) {
33195 static PyObject *SWIG_globals = 0;
33196 static int typeinit = 0;
33197 PyObject *m, *d;
33198 int i;
33199 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33200 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33201 d = PyModule_GetDict(m);
33202
33203 if (!typeinit) {
33204 for (i = 0; swig_types_initial[i]; i++) {
33205 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33206 }
33207 typeinit = 1;
33208 }
33209 SWIG_InstallConstants(d,swig_const_table);
33210
33211 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33212 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33213 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33214 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33215 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33216 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33217 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33218 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33219 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33220 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33221 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33222 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33223 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33224 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33225 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33226 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33227 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33228 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33229 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33230 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33231 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33232 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33233 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33234 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33235 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33236 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33237 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33238 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33239 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33240 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33241 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33242 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33243 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33244 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33245 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33246 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33247 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33248 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33249 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33250 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33251 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33252 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33253 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33254 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33255 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33256 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33257 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33258 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33259 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33260 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33261 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33262 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33263 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33264 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33265 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33266 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33267 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33268 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33269 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33270 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33271 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33272 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33273 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33274 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33275 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33276 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33277 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33278 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33279 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33280 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33281 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33282 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33283 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33284 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33285 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33286 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33287 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33288 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33289 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33290 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33291 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33292 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33293 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33294 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33295 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33296 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33297 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33298 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33299 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33300 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33301 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33302 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33303 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33304 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33305 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33306 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33307 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33308 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33309 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33310 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33311 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33312 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33313 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33314 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33315 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33316 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33317 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33318 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33319 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33320 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33321 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33322 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33323 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33324 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33325 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33326 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33327 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33328 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33329 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33330 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33331 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33332 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33333 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33334 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33335 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33336 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33337 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33338 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33339 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33340 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33341 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33342 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33343 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33344 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33345 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33346 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33347 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33348 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33349 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33350 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33351 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33352 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33353 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33354 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33355 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33356 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33357 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33358 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33359 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33360 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33361 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33362 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33363 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33364 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33365 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33366 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33367 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33368 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33369 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33370 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33371 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33372 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33373 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33374 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33375 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33376 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33377 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33378 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33379 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33380 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33381 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33382 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33383 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33384 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33385 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33386 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33387 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33388 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33389 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33390 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33391 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33392 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33393 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33394 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33395 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33396 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33397 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33398 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33399 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33400 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33401 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33402 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33403 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33404 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33405 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33406 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33407 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33408 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33409 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33410 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33411 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33412 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33413 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33414 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33415 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33416 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33417 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33418 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33419 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33420 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33421 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33422
33423 // Map renamed classes back to their common name for OOR
33424 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33425
33426 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33427 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33428 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33429 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33430 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33431 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33432 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33433 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33434 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33435 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33436 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33437 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33438 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33439 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33440 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33441 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33442 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33443 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33444 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33445 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33446 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33447 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33448 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33449 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33450 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33451 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33452 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33453 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33454 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33455 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33456 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33457 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33458 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33459 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33460 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33461 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33462 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33463 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33464 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33465 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33466 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33467 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33468 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33469 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33470 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33471 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33472 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33473 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33474 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33475 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33476 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33477 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33478 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33479 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33480 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33482
33483 // Map renamed classes back to their common name for OOR
33484 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33485 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33486
33487 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33488 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33489 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33490 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33491 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33492 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33493 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33494 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33495 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33496 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33497
33498 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33499
33500 }
33501