]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
pi --> math.pi
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_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
574 #include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580 #if !wxUSE_TOGGLEBTN
581 // implement dummy items for platforms that don't have this class
582
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585 class wxToggleButton : public wxControl
586 {
587 public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595 };
596 #endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600 SWIGSTATICINLINE(PyObject* )
601 SWIG_FromUnsignedLong(unsigned long value)
602 {
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606 }
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622 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){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629 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){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650 #include <wx/listctrl.h>
651
652 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
656 int retval = 0;
657 PyObject* func = (PyObject*)funcPtr;
658 bool blocked = wxPyBeginBlockThreads();
659
660 PyObject* args = Py_BuildValue("(ii)", item1, item2);
661 PyObject* result = PyEval_CallObject(func, args);
662 Py_DECREF(args);
663 if (result) {
664 retval = PyInt_AsLong(result);
665 Py_DECREF(result);
666 }
667
668 wxPyEndBlockThreads(blocked);
669 return retval;
670 }
671
672 // C++ Version of a Python aware class
673 class wxPyListCtrl : public wxListCtrl {
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
675 public:
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) :
683 wxListCtrl(parent, id, pos, size, style, validator, name) {}
684
685 bool Create(wxWindow* parent, wxWindowID id,
686 const wxPoint& pos,
687 const wxSize& size,
688 long style,
689 const wxValidator& validator,
690 const wxString& name) {
691 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
692 }
693
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
697
698 PYPRIVATE;
699 };
700
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
702
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
706
707 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
708 wxListItem item;
709 item.SetMask( wxLIST_MASK_STATE |
710 wxLIST_MASK_TEXT |
711 wxLIST_MASK_IMAGE |
712 wxLIST_MASK_DATA |
713 wxLIST_SET_ITEM |
714 wxLIST_MASK_WIDTH |
715 wxLIST_MASK_FORMAT
716 );
717 if (self->GetColumn(col, item))
718 return new wxListItem(item);
719 else
720 return NULL;
721 }
722 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
723 wxListItem* info = new wxListItem;
724 info->m_itemId = itemId;
725 info->m_col = col;
726 info->m_mask = 0xFFFF;
727 self->GetItem(*info);
728 return info;
729 }
730 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
731 wxPoint pos;
732 self->GetItemPosition(item, pos);
733 return pos;
734 }
735 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
736 wxRect rect;
737 self->GetItemRect(item, rect, code);
738 return rect;
739 }
740 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
741 if (!PyCallable_Check(func))
742 return False;
743 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
744 }
745 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
746
747
748
749 return (wxWindow*)self->m_mainWin;
750
751 }
752
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
755
756 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
758 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl : public wxTreeCtrl {
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
763 public:
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) :
771 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
772
773 bool Create(wxWindow *parent, wxWindowID id,
774 const wxPoint& pos,
775 const wxSize& size,
776 long style,
777 const wxValidator& validator,
778 const wxString& name) {
779 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
780 }
781
782
783 int OnCompareItems(const wxTreeItemId& item1,
784 const wxTreeItemId& item2) {
785 int rval = 0;
786 bool found;
787 bool blocked = wxPyBeginBlockThreads();
788 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
789 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
790 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
791 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
792 Py_DECREF(o1);
793 Py_DECREF(o2);
794 }
795 wxPyEndBlockThreads(blocked);
796 if (! found)
797 rval = wxTreeCtrl::OnCompareItems(item1, item2);
798 return rval;
799 }
800 PYPRIVATE;
801 };
802
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
804
805
806
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
809 #else
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
811 #endif
812
813
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
816 unsigned long max_value)
817 {
818 if (!PyErr_Occurred()) {
819 if (value > max_value) {
820 PyObject *err =
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value, type, max_value);
823 PyErr_SetObject(PyExc_OverflowError, err);
824 Py_DECREF(err);
825 }
826 }
827 return value;
828 }
829
830
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject *obj)
834 {
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
837 "unsigned int", UINT_MAX));
838 }
839 #else
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
841 #endif
842
843
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject* obj)
846 {
847 SWIG_AsUnsignedInt(obj);
848 if (PyErr_Occurred()) {
849 PyErr_Clear();
850 return 0;
851 } else {
852 return 1;
853 }
854 }
855
856 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
857 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
858 if (data == NULL) {
859 data = new wxPyTreeItemData();
860 data->SetId(item); // set the id
861 self->SetItemData(item, data);
862 }
863 return data;
864 }
865 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
866 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
867 if (data == NULL) {
868 data = new wxPyTreeItemData();
869 data->SetId(item); // set the id
870 self->SetItemData(item, data);
871 }
872 return data->GetData();
873 }
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
875 data->SetId(item); // set the id
876 self->SetItemData(item, data);
877 }
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
879 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
880 if (data == NULL) {
881 data = new wxPyTreeItemData(obj);
882 data->SetId(item); // set the id
883 self->SetItemData(item, data);
884 } else
885 data->SetData(obj);
886 }
887 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
888 bool blocked = wxPyBeginBlockThreads();
889 PyObject* rval = PyList_New(0);
890 wxArrayTreeItemIds array;
891 size_t num, x;
892 num = self->GetSelections(array);
893 for (x=0; x < num; x++) {
894 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
895 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
896 PyList_Append(rval, item);
897 Py_DECREF(item);
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935 class wxPyControl : public wxControl
936 {
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938 public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
948 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
949
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
954
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
958
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
961
962 DEC_PYCALLBACK__(InitDialog);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
965 DEC_PYCALLBACK_BOOL_(Validate);
966
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
970
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
973
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
977
978 PYPRIVATE;
979 };
980
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
982
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
987
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
991
992 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
994
995 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
997 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
998 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
999
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1003
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1006
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1010
1011
1012
1013 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1014
1015 #include <wx/generic/dragimgg.h>
1016
1017 #ifdef __cplusplus
1018 extern "C" {
1019 #endif
1020 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023 }
1024
1025
1026 static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030 #if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032 #else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034 #endif
1035 }
1036 return pyobj;
1037 }
1038
1039
1040 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
1043 int arg2 = (int) -1 ;
1044 wxString const &arg3_defvalue = wxPyEmptyString ;
1045 wxString *arg3 = (wxString *) &arg3_defvalue ;
1046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1048 wxSize const &arg5_defvalue = wxDefaultSize ;
1049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1050 long arg6 = (long) 0 ;
1051 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1052 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1053 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1054 wxString *arg8 = (wxString *) &arg8_defvalue ;
1055 wxButton *result;
1056 bool temp3 = False ;
1057 wxPoint temp4 ;
1058 wxSize temp5 ;
1059 bool temp8 = False ;
1060 PyObject * obj0 = 0 ;
1061 PyObject * obj1 = 0 ;
1062 PyObject * obj2 = 0 ;
1063 PyObject * obj3 = 0 ;
1064 PyObject * obj4 = 0 ;
1065 PyObject * obj5 = 0 ;
1066 PyObject * obj6 = 0 ;
1067 PyObject * obj7 = 0 ;
1068 char *kwnames[] = {
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1070 };
1071
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1075 if (obj1) {
1076 arg2 = (int) SWIG_AsInt(obj1);
1077 if (PyErr_Occurred()) SWIG_fail;
1078 }
1079 if (obj2) {
1080 {
1081 arg3 = wxString_in_helper(obj2);
1082 if (arg3 == NULL) SWIG_fail;
1083 temp3 = True;
1084 }
1085 }
1086 if (obj3) {
1087 {
1088 arg4 = &temp4;
1089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1090 }
1091 }
1092 if (obj4) {
1093 {
1094 arg5 = &temp5;
1095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1096 }
1097 }
1098 if (obj5) {
1099 arg6 = (long) SWIG_AsLong(obj5);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 if (obj6) {
1103 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1)
1105 SWIG_fail;
1106 if (arg7 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference");
1108 SWIG_fail;
1109 }
1110 }
1111 if (obj7) {
1112 {
1113 arg8 = wxString_in_helper(obj7);
1114 if (arg8 == NULL) SWIG_fail;
1115 temp8 = True;
1116 }
1117 }
1118 {
1119 if (!wxPyCheckForApp()) SWIG_fail;
1120 PyThreadState* __tstate = wxPyBeginAllowThreads();
1121 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1122
1123 wxPyEndAllowThreads(__tstate);
1124 if (PyErr_Occurred()) SWIG_fail;
1125 }
1126 {
1127 resultobj = wxPyMake_wxObject(result);
1128 }
1129 {
1130 if (temp3)
1131 delete arg3;
1132 }
1133 {
1134 if (temp8)
1135 delete arg8;
1136 }
1137 return resultobj;
1138 fail:
1139 {
1140 if (temp3)
1141 delete arg3;
1142 }
1143 {
1144 if (temp8)
1145 delete arg8;
1146 }
1147 return NULL;
1148 }
1149
1150
1151 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 wxButton *result;
1154 char *kwnames[] = {
1155 NULL
1156 };
1157
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1159 {
1160 if (!wxPyCheckForApp()) SWIG_fail;
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 result = (wxButton *)new wxButton();
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 {
1168 resultobj = wxPyMake_wxObject(result);
1169 }
1170 return resultobj;
1171 fail:
1172 return NULL;
1173 }
1174
1175
1176 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 wxButton *arg1 = (wxButton *) 0 ;
1179 wxWindow *arg2 = (wxWindow *) 0 ;
1180 int arg3 = (int) -1 ;
1181 wxString const &arg4_defvalue = wxPyEmptyString ;
1182 wxString *arg4 = (wxString *) &arg4_defvalue ;
1183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1185 wxSize const &arg6_defvalue = wxDefaultSize ;
1186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1187 long arg7 = (long) 0 ;
1188 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1189 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1190 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1191 wxString *arg9 = (wxString *) &arg9_defvalue ;
1192 bool result;
1193 bool temp4 = False ;
1194 wxPoint temp5 ;
1195 wxSize temp6 ;
1196 bool temp9 = False ;
1197 PyObject * obj0 = 0 ;
1198 PyObject * obj1 = 0 ;
1199 PyObject * obj2 = 0 ;
1200 PyObject * obj3 = 0 ;
1201 PyObject * obj4 = 0 ;
1202 PyObject * obj5 = 0 ;
1203 PyObject * obj6 = 0 ;
1204 PyObject * obj7 = 0 ;
1205 PyObject * obj8 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1215 if (obj2) {
1216 arg3 = (int) SWIG_AsInt(obj2);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 if (obj3) {
1220 {
1221 arg4 = wxString_in_helper(obj3);
1222 if (arg4 == NULL) SWIG_fail;
1223 temp4 = True;
1224 }
1225 }
1226 if (obj4) {
1227 {
1228 arg5 = &temp5;
1229 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1230 }
1231 }
1232 if (obj5) {
1233 {
1234 arg6 = &temp6;
1235 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1236 }
1237 }
1238 if (obj6) {
1239 arg7 = (long) SWIG_AsLong(obj6);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 if (obj7) {
1243 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1244 SWIG_POINTER_EXCEPTION | 0)) == -1)
1245 SWIG_fail;
1246 if (arg8 == NULL) {
1247 PyErr_SetString(PyExc_TypeError,"null reference");
1248 SWIG_fail;
1249 }
1250 }
1251 if (obj8) {
1252 {
1253 arg9 = wxString_in_helper(obj8);
1254 if (arg9 == NULL) SWIG_fail;
1255 temp9 = True;
1256 }
1257 }
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) SWIG_fail;
1264 }
1265 {
1266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1267 }
1268 {
1269 if (temp4)
1270 delete arg4;
1271 }
1272 {
1273 if (temp9)
1274 delete arg9;
1275 }
1276 return resultobj;
1277 fail:
1278 {
1279 if (temp4)
1280 delete arg4;
1281 }
1282 {
1283 if (temp9)
1284 delete arg9;
1285 }
1286 return NULL;
1287 }
1288
1289
1290 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxButton *arg1 = (wxButton *) 0 ;
1293 PyObject * obj0 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "self", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 {
1302 PyThreadState* __tstate = wxPyBeginAllowThreads();
1303 (arg1)->SetDefault();
1304
1305 wxPyEndAllowThreads(__tstate);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 Py_INCREF(Py_None); resultobj = Py_None;
1309 return resultobj;
1310 fail:
1311 return NULL;
1312 }
1313
1314
1315 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject *resultobj;
1317 wxSize result;
1318 char *kwnames[] = {
1319 NULL
1320 };
1321
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = wxButton::GetDefaultSize();
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 {
1331 wxSize * resultptr;
1332 resultptr = new wxSize((wxSize &) result);
1333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1334 }
1335 return resultobj;
1336 fail:
1337 return NULL;
1338 }
1339
1340
1341 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject *resultobj;
1343 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1344 wxVisualAttributes result;
1345 PyObject * obj0 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "variant", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1351 if (obj0) {
1352 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1353 if (PyErr_Occurred()) SWIG_fail;
1354 }
1355 {
1356 if (!wxPyCheckForApp()) SWIG_fail;
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 {
1364 wxVisualAttributes * resultptr;
1365 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1367 }
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1375 PyObject *obj;
1376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1377 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1378 Py_INCREF(obj);
1379 return Py_BuildValue((char *)"");
1380 }
1381 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxWindow *arg1 = (wxWindow *) 0 ;
1384 int arg2 = (int) -1 ;
1385 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1386 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1389 wxSize const &arg5_defvalue = wxDefaultSize ;
1390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1391 long arg6 = (long) wxBU_AUTODRAW ;
1392 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1393 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1394 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1395 wxString *arg8 = (wxString *) &arg8_defvalue ;
1396 wxBitmapButton *result;
1397 wxPoint temp4 ;
1398 wxSize temp5 ;
1399 bool temp8 = False ;
1400 PyObject * obj0 = 0 ;
1401 PyObject * obj1 = 0 ;
1402 PyObject * obj2 = 0 ;
1403 PyObject * obj3 = 0 ;
1404 PyObject * obj4 = 0 ;
1405 PyObject * obj5 = 0 ;
1406 PyObject * obj6 = 0 ;
1407 PyObject * obj7 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1415 if (obj1) {
1416 arg2 = (int) SWIG_AsInt(obj1);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 if (obj2) {
1420 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1421 SWIG_POINTER_EXCEPTION | 0)) == -1)
1422 SWIG_fail;
1423 if (arg3 == NULL) {
1424 PyErr_SetString(PyExc_TypeError,"null reference");
1425 SWIG_fail;
1426 }
1427 }
1428 if (obj3) {
1429 {
1430 arg4 = &temp4;
1431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1432 }
1433 }
1434 if (obj4) {
1435 {
1436 arg5 = &temp5;
1437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1438 }
1439 }
1440 if (obj5) {
1441 arg6 = (long) SWIG_AsLong(obj5);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 if (obj6) {
1445 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1446 SWIG_POINTER_EXCEPTION | 0)) == -1)
1447 SWIG_fail;
1448 if (arg7 == NULL) {
1449 PyErr_SetString(PyExc_TypeError,"null reference");
1450 SWIG_fail;
1451 }
1452 }
1453 if (obj7) {
1454 {
1455 arg8 = wxString_in_helper(obj7);
1456 if (arg8 == NULL) SWIG_fail;
1457 temp8 = True;
1458 }
1459 }
1460 {
1461 if (!wxPyCheckForApp()) SWIG_fail;
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1464
1465 wxPyEndAllowThreads(__tstate);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 }
1468 {
1469 resultobj = wxPyMake_wxObject(result);
1470 }
1471 {
1472 if (temp8)
1473 delete arg8;
1474 }
1475 return resultobj;
1476 fail:
1477 {
1478 if (temp8)
1479 delete arg8;
1480 }
1481 return NULL;
1482 }
1483
1484
1485 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxBitmapButton *result;
1488 char *kwnames[] = {
1489 NULL
1490 };
1491
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1493 {
1494 if (!wxPyCheckForApp()) SWIG_fail;
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 result = (wxBitmapButton *)new wxBitmapButton();
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 {
1502 resultobj = wxPyMake_wxObject(result);
1503 }
1504 return resultobj;
1505 fail:
1506 return NULL;
1507 }
1508
1509
1510 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject *resultobj;
1512 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1513 wxWindow *arg2 = (wxWindow *) 0 ;
1514 int arg3 = (int) -1 ;
1515 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1516 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1519 wxSize const &arg6_defvalue = wxDefaultSize ;
1520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1521 long arg7 = (long) wxBU_AUTODRAW ;
1522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1524 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1525 wxString *arg9 = (wxString *) &arg9_defvalue ;
1526 bool result;
1527 wxPoint temp5 ;
1528 wxSize temp6 ;
1529 bool temp9 = False ;
1530 PyObject * obj0 = 0 ;
1531 PyObject * obj1 = 0 ;
1532 PyObject * obj2 = 0 ;
1533 PyObject * obj3 = 0 ;
1534 PyObject * obj4 = 0 ;
1535 PyObject * obj5 = 0 ;
1536 PyObject * obj6 = 0 ;
1537 PyObject * obj7 = 0 ;
1538 PyObject * obj8 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1548 if (obj2) {
1549 arg3 = (int) SWIG_AsInt(obj2);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 if (obj3) {
1553 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1)
1555 SWIG_fail;
1556 if (arg4 == NULL) {
1557 PyErr_SetString(PyExc_TypeError,"null reference");
1558 SWIG_fail;
1559 }
1560 }
1561 if (obj4) {
1562 {
1563 arg5 = &temp5;
1564 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1565 }
1566 }
1567 if (obj5) {
1568 {
1569 arg6 = &temp6;
1570 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1571 }
1572 }
1573 if (obj6) {
1574 arg7 = (long) SWIG_AsLong(obj6);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 if (obj7) {
1578 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1)
1580 SWIG_fail;
1581 if (arg8 == NULL) {
1582 PyErr_SetString(PyExc_TypeError,"null reference");
1583 SWIG_fail;
1584 }
1585 }
1586 if (obj8) {
1587 {
1588 arg9 = wxString_in_helper(obj8);
1589 if (arg9 == NULL) SWIG_fail;
1590 temp9 = True;
1591 }
1592 }
1593 {
1594 PyThreadState* __tstate = wxPyBeginAllowThreads();
1595 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 {
1601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1602 }
1603 {
1604 if (temp9)
1605 delete arg9;
1606 }
1607 return resultobj;
1608 fail:
1609 {
1610 if (temp9)
1611 delete arg9;
1612 }
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1620 wxBitmap result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (arg1)->GetBitmapLabel();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 wxBitmap * resultptr;
1638 resultptr = new wxBitmap((wxBitmap &) result);
1639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1640 }
1641 return resultobj;
1642 fail:
1643 return NULL;
1644 }
1645
1646
1647 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1650 wxBitmap result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = (arg1)->GetBitmapDisabled();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxBitmap * resultptr;
1668 resultptr = new wxBitmap((wxBitmap &) result);
1669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1680 wxBitmap result;
1681 PyObject * obj0 = 0 ;
1682 char *kwnames[] = {
1683 (char *) "self", NULL
1684 };
1685
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (arg1)->GetBitmapFocus();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 {
1697 wxBitmap * resultptr;
1698 resultptr = new wxBitmap((wxBitmap &) result);
1699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1700 }
1701 return resultobj;
1702 fail:
1703 return NULL;
1704 }
1705
1706
1707 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject *resultobj;
1709 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1710 wxBitmap result;
1711 PyObject * obj0 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 result = (arg1)->GetBitmapSelected();
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 {
1727 wxBitmap * resultptr;
1728 resultptr = new wxBitmap((wxBitmap &) result);
1729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1730 }
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1740 wxBitmap *arg2 = 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self",(char *) "bitmap", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1)
1752 SWIG_fail;
1753 if (arg2 == NULL) {
1754 PyErr_SetString(PyExc_TypeError,"null reference");
1755 SWIG_fail;
1756 }
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 Py_INCREF(Py_None); resultobj = Py_None;
1765 return resultobj;
1766 fail:
1767 return NULL;
1768 }
1769
1770
1771 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject *resultobj;
1773 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1774 wxBitmap *arg2 = 0 ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "bitmap", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1785 SWIG_POINTER_EXCEPTION | 0)) == -1)
1786 SWIG_fail;
1787 if (arg2 == NULL) {
1788 PyErr_SetString(PyExc_TypeError,"null reference");
1789 SWIG_fail;
1790 }
1791 {
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1794
1795 wxPyEndAllowThreads(__tstate);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 }
1798 Py_INCREF(Py_None); resultobj = Py_None;
1799 return resultobj;
1800 fail:
1801 return NULL;
1802 }
1803
1804
1805 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1808 wxBitmap *arg2 = 0 ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "bitmap", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1)
1820 SWIG_fail;
1821 if (arg2 == NULL) {
1822 PyErr_SetString(PyExc_TypeError,"null reference");
1823 SWIG_fail;
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 Py_INCREF(Py_None); resultobj = Py_None;
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1842 wxBitmap *arg2 = 0 ;
1843 PyObject * obj0 = 0 ;
1844 PyObject * obj1 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self",(char *) "bitmap", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1)
1854 SWIG_fail;
1855 if (arg2 == NULL) {
1856 PyErr_SetString(PyExc_TypeError,"null reference");
1857 SWIG_fail;
1858 }
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 Py_INCREF(Py_None); resultobj = Py_None;
1867 return resultobj;
1868 fail:
1869 return NULL;
1870 }
1871
1872
1873 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1876 int arg2 ;
1877 int arg3 ;
1878 PyObject * obj0 = 0 ;
1879 PyObject * obj1 = 0 ;
1880 PyObject * obj2 = 0 ;
1881 char *kwnames[] = {
1882 (char *) "self",(char *) "x",(char *) "y", NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1888 arg2 = (int) SWIG_AsInt(obj1);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 arg3 = (int) SWIG_AsInt(obj2);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 {
1893 PyThreadState* __tstate = wxPyBeginAllowThreads();
1894 (arg1)->SetMargins(arg2,arg3);
1895
1896 wxPyEndAllowThreads(__tstate);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 }
1899 Py_INCREF(Py_None); resultobj = Py_None;
1900 return resultobj;
1901 fail:
1902 return NULL;
1903 }
1904
1905
1906 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1909 int result;
1910 PyObject * obj0 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "self", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 resultobj = SWIG_FromInt((int)result);
1926 return resultobj;
1927 fail:
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1935 int result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 resultobj = SWIG_FromInt((int)result);
1952 return resultobj;
1953 fail:
1954 return NULL;
1955 }
1956
1957
1958 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1959 PyObject *obj;
1960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1961 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1962 Py_INCREF(obj);
1963 return Py_BuildValue((char *)"");
1964 }
1965 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1966 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1967 return 1;
1968 }
1969
1970
1971 static PyObject *_wrap_CheckBoxNameStr_get() {
1972 PyObject *pyobj;
1973
1974 {
1975 #if wxUSE_UNICODE
1976 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1977 #else
1978 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1979 #endif
1980 }
1981 return pyobj;
1982 }
1983
1984
1985 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject *resultobj;
1987 wxWindow *arg1 = (wxWindow *) 0 ;
1988 int arg2 = (int) -1 ;
1989 wxString const &arg3_defvalue = wxPyEmptyString ;
1990 wxString *arg3 = (wxString *) &arg3_defvalue ;
1991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1993 wxSize const &arg5_defvalue = wxDefaultSize ;
1994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1995 long arg6 = (long) 0 ;
1996 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1997 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1998 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1999 wxString *arg8 = (wxString *) &arg8_defvalue ;
2000 wxCheckBox *result;
2001 bool temp3 = False ;
2002 wxPoint temp4 ;
2003 wxSize temp5 ;
2004 bool temp8 = False ;
2005 PyObject * obj0 = 0 ;
2006 PyObject * obj1 = 0 ;
2007 PyObject * obj2 = 0 ;
2008 PyObject * obj3 = 0 ;
2009 PyObject * obj4 = 0 ;
2010 PyObject * obj5 = 0 ;
2011 PyObject * obj6 = 0 ;
2012 PyObject * obj7 = 0 ;
2013 char *kwnames[] = {
2014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2020 if (obj1) {
2021 arg2 = (int) SWIG_AsInt(obj1);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 if (obj2) {
2025 {
2026 arg3 = wxString_in_helper(obj2);
2027 if (arg3 == NULL) SWIG_fail;
2028 temp3 = True;
2029 }
2030 }
2031 if (obj3) {
2032 {
2033 arg4 = &temp4;
2034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2035 }
2036 }
2037 if (obj4) {
2038 {
2039 arg5 = &temp5;
2040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2041 }
2042 }
2043 if (obj5) {
2044 arg6 = (long) SWIG_AsLong(obj5);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 if (obj6) {
2048 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2049 SWIG_POINTER_EXCEPTION | 0)) == -1)
2050 SWIG_fail;
2051 if (arg7 == NULL) {
2052 PyErr_SetString(PyExc_TypeError,"null reference");
2053 SWIG_fail;
2054 }
2055 }
2056 if (obj7) {
2057 {
2058 arg8 = wxString_in_helper(obj7);
2059 if (arg8 == NULL) SWIG_fail;
2060 temp8 = True;
2061 }
2062 }
2063 {
2064 if (!wxPyCheckForApp()) SWIG_fail;
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2072 {
2073 if (temp3)
2074 delete arg3;
2075 }
2076 {
2077 if (temp8)
2078 delete arg8;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (temp3)
2084 delete arg3;
2085 }
2086 {
2087 if (temp8)
2088 delete arg8;
2089 }
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxCheckBox *result;
2097 char *kwnames[] = {
2098 NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2102 {
2103 if (!wxPyCheckForApp()) SWIG_fail;
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (wxCheckBox *)new wxCheckBox();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2111 return resultobj;
2112 fail:
2113 return NULL;
2114 }
2115
2116
2117 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2120 wxWindow *arg2 = (wxWindow *) 0 ;
2121 int arg3 = (int) -1 ;
2122 wxString const &arg4_defvalue = wxPyEmptyString ;
2123 wxString *arg4 = (wxString *) &arg4_defvalue ;
2124 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2125 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2126 wxSize const &arg6_defvalue = wxDefaultSize ;
2127 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2128 long arg7 = (long) 0 ;
2129 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2130 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2131 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2132 wxString *arg9 = (wxString *) &arg9_defvalue ;
2133 bool result;
2134 bool temp4 = False ;
2135 wxPoint temp5 ;
2136 wxSize temp6 ;
2137 bool temp9 = False ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141 PyObject * obj3 = 0 ;
2142 PyObject * obj4 = 0 ;
2143 PyObject * obj5 = 0 ;
2144 PyObject * obj6 = 0 ;
2145 PyObject * obj7 = 0 ;
2146 PyObject * obj8 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2156 if (obj2) {
2157 arg3 = (int) SWIG_AsInt(obj2);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 if (obj3) {
2161 {
2162 arg4 = wxString_in_helper(obj3);
2163 if (arg4 == NULL) SWIG_fail;
2164 temp4 = True;
2165 }
2166 }
2167 if (obj4) {
2168 {
2169 arg5 = &temp5;
2170 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2171 }
2172 }
2173 if (obj5) {
2174 {
2175 arg6 = &temp6;
2176 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2177 }
2178 }
2179 if (obj6) {
2180 arg7 = (long) SWIG_AsLong(obj6);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 if (obj7) {
2184 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1)
2186 SWIG_fail;
2187 if (arg8 == NULL) {
2188 PyErr_SetString(PyExc_TypeError,"null reference");
2189 SWIG_fail;
2190 }
2191 }
2192 if (obj8) {
2193 {
2194 arg9 = wxString_in_helper(obj8);
2195 if (arg9 == NULL) SWIG_fail;
2196 temp9 = True;
2197 }
2198 }
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2208 }
2209 {
2210 if (temp4)
2211 delete arg4;
2212 }
2213 {
2214 if (temp9)
2215 delete arg9;
2216 }
2217 return resultobj;
2218 fail:
2219 {
2220 if (temp4)
2221 delete arg4;
2222 }
2223 {
2224 if (temp9)
2225 delete arg9;
2226 }
2227 return NULL;
2228 }
2229
2230
2231 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2234 bool result;
2235 PyObject * obj0 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = (bool)(arg1)->GetValue();
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 {
2251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2252 }
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2262 bool result;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = (bool)(arg1)->IsChecked();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 {
2279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2280 }
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2290 bool arg2 ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self",(char *) "state", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2300 arg2 = (bool const) SWIG_AsBool(obj1);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetValue(arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2319 int result;
2320 PyObject * obj0 = 0 ;
2321 char *kwnames[] = {
2322 (char *) "self", NULL
2323 };
2324
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 resultobj = SWIG_FromInt((int)result);
2336 return resultobj;
2337 fail:
2338 return NULL;
2339 }
2340
2341
2342 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject *resultobj;
2344 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2345 int arg2 ;
2346 PyObject * obj0 = 0 ;
2347 PyObject * obj1 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "state", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2355 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2374 bool result;
2375 PyObject * obj0 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "self", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2383 {
2384 PyThreadState* __tstate = wxPyBeginAllowThreads();
2385 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2386
2387 wxPyEndAllowThreads(__tstate);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 {
2391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2392 }
2393 return resultobj;
2394 fail:
2395 return NULL;
2396 }
2397
2398
2399 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2402 bool result;
2403 PyObject * obj0 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "self", NULL
2406 };
2407
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 {
2419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2430 wxVisualAttributes result;
2431 PyObject * obj0 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "variant", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2437 if (obj0) {
2438 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442 if (!wxPyCheckForApp()) SWIG_fail;
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2445
2446 wxPyEndAllowThreads(__tstate);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 {
2450 wxVisualAttributes * resultptr;
2451 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2453 }
2454 return resultobj;
2455 fail:
2456 return NULL;
2457 }
2458
2459
2460 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2461 PyObject *obj;
2462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2463 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2464 Py_INCREF(obj);
2465 return Py_BuildValue((char *)"");
2466 }
2467 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2468 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2469 return 1;
2470 }
2471
2472
2473 static PyObject *_wrap_ChoiceNameStr_get() {
2474 PyObject *pyobj;
2475
2476 {
2477 #if wxUSE_UNICODE
2478 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2479 #else
2480 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2481 #endif
2482 }
2483 return pyobj;
2484 }
2485
2486
2487 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxWindow *arg1 = (wxWindow *) 0 ;
2490 int arg2 = (int) -1 ;
2491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2493 wxSize const &arg4_defvalue = wxDefaultSize ;
2494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2495 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2496 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2497 long arg6 = (long) 0 ;
2498 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2499 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2500 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2501 wxString *arg8 = (wxString *) &arg8_defvalue ;
2502 wxChoice *result;
2503 wxPoint temp3 ;
2504 wxSize temp4 ;
2505 bool temp5 = False ;
2506 bool temp8 = False ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 PyObject * obj2 = 0 ;
2510 PyObject * obj3 = 0 ;
2511 PyObject * obj4 = 0 ;
2512 PyObject * obj5 = 0 ;
2513 PyObject * obj6 = 0 ;
2514 PyObject * obj7 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2522 if (obj1) {
2523 arg2 = (int) SWIG_AsInt(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 if (obj2) {
2527 {
2528 arg3 = &temp3;
2529 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2530 }
2531 }
2532 if (obj3) {
2533 {
2534 arg4 = &temp4;
2535 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2536 }
2537 }
2538 if (obj4) {
2539 {
2540 if (! PySequence_Check(obj4)) {
2541 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2542 SWIG_fail;
2543 }
2544 arg5 = new wxArrayString;
2545 temp5 = True;
2546 int i, len=PySequence_Length(obj4);
2547 for (i=0; i<len; i++) {
2548 PyObject* item = PySequence_GetItem(obj4, i);
2549 #if wxUSE_UNICODE
2550 PyObject* str = PyObject_Unicode(item);
2551 #else
2552 PyObject* str = PyObject_Str(item);
2553 #endif
2554 if (PyErr_Occurred()) SWIG_fail;
2555 arg5->Add(Py2wxString(str));
2556 Py_DECREF(item);
2557 Py_DECREF(str);
2558 }
2559 }
2560 }
2561 if (obj5) {
2562 arg6 = (long) SWIG_AsLong(obj5);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 if (obj6) {
2566 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2567 SWIG_POINTER_EXCEPTION | 0)) == -1)
2568 SWIG_fail;
2569 if (arg7 == NULL) {
2570 PyErr_SetString(PyExc_TypeError,"null reference");
2571 SWIG_fail;
2572 }
2573 }
2574 if (obj7) {
2575 {
2576 arg8 = wxString_in_helper(obj7);
2577 if (arg8 == NULL) SWIG_fail;
2578 temp8 = True;
2579 }
2580 }
2581 {
2582 if (!wxPyCheckForApp()) SWIG_fail;
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2585
2586 wxPyEndAllowThreads(__tstate);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
2589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2590 {
2591 if (temp5) delete arg5;
2592 }
2593 {
2594 if (temp8)
2595 delete arg8;
2596 }
2597 return resultobj;
2598 fail:
2599 {
2600 if (temp5) delete arg5;
2601 }
2602 {
2603 if (temp8)
2604 delete arg8;
2605 }
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxChoice *result;
2613 char *kwnames[] = {
2614 NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2618 {
2619 if (!wxPyCheckForApp()) SWIG_fail;
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 result = (wxChoice *)new wxChoice();
2622
2623 wxPyEndAllowThreads(__tstate);
2624 if (PyErr_Occurred()) SWIG_fail;
2625 }
2626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2627 return resultobj;
2628 fail:
2629 return NULL;
2630 }
2631
2632
2633 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxChoice *arg1 = (wxChoice *) 0 ;
2636 wxWindow *arg2 = (wxWindow *) 0 ;
2637 int arg3 = (int) -1 ;
2638 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2639 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2640 wxSize const &arg5_defvalue = wxDefaultSize ;
2641 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2642 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2643 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2644 long arg7 = (long) 0 ;
2645 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2646 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2647 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2648 wxString *arg9 = (wxString *) &arg9_defvalue ;
2649 bool result;
2650 wxPoint temp4 ;
2651 wxSize temp5 ;
2652 bool temp6 = False ;
2653 bool temp9 = False ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 PyObject * obj2 = 0 ;
2657 PyObject * obj3 = 0 ;
2658 PyObject * obj4 = 0 ;
2659 PyObject * obj5 = 0 ;
2660 PyObject * obj6 = 0 ;
2661 PyObject * obj7 = 0 ;
2662 PyObject * obj8 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2672 if (obj2) {
2673 arg3 = (int) SWIG_AsInt(obj2);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 if (obj3) {
2677 {
2678 arg4 = &temp4;
2679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2680 }
2681 }
2682 if (obj4) {
2683 {
2684 arg5 = &temp5;
2685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2686 }
2687 }
2688 if (obj5) {
2689 {
2690 if (! PySequence_Check(obj5)) {
2691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2692 SWIG_fail;
2693 }
2694 arg6 = new wxArrayString;
2695 temp6 = True;
2696 int i, len=PySequence_Length(obj5);
2697 for (i=0; i<len; i++) {
2698 PyObject* item = PySequence_GetItem(obj5, i);
2699 #if wxUSE_UNICODE
2700 PyObject* str = PyObject_Unicode(item);
2701 #else
2702 PyObject* str = PyObject_Str(item);
2703 #endif
2704 if (PyErr_Occurred()) SWIG_fail;
2705 arg6->Add(Py2wxString(str));
2706 Py_DECREF(item);
2707 Py_DECREF(str);
2708 }
2709 }
2710 }
2711 if (obj6) {
2712 arg7 = (long) SWIG_AsLong(obj6);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 if (obj7) {
2716 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2717 SWIG_POINTER_EXCEPTION | 0)) == -1)
2718 SWIG_fail;
2719 if (arg8 == NULL) {
2720 PyErr_SetString(PyExc_TypeError,"null reference");
2721 SWIG_fail;
2722 }
2723 }
2724 if (obj8) {
2725 {
2726 arg9 = wxString_in_helper(obj8);
2727 if (arg9 == NULL) SWIG_fail;
2728 temp9 = True;
2729 }
2730 }
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
2738 {
2739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2740 }
2741 {
2742 if (temp6) delete arg6;
2743 }
2744 {
2745 if (temp9)
2746 delete arg9;
2747 }
2748 return resultobj;
2749 fail:
2750 {
2751 if (temp6) delete arg6;
2752 }
2753 {
2754 if (temp9)
2755 delete arg9;
2756 }
2757 return NULL;
2758 }
2759
2760
2761 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxChoice *arg1 = (wxChoice *) 0 ;
2764 int arg2 ;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "n", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2774 arg2 = (int const) SWIG_AsInt(obj1);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 (arg1)->SetSelection(arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 Py_INCREF(Py_None); resultobj = Py_None;
2784 return resultobj;
2785 fail:
2786 return NULL;
2787 }
2788
2789
2790 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 wxChoice *arg1 = (wxChoice *) 0 ;
2793 wxString *arg2 = 0 ;
2794 bool result;
2795 bool temp2 = False ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "string", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 {
2806 arg2 = wxString_in_helper(obj1);
2807 if (arg2 == NULL) SWIG_fail;
2808 temp2 = True;
2809 }
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 {
2818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2819 }
2820 {
2821 if (temp2)
2822 delete arg2;
2823 }
2824 return resultobj;
2825 fail:
2826 {
2827 if (temp2)
2828 delete arg2;
2829 }
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxChoice *arg1 = (wxChoice *) 0 ;
2837 int arg2 ;
2838 wxString *arg3 = 0 ;
2839 bool temp3 = False ;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
2842 PyObject * obj2 = 0 ;
2843 char *kwnames[] = {
2844 (char *) "self",(char *) "n",(char *) "string", NULL
2845 };
2846
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2850 arg2 = (int) SWIG_AsInt(obj1);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 {
2853 arg3 = wxString_in_helper(obj2);
2854 if (arg3 == NULL) SWIG_fail;
2855 temp3 = True;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->SetString(arg2,(wxString const &)*arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 {
2866 if (temp3)
2867 delete arg3;
2868 }
2869 return resultobj;
2870 fail:
2871 {
2872 if (temp3)
2873 delete arg3;
2874 }
2875 return NULL;
2876 }
2877
2878
2879 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject *resultobj;
2881 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2882 wxVisualAttributes result;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "variant", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2889 if (obj0) {
2890 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
2894 if (!wxPyCheckForApp()) SWIG_fail;
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 if (!wxPyCheckForApp()) SWIG_fail;
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 {
3790 wxVisualAttributes * resultptr;
3791 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3801 PyObject *obj;
3802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3804 Py_INCREF(obj);
3805 return Py_BuildValue((char *)"");
3806 }
3807 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3808 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3809 return 1;
3810 }
3811
3812
3813 static PyObject *_wrap_GaugeNameStr_get() {
3814 PyObject *pyobj;
3815
3816 {
3817 #if wxUSE_UNICODE
3818 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3819 #else
3820 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3821 #endif
3822 }
3823 return pyobj;
3824 }
3825
3826
3827 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxWindow *arg1 = (wxWindow *) 0 ;
3830 int arg2 = (int) -1 ;
3831 int arg3 = (int) 100 ;
3832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3834 wxSize const &arg5_defvalue = wxDefaultSize ;
3835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3836 long arg6 = (long) wxGA_HORIZONTAL ;
3837 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3838 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3839 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3840 wxString *arg8 = (wxString *) &arg8_defvalue ;
3841 wxGauge *result;
3842 wxPoint temp4 ;
3843 wxSize temp5 ;
3844 bool temp8 = False ;
3845 PyObject * obj0 = 0 ;
3846 PyObject * obj1 = 0 ;
3847 PyObject * obj2 = 0 ;
3848 PyObject * obj3 = 0 ;
3849 PyObject * obj4 = 0 ;
3850 PyObject * obj5 = 0 ;
3851 PyObject * obj6 = 0 ;
3852 PyObject * obj7 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3860 if (obj1) {
3861 arg2 = (int) SWIG_AsInt(obj1);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 if (obj2) {
3865 arg3 = (int) SWIG_AsInt(obj2);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 if (obj3) {
3869 {
3870 arg4 = &temp4;
3871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3872 }
3873 }
3874 if (obj4) {
3875 {
3876 arg5 = &temp5;
3877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3878 }
3879 }
3880 if (obj5) {
3881 arg6 = (long) SWIG_AsLong(obj5);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 if (obj6) {
3885 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1)
3887 SWIG_fail;
3888 if (arg7 == NULL) {
3889 PyErr_SetString(PyExc_TypeError,"null reference");
3890 SWIG_fail;
3891 }
3892 }
3893 if (obj7) {
3894 {
3895 arg8 = wxString_in_helper(obj7);
3896 if (arg8 == NULL) SWIG_fail;
3897 temp8 = True;
3898 }
3899 }
3900 {
3901 if (!wxPyCheckForApp()) SWIG_fail;
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3909 {
3910 if (temp8)
3911 delete arg8;
3912 }
3913 return resultobj;
3914 fail:
3915 {
3916 if (temp8)
3917 delete arg8;
3918 }
3919 return NULL;
3920 }
3921
3922
3923 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj;
3925 wxGauge *result;
3926 char *kwnames[] = {
3927 NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3931 {
3932 if (!wxPyCheckForApp()) SWIG_fail;
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (wxGauge *)new wxGauge();
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxGauge *arg1 = (wxGauge *) 0 ;
3949 wxWindow *arg2 = (wxWindow *) 0 ;
3950 int arg3 = (int) -1 ;
3951 int arg4 = (int) 100 ;
3952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3954 wxSize const &arg6_defvalue = wxDefaultSize ;
3955 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3956 long arg7 = (long) wxGA_HORIZONTAL ;
3957 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3958 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3959 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3960 wxString *arg9 = (wxString *) &arg9_defvalue ;
3961 bool result;
3962 wxPoint temp5 ;
3963 wxSize temp6 ;
3964 bool temp9 = False ;
3965 PyObject * obj0 = 0 ;
3966 PyObject * obj1 = 0 ;
3967 PyObject * obj2 = 0 ;
3968 PyObject * obj3 = 0 ;
3969 PyObject * obj4 = 0 ;
3970 PyObject * obj5 = 0 ;
3971 PyObject * obj6 = 0 ;
3972 PyObject * obj7 = 0 ;
3973 PyObject * obj8 = 0 ;
3974 char *kwnames[] = {
3975 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3976 };
3977
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3983 if (obj2) {
3984 arg3 = (int) SWIG_AsInt(obj2);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 if (obj3) {
3988 arg4 = (int) SWIG_AsInt(obj3);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 if (obj4) {
3992 {
3993 arg5 = &temp5;
3994 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3995 }
3996 }
3997 if (obj5) {
3998 {
3999 arg6 = &temp6;
4000 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4001 }
4002 }
4003 if (obj6) {
4004 arg7 = (long) SWIG_AsLong(obj6);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 if (obj7) {
4008 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1)
4010 SWIG_fail;
4011 if (arg8 == NULL) {
4012 PyErr_SetString(PyExc_TypeError,"null reference");
4013 SWIG_fail;
4014 }
4015 }
4016 if (obj8) {
4017 {
4018 arg9 = wxString_in_helper(obj8);
4019 if (arg9 == NULL) SWIG_fail;
4020 temp9 = True;
4021 }
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
4044 }
4045
4046
4047 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxGauge *arg1 = (wxGauge *) 0 ;
4050 int arg2 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "range", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 arg2 = (int) SWIG_AsInt(obj1);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetRange(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxGauge *arg1 = (wxGauge *) 0 ;
4079 int result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (int)((wxGauge const *)arg1)->GetRange();
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 resultobj = SWIG_FromInt((int)result);
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxGauge *arg1 = (wxGauge *) 0 ;
4105 int arg2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "pos", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 arg2 = (int) SWIG_AsInt(obj1);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->SetValue(arg2);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxGauge *arg1 = (wxGauge *) 0 ;
4134 int result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (int)((wxGauge const *)arg1)->GetValue();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_FromInt((int)result);
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxGauge *arg1 = (wxGauge *) 0 ;
4160 bool result;
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = (bool)((wxGauge const *)arg1)->IsVertical();
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182 }
4183
4184
4185 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxGauge *arg1 = (wxGauge *) 0 ;
4188 int arg2 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self",(char *) "w", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 arg2 = (int) SWIG_AsInt(obj1);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->SetShadowWidth(arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 return resultobj;
4209 fail:
4210 return NULL;
4211 }
4212
4213
4214 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxGauge *arg1 = (wxGauge *) 0 ;
4217 int result;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_FromInt((int)result);
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxGauge *arg1 = (wxGauge *) 0 ;
4243 int arg2 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "w", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 arg2 = (int) SWIG_AsInt(obj1);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->SetBezelFace(arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxGauge *arg1 = (wxGauge *) 0 ;
4272 int result;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 resultobj = SWIG_FromInt((int)result);
4289 return resultobj;
4290 fail:
4291 return NULL;
4292 }
4293
4294
4295 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4298 wxVisualAttributes result;
4299 PyObject * obj0 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "variant", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4305 if (obj0) {
4306 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 {
4310 if (!wxPyCheckForApp()) SWIG_fail;
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 wxVisualAttributes * resultptr;
4319 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325 }
4326
4327
4328 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4329 PyObject *obj;
4330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4332 Py_INCREF(obj);
4333 return Py_BuildValue((char *)"");
4334 }
4335 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4336 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4337 return 1;
4338 }
4339
4340
4341 static PyObject *_wrap_StaticBitmapNameStr_get() {
4342 PyObject *pyobj;
4343
4344 {
4345 #if wxUSE_UNICODE
4346 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4347 #else
4348 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4349 #endif
4350 }
4351 return pyobj;
4352 }
4353
4354
4355 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4356 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4357 return 1;
4358 }
4359
4360
4361 static PyObject *_wrap_StaticBoxNameStr_get() {
4362 PyObject *pyobj;
4363
4364 {
4365 #if wxUSE_UNICODE
4366 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4367 #else
4368 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4369 #endif
4370 }
4371 return pyobj;
4372 }
4373
4374
4375 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4376 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4377 return 1;
4378 }
4379
4380
4381 static PyObject *_wrap_StaticTextNameStr_get() {
4382 PyObject *pyobj;
4383
4384 {
4385 #if wxUSE_UNICODE
4386 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4387 #else
4388 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4389 #endif
4390 }
4391 return pyobj;
4392 }
4393
4394
4395 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxWindow *arg1 = (wxWindow *) 0 ;
4398 int arg2 = (int) -1 ;
4399 wxString const &arg3_defvalue = wxPyEmptyString ;
4400 wxString *arg3 = (wxString *) &arg3_defvalue ;
4401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4403 wxSize const &arg5_defvalue = wxDefaultSize ;
4404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4405 long arg6 = (long) 0 ;
4406 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4407 wxString *arg7 = (wxString *) &arg7_defvalue ;
4408 wxStaticBox *result;
4409 bool temp3 = False ;
4410 wxPoint temp4 ;
4411 wxSize temp5 ;
4412 bool temp7 = False ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 PyObject * obj2 = 0 ;
4416 PyObject * obj3 = 0 ;
4417 PyObject * obj4 = 0 ;
4418 PyObject * obj5 = 0 ;
4419 PyObject * obj6 = 0 ;
4420 char *kwnames[] = {
4421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 };
4423
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4427 if (obj1) {
4428 arg2 = (int) SWIG_AsInt(obj1);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 if (obj2) {
4432 {
4433 arg3 = wxString_in_helper(obj2);
4434 if (arg3 == NULL) SWIG_fail;
4435 temp3 = True;
4436 }
4437 }
4438 if (obj3) {
4439 {
4440 arg4 = &temp4;
4441 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4442 }
4443 }
4444 if (obj4) {
4445 {
4446 arg5 = &temp5;
4447 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4448 }
4449 }
4450 if (obj5) {
4451 arg6 = (long) SWIG_AsLong(obj5);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 if (obj6) {
4455 {
4456 arg7 = wxString_in_helper(obj6);
4457 if (arg7 == NULL) SWIG_fail;
4458 temp7 = True;
4459 }
4460 }
4461 {
4462 if (!wxPyCheckForApp()) SWIG_fail;
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 {
4470 resultobj = wxPyMake_wxObject(result);
4471 }
4472 {
4473 if (temp3)
4474 delete arg3;
4475 }
4476 {
4477 if (temp7)
4478 delete arg7;
4479 }
4480 return resultobj;
4481 fail:
4482 {
4483 if (temp3)
4484 delete arg3;
4485 }
4486 {
4487 if (temp7)
4488 delete arg7;
4489 }
4490 return NULL;
4491 }
4492
4493
4494 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 wxStaticBox *result;
4497 char *kwnames[] = {
4498 NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4502 {
4503 if (!wxPyCheckForApp()) SWIG_fail;
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = (wxStaticBox *)new wxStaticBox();
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 {
4511 resultobj = wxPyMake_wxObject(result);
4512 }
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4522 wxWindow *arg2 = (wxWindow *) 0 ;
4523 int arg3 = (int) -1 ;
4524 wxString const &arg4_defvalue = wxPyEmptyString ;
4525 wxString *arg4 = (wxString *) &arg4_defvalue ;
4526 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4527 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4528 wxSize const &arg6_defvalue = wxDefaultSize ;
4529 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4530 long arg7 = (long) 0 ;
4531 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4532 wxString *arg8 = (wxString *) &arg8_defvalue ;
4533 bool result;
4534 bool temp4 = False ;
4535 wxPoint temp5 ;
4536 wxSize temp6 ;
4537 bool temp8 = False ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 PyObject * obj2 = 0 ;
4541 PyObject * obj3 = 0 ;
4542 PyObject * obj4 = 0 ;
4543 PyObject * obj5 = 0 ;
4544 PyObject * obj6 = 0 ;
4545 PyObject * obj7 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4548 };
4549
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4555 if (obj2) {
4556 arg3 = (int) SWIG_AsInt(obj2);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 if (obj3) {
4560 {
4561 arg4 = wxString_in_helper(obj3);
4562 if (arg4 == NULL) SWIG_fail;
4563 temp4 = True;
4564 }
4565 }
4566 if (obj4) {
4567 {
4568 arg5 = &temp5;
4569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4570 }
4571 }
4572 if (obj5) {
4573 {
4574 arg6 = &temp6;
4575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4576 }
4577 }
4578 if (obj6) {
4579 arg7 = (long) SWIG_AsLong(obj6);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 if (obj7) {
4583 {
4584 arg8 = wxString_in_helper(obj7);
4585 if (arg8 == NULL) SWIG_fail;
4586 temp8 = True;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 {
4597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4598 }
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 {
4604 if (temp8)
4605 delete arg8;
4606 }
4607 return resultobj;
4608 fail:
4609 {
4610 if (temp4)
4611 delete arg4;
4612 }
4613 {
4614 if (temp8)
4615 delete arg8;
4616 }
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4624 wxVisualAttributes result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "variant", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4631 if (obj0) {
4632 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 {
4636 if (!wxPyCheckForApp()) SWIG_fail;
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 {
4644 wxVisualAttributes * resultptr;
4645 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4647 }
4648 return resultobj;
4649 fail:
4650 return NULL;
4651 }
4652
4653
4654 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4655 PyObject *obj;
4656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4658 Py_INCREF(obj);
4659 return Py_BuildValue((char *)"");
4660 }
4661 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxWindow *arg1 = (wxWindow *) 0 ;
4664 int arg2 = (int) -1 ;
4665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4667 wxSize const &arg4_defvalue = wxDefaultSize ;
4668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4669 long arg5 = (long) wxLI_HORIZONTAL ;
4670 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4671 wxString *arg6 = (wxString *) &arg6_defvalue ;
4672 wxStaticLine *result;
4673 wxPoint temp3 ;
4674 wxSize temp4 ;
4675 bool temp6 = False ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
4680 PyObject * obj4 = 0 ;
4681 PyObject * obj5 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4689 if (obj1) {
4690 arg2 = (int) SWIG_AsInt(obj1);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 if (obj2) {
4694 {
4695 arg3 = &temp3;
4696 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4697 }
4698 }
4699 if (obj3) {
4700 {
4701 arg4 = &temp4;
4702 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4703 }
4704 }
4705 if (obj4) {
4706 arg5 = (long) SWIG_AsLong(obj4);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 if (obj5) {
4710 {
4711 arg6 = wxString_in_helper(obj5);
4712 if (arg6 == NULL) SWIG_fail;
4713 temp6 = True;
4714 }
4715 }
4716 {
4717 if (!wxPyCheckForApp()) SWIG_fail;
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4725 {
4726 if (temp6)
4727 delete arg6;
4728 }
4729 return resultobj;
4730 fail:
4731 {
4732 if (temp6)
4733 delete arg6;
4734 }
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxStaticLine *result;
4742 char *kwnames[] = {
4743 NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4747 {
4748 if (!wxPyCheckForApp()) SWIG_fail;
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (wxStaticLine *)new wxStaticLine();
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj;
4764 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4765 wxWindow *arg2 = (wxWindow *) 0 ;
4766 int arg3 = (int) -1 ;
4767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4769 wxSize const &arg5_defvalue = wxDefaultSize ;
4770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4771 long arg6 = (long) wxLI_HORIZONTAL ;
4772 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4773 wxString *arg7 = (wxString *) &arg7_defvalue ;
4774 bool result;
4775 wxPoint temp4 ;
4776 wxSize temp5 ;
4777 bool temp7 = False ;
4778 PyObject * obj0 = 0 ;
4779 PyObject * obj1 = 0 ;
4780 PyObject * obj2 = 0 ;
4781 PyObject * obj3 = 0 ;
4782 PyObject * obj4 = 0 ;
4783 PyObject * obj5 = 0 ;
4784 PyObject * obj6 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4794 if (obj2) {
4795 arg3 = (int) SWIG_AsInt(obj2);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 if (obj3) {
4799 {
4800 arg4 = &temp4;
4801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4802 }
4803 }
4804 if (obj4) {
4805 {
4806 arg5 = &temp5;
4807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4808 }
4809 }
4810 if (obj5) {
4811 arg6 = (long) SWIG_AsLong(obj5);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 if (obj6) {
4815 {
4816 arg7 = wxString_in_helper(obj6);
4817 if (arg7 == NULL) SWIG_fail;
4818 temp7 = True;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4830 }
4831 {
4832 if (temp7)
4833 delete arg7;
4834 }
4835 return resultobj;
4836 fail:
4837 {
4838 if (temp7)
4839 delete arg7;
4840 }
4841 return NULL;
4842 }
4843
4844
4845 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4848 bool result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 {
4865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4866 }
4867 return resultobj;
4868 fail:
4869 return NULL;
4870 }
4871
4872
4873 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 int result;
4876 char *kwnames[] = {
4877 NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (int)wxStaticLine::GetDefaultSize();
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = SWIG_FromInt((int)result);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4898 wxVisualAttributes result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "variant", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4905 if (obj0) {
4906 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 {
4910 if (!wxPyCheckForApp()) SWIG_fail;
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 {
4918 wxVisualAttributes * resultptr;
4919 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4921 }
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4929 PyObject *obj;
4930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4932 Py_INCREF(obj);
4933 return Py_BuildValue((char *)"");
4934 }
4935 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxWindow *arg1 = (wxWindow *) 0 ;
4938 int arg2 = (int) -1 ;
4939 wxString const &arg3_defvalue = wxPyEmptyString ;
4940 wxString *arg3 = (wxString *) &arg3_defvalue ;
4941 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4942 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4943 wxSize const &arg5_defvalue = wxDefaultSize ;
4944 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4945 long arg6 = (long) 0 ;
4946 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4947 wxString *arg7 = (wxString *) &arg7_defvalue ;
4948 wxStaticText *result;
4949 bool temp3 = False ;
4950 wxPoint temp4 ;
4951 wxSize temp5 ;
4952 bool temp7 = False ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955 PyObject * obj2 = 0 ;
4956 PyObject * obj3 = 0 ;
4957 PyObject * obj4 = 0 ;
4958 PyObject * obj5 = 0 ;
4959 PyObject * obj6 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4967 if (obj1) {
4968 arg2 = (int) SWIG_AsInt(obj1);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 if (obj2) {
4972 {
4973 arg3 = wxString_in_helper(obj2);
4974 if (arg3 == NULL) SWIG_fail;
4975 temp3 = True;
4976 }
4977 }
4978 if (obj3) {
4979 {
4980 arg4 = &temp4;
4981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4982 }
4983 }
4984 if (obj4) {
4985 {
4986 arg5 = &temp5;
4987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4988 }
4989 }
4990 if (obj5) {
4991 arg6 = (long) SWIG_AsLong(obj5);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 if (obj6) {
4995 {
4996 arg7 = wxString_in_helper(obj6);
4997 if (arg7 == NULL) SWIG_fail;
4998 temp7 = True;
4999 }
5000 }
5001 {
5002 if (!wxPyCheckForApp()) SWIG_fail;
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5010 {
5011 if (temp3)
5012 delete arg3;
5013 }
5014 {
5015 if (temp7)
5016 delete arg7;
5017 }
5018 return resultobj;
5019 fail:
5020 {
5021 if (temp3)
5022 delete arg3;
5023 }
5024 {
5025 if (temp7)
5026 delete arg7;
5027 }
5028 return NULL;
5029 }
5030
5031
5032 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj;
5034 wxStaticText *result;
5035 char *kwnames[] = {
5036 NULL
5037 };
5038
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5040 {
5041 if (!wxPyCheckForApp()) SWIG_fail;
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (wxStaticText *)new wxStaticText();
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxStaticText *arg1 = (wxStaticText *) 0 ;
5058 wxWindow *arg2 = (wxWindow *) 0 ;
5059 int arg3 = (int) -1 ;
5060 wxString const &arg4_defvalue = wxPyEmptyString ;
5061 wxString *arg4 = (wxString *) &arg4_defvalue ;
5062 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5063 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5064 wxSize const &arg6_defvalue = wxDefaultSize ;
5065 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5066 long arg7 = (long) 0 ;
5067 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5068 wxString *arg8 = (wxString *) &arg8_defvalue ;
5069 bool result;
5070 bool temp4 = False ;
5071 wxPoint temp5 ;
5072 wxSize temp6 ;
5073 bool temp8 = False ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
5076 PyObject * obj2 = 0 ;
5077 PyObject * obj3 = 0 ;
5078 PyObject * obj4 = 0 ;
5079 PyObject * obj5 = 0 ;
5080 PyObject * obj6 = 0 ;
5081 PyObject * obj7 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 if (obj2) {
5092 arg3 = (int) SWIG_AsInt(obj2);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 if (obj3) {
5096 {
5097 arg4 = wxString_in_helper(obj3);
5098 if (arg4 == NULL) SWIG_fail;
5099 temp4 = True;
5100 }
5101 }
5102 if (obj4) {
5103 {
5104 arg5 = &temp5;
5105 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5106 }
5107 }
5108 if (obj5) {
5109 {
5110 arg6 = &temp6;
5111 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5112 }
5113 }
5114 if (obj6) {
5115 arg7 = (long) SWIG_AsLong(obj6);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 if (obj7) {
5119 {
5120 arg8 = wxString_in_helper(obj7);
5121 if (arg8 == NULL) SWIG_fail;
5122 temp8 = True;
5123 }
5124 }
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 {
5133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5134 }
5135 {
5136 if (temp4)
5137 delete arg4;
5138 }
5139 {
5140 if (temp8)
5141 delete arg8;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (temp4)
5147 delete arg4;
5148 }
5149 {
5150 if (temp8)
5151 delete arg8;
5152 }
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5160 wxVisualAttributes result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "variant", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5167 if (obj0) {
5168 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 {
5172 if (!wxPyCheckForApp()) SWIG_fail;
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 wxVisualAttributes * resultptr;
5181 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5183 }
5184 return resultobj;
5185 fail:
5186 return NULL;
5187 }
5188
5189
5190 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5191 PyObject *obj;
5192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5193 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5194 Py_INCREF(obj);
5195 return Py_BuildValue((char *)"");
5196 }
5197 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxWindow *arg1 = (wxWindow *) 0 ;
5200 int arg2 = (int) -1 ;
5201 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5202 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
5203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5205 wxSize const &arg5_defvalue = wxDefaultSize ;
5206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5207 long arg6 = (long) 0 ;
5208 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5209 wxString *arg7 = (wxString *) &arg7_defvalue ;
5210 wxStaticBitmap *result;
5211 wxPoint temp4 ;
5212 wxSize temp5 ;
5213 bool temp7 = False ;
5214 PyObject * obj0 = 0 ;
5215 PyObject * obj1 = 0 ;
5216 PyObject * obj2 = 0 ;
5217 PyObject * obj3 = 0 ;
5218 PyObject * obj4 = 0 ;
5219 PyObject * obj5 = 0 ;
5220 PyObject * obj6 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5228 if (obj1) {
5229 arg2 = (int) SWIG_AsInt(obj1);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 if (obj2) {
5233 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5234 SWIG_POINTER_EXCEPTION | 0)) == -1)
5235 SWIG_fail;
5236 if (arg3 == NULL) {
5237 PyErr_SetString(PyExc_TypeError,"null reference");
5238 SWIG_fail;
5239 }
5240 }
5241 if (obj3) {
5242 {
5243 arg4 = &temp4;
5244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5245 }
5246 }
5247 if (obj4) {
5248 {
5249 arg5 = &temp5;
5250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5251 }
5252 }
5253 if (obj5) {
5254 arg6 = (long) SWIG_AsLong(obj5);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 if (obj6) {
5258 {
5259 arg7 = wxString_in_helper(obj6);
5260 if (arg7 == NULL) SWIG_fail;
5261 temp7 = True;
5262 }
5263 }
5264 {
5265 if (!wxPyCheckForApp()) SWIG_fail;
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5273 {
5274 if (temp7)
5275 delete arg7;
5276 }
5277 return resultobj;
5278 fail:
5279 {
5280 if (temp7)
5281 delete arg7;
5282 }
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxStaticBitmap *result;
5290 char *kwnames[] = {
5291 NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5295 {
5296 if (!wxPyCheckForApp()) SWIG_fail;
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 result = (wxStaticBitmap *)new wxStaticBitmap();
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5304 return resultobj;
5305 fail:
5306 return NULL;
5307 }
5308
5309
5310 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5313 wxWindow *arg2 = (wxWindow *) 0 ;
5314 int arg3 = (int) -1 ;
5315 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5316 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
5317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5319 wxSize const &arg6_defvalue = wxDefaultSize ;
5320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5321 long arg7 = (long) 0 ;
5322 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5323 wxString *arg8 = (wxString *) &arg8_defvalue ;
5324 bool result;
5325 wxPoint temp5 ;
5326 wxSize temp6 ;
5327 bool temp8 = False ;
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 PyObject * obj2 = 0 ;
5331 PyObject * obj3 = 0 ;
5332 PyObject * obj4 = 0 ;
5333 PyObject * obj5 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 PyObject * obj7 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5345 if (obj2) {
5346 arg3 = (int) SWIG_AsInt(obj2);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 if (obj3) {
5350 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1)
5352 SWIG_fail;
5353 if (arg4 == NULL) {
5354 PyErr_SetString(PyExc_TypeError,"null reference");
5355 SWIG_fail;
5356 }
5357 }
5358 if (obj4) {
5359 {
5360 arg5 = &temp5;
5361 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5362 }
5363 }
5364 if (obj5) {
5365 {
5366 arg6 = &temp6;
5367 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5368 }
5369 }
5370 if (obj6) {
5371 arg7 = (long) SWIG_AsLong(obj6);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 if (obj7) {
5375 {
5376 arg8 = wxString_in_helper(obj7);
5377 if (arg8 == NULL) SWIG_fail;
5378 temp8 = True;
5379 }
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 {
5389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5390 }
5391 {
5392 if (temp8)
5393 delete arg8;
5394 }
5395 return resultobj;
5396 fail:
5397 {
5398 if (temp8)
5399 delete arg8;
5400 }
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5408 wxBitmap result;
5409 PyObject * obj0 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (arg1)->GetBitmap();
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 wxBitmap * resultptr;
5426 resultptr = new wxBitmap((wxBitmap &) result);
5427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432 }
5433
5434
5435 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5438 wxBitmap *arg2 = 0 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "bitmap", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1)
5450 SWIG_fail;
5451 if (arg2 == NULL) {
5452 PyErr_SetString(PyExc_TypeError,"null reference");
5453 SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 Py_INCREF(Py_None); resultobj = Py_None;
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5472 wxIcon *arg2 = 0 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "icon", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5483 SWIG_POINTER_EXCEPTION | 0)) == -1)
5484 SWIG_fail;
5485 if (arg2 == NULL) {
5486 PyErr_SetString(PyExc_TypeError,"null reference");
5487 SWIG_fail;
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 (arg1)->SetIcon((wxIcon const &)*arg2);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5506 wxVisualAttributes result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "variant", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5513 if (obj0) {
5514 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 if (!wxPyCheckForApp()) SWIG_fail;
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 wxVisualAttributes * resultptr;
5527 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5529 }
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5537 PyObject *obj;
5538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5540 Py_INCREF(obj);
5541 return Py_BuildValue((char *)"");
5542 }
5543 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5544 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5545 return 1;
5546 }
5547
5548
5549 static PyObject *_wrap_ListBoxNameStr_get() {
5550 PyObject *pyobj;
5551
5552 {
5553 #if wxUSE_UNICODE
5554 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5555 #else
5556 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5557 #endif
5558 }
5559 return pyobj;
5560 }
5561
5562
5563 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxWindow *arg1 = (wxWindow *) 0 ;
5566 int arg2 = (int) -1 ;
5567 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5568 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5569 wxSize const &arg4_defvalue = wxDefaultSize ;
5570 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5571 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5572 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5573 long arg6 = (long) 0 ;
5574 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5575 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5576 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5577 wxString *arg8 = (wxString *) &arg8_defvalue ;
5578 wxListBox *result;
5579 wxPoint temp3 ;
5580 wxSize temp4 ;
5581 bool temp5 = False ;
5582 bool temp8 = False ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 PyObject * obj3 = 0 ;
5587 PyObject * obj4 = 0 ;
5588 PyObject * obj5 = 0 ;
5589 PyObject * obj6 = 0 ;
5590 PyObject * obj7 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5598 if (obj1) {
5599 arg2 = (int) SWIG_AsInt(obj1);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 if (obj2) {
5603 {
5604 arg3 = &temp3;
5605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5606 }
5607 }
5608 if (obj3) {
5609 {
5610 arg4 = &temp4;
5611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5612 }
5613 }
5614 if (obj4) {
5615 {
5616 if (! PySequence_Check(obj4)) {
5617 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5618 SWIG_fail;
5619 }
5620 arg5 = new wxArrayString;
5621 temp5 = True;
5622 int i, len=PySequence_Length(obj4);
5623 for (i=0; i<len; i++) {
5624 PyObject* item = PySequence_GetItem(obj4, i);
5625 #if wxUSE_UNICODE
5626 PyObject* str = PyObject_Unicode(item);
5627 #else
5628 PyObject* str = PyObject_Str(item);
5629 #endif
5630 if (PyErr_Occurred()) SWIG_fail;
5631 arg5->Add(Py2wxString(str));
5632 Py_DECREF(item);
5633 Py_DECREF(str);
5634 }
5635 }
5636 }
5637 if (obj5) {
5638 arg6 = (long) SWIG_AsLong(obj5);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 if (obj6) {
5642 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1)
5644 SWIG_fail;
5645 if (arg7 == NULL) {
5646 PyErr_SetString(PyExc_TypeError,"null reference");
5647 SWIG_fail;
5648 }
5649 }
5650 if (obj7) {
5651 {
5652 arg8 = wxString_in_helper(obj7);
5653 if (arg8 == NULL) SWIG_fail;
5654 temp8 = True;
5655 }
5656 }
5657 {
5658 if (!wxPyCheckForApp()) SWIG_fail;
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5666 {
5667 if (temp5) delete arg5;
5668 }
5669 {
5670 if (temp8)
5671 delete arg8;
5672 }
5673 return resultobj;
5674 fail:
5675 {
5676 if (temp5) delete arg5;
5677 }
5678 {
5679 if (temp8)
5680 delete arg8;
5681 }
5682 return NULL;
5683 }
5684
5685
5686 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxListBox *result;
5689 char *kwnames[] = {
5690 NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5694 {
5695 if (!wxPyCheckForApp()) SWIG_fail;
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (wxListBox *)new wxListBox();
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxListBox *arg1 = (wxListBox *) 0 ;
5712 wxWindow *arg2 = (wxWindow *) 0 ;
5713 int arg3 = (int) -1 ;
5714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5716 wxSize const &arg5_defvalue = wxDefaultSize ;
5717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5718 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5719 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5720 long arg7 = (long) 0 ;
5721 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5722 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5723 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5724 wxString *arg9 = (wxString *) &arg9_defvalue ;
5725 bool result;
5726 wxPoint temp4 ;
5727 wxSize temp5 ;
5728 bool temp6 = False ;
5729 bool temp9 = False ;
5730 PyObject * obj0 = 0 ;
5731 PyObject * obj1 = 0 ;
5732 PyObject * obj2 = 0 ;
5733 PyObject * obj3 = 0 ;
5734 PyObject * obj4 = 0 ;
5735 PyObject * obj5 = 0 ;
5736 PyObject * obj6 = 0 ;
5737 PyObject * obj7 = 0 ;
5738 PyObject * obj8 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5748 if (obj2) {
5749 arg3 = (int) SWIG_AsInt(obj2);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 if (obj3) {
5753 {
5754 arg4 = &temp4;
5755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5756 }
5757 }
5758 if (obj4) {
5759 {
5760 arg5 = &temp5;
5761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5762 }
5763 }
5764 if (obj5) {
5765 {
5766 if (! PySequence_Check(obj5)) {
5767 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5768 SWIG_fail;
5769 }
5770 arg6 = new wxArrayString;
5771 temp6 = True;
5772 int i, len=PySequence_Length(obj5);
5773 for (i=0; i<len; i++) {
5774 PyObject* item = PySequence_GetItem(obj5, i);
5775 #if wxUSE_UNICODE
5776 PyObject* str = PyObject_Unicode(item);
5777 #else
5778 PyObject* str = PyObject_Str(item);
5779 #endif
5780 if (PyErr_Occurred()) SWIG_fail;
5781 arg6->Add(Py2wxString(str));
5782 Py_DECREF(item);
5783 Py_DECREF(str);
5784 }
5785 }
5786 }
5787 if (obj6) {
5788 arg7 = (long) SWIG_AsLong(obj6);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 if (obj7) {
5792 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1)
5794 SWIG_fail;
5795 if (arg8 == NULL) {
5796 PyErr_SetString(PyExc_TypeError,"null reference");
5797 SWIG_fail;
5798 }
5799 }
5800 if (obj8) {
5801 {
5802 arg9 = wxString_in_helper(obj8);
5803 if (arg9 == NULL) SWIG_fail;
5804 temp9 = True;
5805 }
5806 }
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5816 }
5817 {
5818 if (temp6) delete arg6;
5819 }
5820 {
5821 if (temp9)
5822 delete arg9;
5823 }
5824 return resultobj;
5825 fail:
5826 {
5827 if (temp6) delete arg6;
5828 }
5829 {
5830 if (temp9)
5831 delete arg9;
5832 }
5833 return NULL;
5834 }
5835
5836
5837 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxListBox *arg1 = (wxListBox *) 0 ;
5840 wxString *arg2 = 0 ;
5841 int arg3 ;
5842 PyObject *arg4 = (PyObject *) NULL ;
5843 bool temp2 = False ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 PyObject * obj2 = 0 ;
5847 PyObject * obj3 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 {
5856 arg2 = wxString_in_helper(obj1);
5857 if (arg2 == NULL) SWIG_fail;
5858 temp2 = True;
5859 }
5860 arg3 = (int) SWIG_AsInt(obj2);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 if (obj3) {
5863 arg4 = obj3;
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 {
5874 if (temp2)
5875 delete arg2;
5876 }
5877 return resultobj;
5878 fail:
5879 {
5880 if (temp2)
5881 delete arg2;
5882 }
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxListBox *arg1 = (wxListBox *) 0 ;
5890 wxArrayString *arg2 = 0 ;
5891 int arg3 ;
5892 bool temp2 = False ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "items",(char *) "pos", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5903 {
5904 if (! PySequence_Check(obj1)) {
5905 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5906 SWIG_fail;
5907 }
5908 arg2 = new wxArrayString;
5909 temp2 = True;
5910 int i, len=PySequence_Length(obj1);
5911 for (i=0; i<len; i++) {
5912 PyObject* item = PySequence_GetItem(obj1, i);
5913 #if wxUSE_UNICODE
5914 PyObject* str = PyObject_Unicode(item);
5915 #else
5916 PyObject* str = PyObject_Str(item);
5917 #endif
5918 if (PyErr_Occurred()) SWIG_fail;
5919 arg2->Add(Py2wxString(str));
5920 Py_DECREF(item);
5921 Py_DECREF(str);
5922 }
5923 }
5924 arg3 = (int) SWIG_AsInt(obj2);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 {
5935 if (temp2) delete arg2;
5936 }
5937 return resultobj;
5938 fail:
5939 {
5940 if (temp2) delete arg2;
5941 }
5942 return NULL;
5943 }
5944
5945
5946 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxListBox *arg1 = (wxListBox *) 0 ;
5949 wxArrayString *arg2 = 0 ;
5950 bool temp2 = False ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "items", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 {
5961 if (! PySequence_Check(obj1)) {
5962 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5963 SWIG_fail;
5964 }
5965 arg2 = new wxArrayString;
5966 temp2 = True;
5967 int i, len=PySequence_Length(obj1);
5968 for (i=0; i<len; i++) {
5969 PyObject* item = PySequence_GetItem(obj1, i);
5970 #if wxUSE_UNICODE
5971 PyObject* str = PyObject_Unicode(item);
5972 #else
5973 PyObject* str = PyObject_Str(item);
5974 #endif
5975 if (PyErr_Occurred()) SWIG_fail;
5976 arg2->Add(Py2wxString(str));
5977 Py_DECREF(item);
5978 Py_DECREF(str);
5979 }
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 (arg1)->Set((wxArrayString const &)*arg2);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 Py_INCREF(Py_None); resultobj = Py_None;
5989 {
5990 if (temp2) delete arg2;
5991 }
5992 return resultobj;
5993 fail:
5994 {
5995 if (temp2) delete arg2;
5996 }
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxListBox *arg1 = (wxListBox *) 0 ;
6004 int arg2 ;
6005 bool result;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self",(char *) "n", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6015 arg2 = (int) SWIG_AsInt(obj1);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030 }
6031
6032
6033 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxListBox *arg1 = (wxListBox *) 0 ;
6036 int arg2 ;
6037 bool arg3 = (bool) True ;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj1 = 0 ;
6040 PyObject * obj2 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "n",(char *) "select", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 arg2 = (int) SWIG_AsInt(obj1);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 if (obj2) {
6051 arg3 = (bool) SWIG_AsBool(obj2);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->SetSelection(arg2,arg3);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxListBox *arg1 = (wxListBox *) 0 ;
6071 int arg2 ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "n", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 arg2 = (int) SWIG_AsInt(obj1);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 (arg1)->Select(arg2);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 Py_INCREF(Py_None); resultobj = Py_None;
6091 return resultobj;
6092 fail:
6093 return NULL;
6094 }
6095
6096
6097 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxListBox *arg1 = (wxListBox *) 0 ;
6100 int arg2 ;
6101 PyObject * obj0 = 0 ;
6102 PyObject * obj1 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "n", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6110 arg2 = (int) SWIG_AsInt(obj1);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->Deselect(arg2);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxListBox *arg1 = (wxListBox *) 0 ;
6129 int arg2 = (int) -1 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "itemToLeaveSelected", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 if (obj1) {
6140 arg2 = (int) SWIG_AsInt(obj1);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->DeselectAll(arg2);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxListBox *arg1 = (wxListBox *) 0 ;
6160 wxString *arg2 = 0 ;
6161 bool arg3 = (bool) True ;
6162 bool result;
6163 bool temp2 = False ;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 PyObject * obj2 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "s",(char *) "select", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6174 {
6175 arg2 = wxString_in_helper(obj1);
6176 if (arg2 == NULL) SWIG_fail;
6177 temp2 = True;
6178 }
6179 if (obj2) {
6180 arg3 = (bool) SWIG_AsBool(obj2);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6192 }
6193 {
6194 if (temp2)
6195 delete arg2;
6196 }
6197 return resultobj;
6198 fail:
6199 {
6200 if (temp2)
6201 delete arg2;
6202 }
6203 return NULL;
6204 }
6205
6206
6207 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxListBox *arg1 = (wxListBox *) 0 ;
6210 PyObject *result;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (PyObject *)wxListBox_GetSelections(arg1);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = result;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxListBox *arg1 = (wxListBox *) 0 ;
6236 int arg2 ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "n", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 arg2 = (int) SWIG_AsInt(obj1);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetFirstItem(arg2);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 return resultobj;
6257 fail:
6258 return NULL;
6259 }
6260
6261
6262 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj;
6264 wxListBox *arg1 = (wxListBox *) 0 ;
6265 wxString *arg2 = 0 ;
6266 bool temp2 = False ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "s", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 {
6277 arg2 = wxString_in_helper(obj1);
6278 if (arg2 == NULL) SWIG_fail;
6279 temp2 = True;
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 (arg1)->SetFirstItem((wxString const &)*arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 Py_INCREF(Py_None); resultobj = Py_None;
6289 {
6290 if (temp2)
6291 delete arg2;
6292 }
6293 return resultobj;
6294 fail:
6295 {
6296 if (temp2)
6297 delete arg2;
6298 }
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxListBox *arg1 = (wxListBox *) 0 ;
6306 int arg2 ;
6307 PyObject * obj0 = 0 ;
6308 PyObject * obj1 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self",(char *) "n", NULL
6311 };
6312
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6316 arg2 = (int) SWIG_AsInt(obj1);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->EnsureVisible(arg2);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 Py_INCREF(Py_None); resultobj = Py_None;
6326 return resultobj;
6327 fail:
6328 return NULL;
6329 }
6330
6331
6332 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6333 PyObject *resultobj;
6334 wxListBox *arg1 = (wxListBox *) 0 ;
6335 wxString *arg2 = 0 ;
6336 bool temp2 = False ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "s", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 {
6347 arg2 = wxString_in_helper(obj1);
6348 if (arg2 == NULL) SWIG_fail;
6349 temp2 = True;
6350 }
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 Py_INCREF(Py_None); resultobj = Py_None;
6359 {
6360 if (temp2)
6361 delete arg2;
6362 }
6363 return resultobj;
6364 fail:
6365 {
6366 if (temp2)
6367 delete arg2;
6368 }
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxListBox *arg1 = (wxListBox *) 0 ;
6376 bool result;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (bool)((wxListBox const *)arg1)->IsSorted();
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxListBox *arg1 = (wxListBox *) 0 ;
6404 int arg2 ;
6405 wxColour *arg3 = 0 ;
6406 wxColour temp3 ;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj1 = 0 ;
6409 PyObject * obj2 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self",(char *) "item",(char *) "c", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6417 arg2 = (int) SWIG_AsInt(obj1);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 {
6420 arg3 = &temp3;
6421 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 Py_INCREF(Py_None); resultobj = Py_None;
6431 return resultobj;
6432 fail:
6433 return NULL;
6434 }
6435
6436
6437 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxListBox *arg1 = (wxListBox *) 0 ;
6440 int arg2 ;
6441 wxColour *arg3 = 0 ;
6442 wxColour temp3 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "item",(char *) "c", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 arg2 = (int) SWIG_AsInt(obj1);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 {
6456 arg3 = &temp3;
6457 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6458 }
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 Py_INCREF(Py_None); resultobj = Py_None;
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxListBox *arg1 = (wxListBox *) 0 ;
6476 int arg2 ;
6477 wxFont *arg3 = 0 ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 PyObject * obj2 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "item",(char *) "f", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6488 arg2 = (int) SWIG_AsInt(obj1);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6491 SWIG_POINTER_EXCEPTION | 0)) == -1)
6492 SWIG_fail;
6493 if (arg3 == NULL) {
6494 PyErr_SetString(PyExc_TypeError,"null reference");
6495 SWIG_fail;
6496 }
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 Py_INCREF(Py_None); resultobj = Py_None;
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6514 wxVisualAttributes result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "variant", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6521 if (obj0) {
6522 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 {
6526 if (!wxPyCheckForApp()) SWIG_fail;
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 {
6534 wxVisualAttributes * resultptr;
6535 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6537 }
6538 return resultobj;
6539 fail:
6540 return NULL;
6541 }
6542
6543
6544 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6545 PyObject *obj;
6546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6548 Py_INCREF(obj);
6549 return Py_BuildValue((char *)"");
6550 }
6551 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxWindow *arg1 = (wxWindow *) 0 ;
6554 int arg2 = (int) -1 ;
6555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6557 wxSize const &arg4_defvalue = wxDefaultSize ;
6558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6559 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6560 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6561 long arg6 = (long) 0 ;
6562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6564 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6565 wxString *arg8 = (wxString *) &arg8_defvalue ;
6566 wxCheckListBox *result;
6567 wxPoint temp3 ;
6568 wxSize temp4 ;
6569 bool temp5 = False ;
6570 bool temp8 = False ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 PyObject * obj3 = 0 ;
6575 PyObject * obj4 = 0 ;
6576 PyObject * obj5 = 0 ;
6577 PyObject * obj6 = 0 ;
6578 PyObject * obj7 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6586 if (obj1) {
6587 arg2 = (int) SWIG_AsInt(obj1);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 if (obj2) {
6591 {
6592 arg3 = &temp3;
6593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6594 }
6595 }
6596 if (obj3) {
6597 {
6598 arg4 = &temp4;
6599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6600 }
6601 }
6602 if (obj4) {
6603 {
6604 if (! PySequence_Check(obj4)) {
6605 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6606 SWIG_fail;
6607 }
6608 arg5 = new wxArrayString;
6609 temp5 = True;
6610 int i, len=PySequence_Length(obj4);
6611 for (i=0; i<len; i++) {
6612 PyObject* item = PySequence_GetItem(obj4, i);
6613 #if wxUSE_UNICODE
6614 PyObject* str = PyObject_Unicode(item);
6615 #else
6616 PyObject* str = PyObject_Str(item);
6617 #endif
6618 if (PyErr_Occurred()) SWIG_fail;
6619 arg5->Add(Py2wxString(str));
6620 Py_DECREF(item);
6621 Py_DECREF(str);
6622 }
6623 }
6624 }
6625 if (obj5) {
6626 arg6 = (long) SWIG_AsLong(obj5);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 if (obj6) {
6630 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6631 SWIG_POINTER_EXCEPTION | 0)) == -1)
6632 SWIG_fail;
6633 if (arg7 == NULL) {
6634 PyErr_SetString(PyExc_TypeError,"null reference");
6635 SWIG_fail;
6636 }
6637 }
6638 if (obj7) {
6639 {
6640 arg8 = wxString_in_helper(obj7);
6641 if (arg8 == NULL) SWIG_fail;
6642 temp8 = True;
6643 }
6644 }
6645 {
6646 if (!wxPyCheckForApp()) SWIG_fail;
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6649
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6654 {
6655 if (temp5) delete arg5;
6656 }
6657 {
6658 if (temp8)
6659 delete arg8;
6660 }
6661 return resultobj;
6662 fail:
6663 {
6664 if (temp5) delete arg5;
6665 }
6666 {
6667 if (temp8)
6668 delete arg8;
6669 }
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxCheckListBox *result;
6677 char *kwnames[] = {
6678 NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6682 {
6683 if (!wxPyCheckForApp()) SWIG_fail;
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 result = (wxCheckListBox *)new wxCheckListBox();
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6700 wxWindow *arg2 = (wxWindow *) 0 ;
6701 int arg3 = (int) -1 ;
6702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6704 wxSize const &arg5_defvalue = wxDefaultSize ;
6705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6706 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6707 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6708 long arg7 = (long) 0 ;
6709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6711 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6712 wxString *arg9 = (wxString *) &arg9_defvalue ;
6713 bool result;
6714 wxPoint temp4 ;
6715 wxSize temp5 ;
6716 bool temp6 = False ;
6717 bool temp9 = False ;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 PyObject * obj2 = 0 ;
6721 PyObject * obj3 = 0 ;
6722 PyObject * obj4 = 0 ;
6723 PyObject * obj5 = 0 ;
6724 PyObject * obj6 = 0 ;
6725 PyObject * obj7 = 0 ;
6726 PyObject * obj8 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 if (obj2) {
6737 arg3 = (int) SWIG_AsInt(obj2);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 if (obj3) {
6741 {
6742 arg4 = &temp4;
6743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6744 }
6745 }
6746 if (obj4) {
6747 {
6748 arg5 = &temp5;
6749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6750 }
6751 }
6752 if (obj5) {
6753 {
6754 if (! PySequence_Check(obj5)) {
6755 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6756 SWIG_fail;
6757 }
6758 arg6 = new wxArrayString;
6759 temp6 = True;
6760 int i, len=PySequence_Length(obj5);
6761 for (i=0; i<len; i++) {
6762 PyObject* item = PySequence_GetItem(obj5, i);
6763 #if wxUSE_UNICODE
6764 PyObject* str = PyObject_Unicode(item);
6765 #else
6766 PyObject* str = PyObject_Str(item);
6767 #endif
6768 if (PyErr_Occurred()) SWIG_fail;
6769 arg6->Add(Py2wxString(str));
6770 Py_DECREF(item);
6771 Py_DECREF(str);
6772 }
6773 }
6774 }
6775 if (obj6) {
6776 arg7 = (long) SWIG_AsLong(obj6);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 if (obj7) {
6780 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1)
6782 SWIG_fail;
6783 if (arg8 == NULL) {
6784 PyErr_SetString(PyExc_TypeError,"null reference");
6785 SWIG_fail;
6786 }
6787 }
6788 if (obj8) {
6789 {
6790 arg9 = wxString_in_helper(obj8);
6791 if (arg9 == NULL) SWIG_fail;
6792 temp9 = True;
6793 }
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
6803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6804 }
6805 {
6806 if (temp6) delete arg6;
6807 }
6808 {
6809 if (temp9)
6810 delete arg9;
6811 }
6812 return resultobj;
6813 fail:
6814 {
6815 if (temp6) delete arg6;
6816 }
6817 {
6818 if (temp9)
6819 delete arg9;
6820 }
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6828 int arg2 ;
6829 bool result;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "index", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 arg2 = (int) SWIG_AsInt(obj1);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (bool)(arg1)->IsChecked(arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6850 }
6851 return resultobj;
6852 fail:
6853 return NULL;
6854 }
6855
6856
6857 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6860 int arg2 ;
6861 int arg3 = (int) True ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "index",(char *) "check", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6872 arg2 = (int) SWIG_AsInt(obj1);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 if (obj2) {
6875 arg3 = (int) SWIG_AsInt(obj2);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->Check(arg2,arg3);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6895 wxPoint *arg2 = 0 ;
6896 int result;
6897 wxPoint temp2 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "pt", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6907 {
6908 arg2 = &temp2;
6909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6910 }
6911 {
6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
6913 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6914
6915 wxPyEndAllowThreads(__tstate);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 }
6918 resultobj = SWIG_FromInt((int)result);
6919 return resultobj;
6920 fail:
6921 return NULL;
6922 }
6923
6924
6925 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6926 PyObject *resultobj;
6927 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6928 int arg2 ;
6929 int arg3 ;
6930 int result;
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 PyObject * obj2 = 0 ;
6934 char *kwnames[] = {
6935 (char *) "self",(char *) "x",(char *) "y", NULL
6936 };
6937
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6941 arg2 = (int) SWIG_AsInt(obj1);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 arg3 = (int) SWIG_AsInt(obj2);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = SWIG_FromInt((int)result);
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6960 PyObject *obj;
6961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6962 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6963 Py_INCREF(obj);
6964 return Py_BuildValue((char *)"");
6965 }
6966 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6967 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6968 return 1;
6969 }
6970
6971
6972 static PyObject *_wrap_TextCtrlNameStr_get() {
6973 PyObject *pyobj;
6974
6975 {
6976 #if wxUSE_UNICODE
6977 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6978 #else
6979 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6980 #endif
6981 }
6982 return pyobj;
6983 }
6984
6985
6986 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6987 PyObject *resultobj;
6988 wxTextAttr *result;
6989
6990 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 result = (wxTextAttr *)new wxTextAttr();
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6999 return resultobj;
7000 fail:
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
7006 PyObject *resultobj;
7007 wxColour *arg1 = 0 ;
7008 wxColour const &arg2_defvalue = wxNullColour ;
7009 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7010 wxFont const &arg3_defvalue = wxNullFont ;
7011 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7012 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7013 wxTextAttr *result;
7014 wxColour temp1 ;
7015 wxColour temp2 ;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 PyObject * obj2 = 0 ;
7019 PyObject * obj3 = 0 ;
7020
7021 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
7022 {
7023 arg1 = &temp1;
7024 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7025 }
7026 if (obj1) {
7027 {
7028 arg2 = &temp2;
7029 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7030 }
7031 }
7032 if (obj2) {
7033 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1)
7035 SWIG_fail;
7036 if (arg3 == NULL) {
7037 PyErr_SetString(PyExc_TypeError,"null reference");
7038 SWIG_fail;
7039 }
7040 }
7041 if (obj3) {
7042 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7053 return resultobj;
7054 fail:
7055 return NULL;
7056 }
7057
7058
7059 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
7060 int argc;
7061 PyObject *argv[5];
7062 int ii;
7063
7064 argc = PyObject_Length(args);
7065 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7066 argv[ii] = PyTuple_GetItem(args,ii);
7067 }
7068 if (argc == 0) {
7069 return _wrap_new_TextAttr__SWIG_0(self,args);
7070 }
7071 if ((argc >= 1) && (argc <= 4)) {
7072 int _v;
7073 {
7074 _v = wxColour_typecheck(argv[0]);
7075 }
7076 if (_v) {
7077 if (argc <= 1) {
7078 return _wrap_new_TextAttr__SWIG_1(self,args);
7079 }
7080 {
7081 _v = wxColour_typecheck(argv[1]);
7082 }
7083 if (_v) {
7084 if (argc <= 2) {
7085 return _wrap_new_TextAttr__SWIG_1(self,args);
7086 }
7087 {
7088 void *ptr;
7089 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
7090 _v = 0;
7091 PyErr_Clear();
7092 } else {
7093 _v = 1;
7094 }
7095 }
7096 if (_v) {
7097 if (argc <= 3) {
7098 return _wrap_new_TextAttr__SWIG_1(self,args);
7099 }
7100 _v = SWIG_CheckInt(argv[3]);
7101 if (_v) {
7102 return _wrap_new_TextAttr__SWIG_1(self,args);
7103 }
7104 }
7105 }
7106 }
7107 }
7108
7109 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7117 PyObject * obj0 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 delete arg1;
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 Py_INCREF(Py_None); resultobj = Py_None;
7133 return resultobj;
7134 fail:
7135 return NULL;
7136 }
7137
7138
7139 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7142 PyObject * obj0 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 (arg1)->Init();
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 Py_INCREF(Py_None); resultobj = Py_None;
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7167 wxColour *arg2 = 0 ;
7168 wxColour temp2 ;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj1 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "self",(char *) "colText", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7178 {
7179 arg2 = &temp2;
7180 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7181 }
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 (arg1)->SetTextColour((wxColour const &)*arg2);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 Py_INCREF(Py_None); resultobj = Py_None;
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7199 wxColour *arg2 = 0 ;
7200 wxColour temp2 ;
7201 PyObject * obj0 = 0 ;
7202 PyObject * obj1 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "colBack", NULL
7205 };
7206
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7210 {
7211 arg2 = &temp2;
7212 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7213 }
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 Py_INCREF(Py_None); resultobj = Py_None;
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7231 wxFont *arg2 = 0 ;
7232 long arg3 = (long) wxTEXT_ATTR_FONT ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 PyObject * obj2 = 0 ;
7236 char *kwnames[] = {
7237 (char *) "self",(char *) "font",(char *) "flags", NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7244 SWIG_POINTER_EXCEPTION | 0)) == -1)
7245 SWIG_fail;
7246 if (arg2 == NULL) {
7247 PyErr_SetString(PyExc_TypeError,"null reference");
7248 SWIG_fail;
7249 }
7250 if (obj2) {
7251 arg3 = (long) SWIG_AsLong(obj2);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7271 int arg2 ;
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self",(char *) "alignment", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7281 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7300 wxArrayInt *arg2 = 0 ;
7301 bool temp2 = False ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "tabs", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7311 {
7312 if (! PySequence_Check(obj1)) {
7313 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7314 SWIG_fail;
7315 }
7316 arg2 = new wxArrayInt;
7317 temp2 = True;
7318 int i, len=PySequence_Length(obj1);
7319 for (i=0; i<len; i++) {
7320 PyObject* item = PySequence_GetItem(obj1, i);
7321 PyObject* number = PyNumber_Int(item);
7322 arg2->Add(PyInt_AS_LONG(number));
7323 Py_DECREF(item);
7324 Py_DECREF(number);
7325 }
7326 }
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 Py_INCREF(Py_None); resultobj = Py_None;
7335 {
7336 if (temp2) delete arg2;
7337 }
7338 return resultobj;
7339 fail:
7340 {
7341 if (temp2) delete arg2;
7342 }
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7350 int arg2 ;
7351 int arg3 = (int) 0 ;
7352 PyObject * obj0 = 0 ;
7353 PyObject * obj1 = 0 ;
7354 PyObject * obj2 = 0 ;
7355 char *kwnames[] = {
7356 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7357 };
7358
7359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7362 arg2 = (int) SWIG_AsInt(obj1);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 if (obj2) {
7365 arg3 = (int) SWIG_AsInt(obj2);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 (arg1)->SetLeftIndent(arg2,arg3);
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 Py_INCREF(Py_None); resultobj = Py_None;
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7385 int arg2 ;
7386 PyObject * obj0 = 0 ;
7387 PyObject * obj1 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self",(char *) "indent", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7395 arg2 = (int) SWIG_AsInt(obj1);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->SetRightIndent(arg2);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7414 long arg2 ;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self",(char *) "flags", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 arg2 = (long) SWIG_AsLong(obj1);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 (arg1)->SetFlags(arg2);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 Py_INCREF(Py_None); resultobj = Py_None;
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7443 bool result;
7444 PyObject * obj0 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 {
7460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7461 }
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7471 bool result;
7472 PyObject * obj0 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 {
7488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7489 }
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7499 bool result;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 {
7516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7517 }
7518 return resultobj;
7519 fail:
7520 return NULL;
7521 }
7522
7523
7524 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7527 bool result;
7528 PyObject * obj0 = 0 ;
7529 char *kwnames[] = {
7530 (char *) "self", NULL
7531 };
7532
7533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 {
7544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7545 }
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7555 bool result;
7556 PyObject * obj0 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 {
7572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7573 }
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7583 bool result;
7584 PyObject * obj0 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 {
7600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7601 }
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7611 bool result;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 {
7628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7629 }
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7639 long arg2 ;
7640 bool result;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self",(char *) "flag", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7650 arg2 = (long) SWIG_AsLong(obj1);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 {
7660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7661 }
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7671 wxColour *result;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 {
7683 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7684 result = (wxColour *) &_result_ref;
7685 }
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7700 wxColour *result;
7701 PyObject * obj0 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 {
7712 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7713 result = (wxColour *) &_result_ref;
7714 }
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj;
7728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7729 wxFont *result;
7730 PyObject * obj0 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 {
7741 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7742 result = (wxFont *) &_result_ref;
7743 }
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 wxFont* resultptr = new wxFont(*result);
7750 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7751 }
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7761 int result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = SWIG_FromInt((int)result);
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7787 wxArrayInt *result;
7788 PyObject * obj0 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 {
7799 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7800 result = (wxArrayInt *) &_result_ref;
7801 }
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 {
7807 resultobj = PyList_New(0);
7808 size_t idx;
7809 for (idx = 0; idx < result->GetCount(); idx += 1) {
7810 PyObject* val = PyInt_FromLong( result->Item(idx) );
7811 PyList_Append(resultobj, val);
7812 Py_DECREF(val);
7813 }
7814 }
7815 return resultobj;
7816 fail:
7817 return NULL;
7818 }
7819
7820
7821 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7824 long result;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 resultobj = SWIG_FromLong((long)result);
7841 return resultobj;
7842 fail:
7843 return NULL;
7844 }
7845
7846
7847 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj;
7849 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7850 long result;
7851 PyObject * obj0 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 resultobj = SWIG_FromLong((long)result);
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7876 long result;
7877 PyObject * obj0 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_FromLong((long)result);
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7902 long result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = SWIG_FromLong((long)result);
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7928 bool result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 {
7945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7946 }
7947 return resultobj;
7948 fail:
7949 return NULL;
7950 }
7951
7952
7953 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 wxTextAttr *arg1 = 0 ;
7956 wxTextAttr *arg2 = 0 ;
7957 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7958 wxTextAttr result;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 PyObject * obj2 = 0 ;
7962 char *kwnames[] = {
7963 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7964 };
7965
7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7968 SWIG_POINTER_EXCEPTION | 0)) == -1)
7969 SWIG_fail;
7970 if (arg1 == NULL) {
7971 PyErr_SetString(PyExc_TypeError,"null reference");
7972 SWIG_fail;
7973 }
7974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7975 SWIG_POINTER_EXCEPTION | 0)) == -1)
7976 SWIG_fail;
7977 if (arg2 == NULL) {
7978 PyErr_SetString(PyExc_TypeError,"null reference");
7979 SWIG_fail;
7980 }
7981 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991 wxTextAttr * resultptr;
7992 resultptr = new wxTextAttr((wxTextAttr &) result);
7993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7994 }
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
8002 PyObject *obj;
8003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8004 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8005 Py_INCREF(obj);
8006 return Py_BuildValue((char *)"");
8007 }
8008 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxWindow *arg1 = (wxWindow *) 0 ;
8011 int arg2 = (int) -1 ;
8012 wxString const &arg3_defvalue = wxPyEmptyString ;
8013 wxString *arg3 = (wxString *) &arg3_defvalue ;
8014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8016 wxSize const &arg5_defvalue = wxDefaultSize ;
8017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8018 long arg6 = (long) 0 ;
8019 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8020 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8021 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8022 wxString *arg8 = (wxString *) &arg8_defvalue ;
8023 wxTextCtrl *result;
8024 bool temp3 = False ;
8025 wxPoint temp4 ;
8026 wxSize temp5 ;
8027 bool temp8 = False ;
8028 PyObject * obj0 = 0 ;
8029 PyObject * obj1 = 0 ;
8030 PyObject * obj2 = 0 ;
8031 PyObject * obj3 = 0 ;
8032 PyObject * obj4 = 0 ;
8033 PyObject * obj5 = 0 ;
8034 PyObject * obj6 = 0 ;
8035 PyObject * obj7 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8043 if (obj1) {
8044 arg2 = (int) SWIG_AsInt(obj1);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 if (obj2) {
8048 {
8049 arg3 = wxString_in_helper(obj2);
8050 if (arg3 == NULL) SWIG_fail;
8051 temp3 = True;
8052 }
8053 }
8054 if (obj3) {
8055 {
8056 arg4 = &temp4;
8057 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8058 }
8059 }
8060 if (obj4) {
8061 {
8062 arg5 = &temp5;
8063 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8064 }
8065 }
8066 if (obj5) {
8067 arg6 = (long) SWIG_AsLong(obj5);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 if (obj6) {
8071 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8072 SWIG_POINTER_EXCEPTION | 0)) == -1)
8073 SWIG_fail;
8074 if (arg7 == NULL) {
8075 PyErr_SetString(PyExc_TypeError,"null reference");
8076 SWIG_fail;
8077 }
8078 }
8079 if (obj7) {
8080 {
8081 arg8 = wxString_in_helper(obj7);
8082 if (arg8 == NULL) SWIG_fail;
8083 temp8 = True;
8084 }
8085 }
8086 {
8087 if (!wxPyCheckForApp()) SWIG_fail;
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 {
8095 resultobj = wxPyMake_wxObject(result);
8096 }
8097 {
8098 if (temp3)
8099 delete arg3;
8100 }
8101 {
8102 if (temp8)
8103 delete arg8;
8104 }
8105 return resultobj;
8106 fail:
8107 {
8108 if (temp3)
8109 delete arg3;
8110 }
8111 {
8112 if (temp8)
8113 delete arg8;
8114 }
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxTextCtrl *result;
8122 char *kwnames[] = {
8123 NULL
8124 };
8125
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8127 {
8128 if (!wxPyCheckForApp()) SWIG_fail;
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 result = (wxTextCtrl *)new wxTextCtrl();
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 {
8136 resultobj = wxPyMake_wxObject(result);
8137 }
8138 return resultobj;
8139 fail:
8140 return NULL;
8141 }
8142
8143
8144 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj;
8146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8147 wxWindow *arg2 = (wxWindow *) 0 ;
8148 int arg3 = (int) -1 ;
8149 wxString const &arg4_defvalue = wxPyEmptyString ;
8150 wxString *arg4 = (wxString *) &arg4_defvalue ;
8151 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8152 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8153 wxSize const &arg6_defvalue = wxDefaultSize ;
8154 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8155 long arg7 = (long) 0 ;
8156 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8157 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8158 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8159 wxString *arg9 = (wxString *) &arg9_defvalue ;
8160 bool result;
8161 bool temp4 = False ;
8162 wxPoint temp5 ;
8163 wxSize temp6 ;
8164 bool temp9 = False ;
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 PyObject * obj2 = 0 ;
8168 PyObject * obj3 = 0 ;
8169 PyObject * obj4 = 0 ;
8170 PyObject * obj5 = 0 ;
8171 PyObject * obj6 = 0 ;
8172 PyObject * obj7 = 0 ;
8173 PyObject * obj8 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8183 if (obj2) {
8184 arg3 = (int) SWIG_AsInt(obj2);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 if (obj3) {
8188 {
8189 arg4 = wxString_in_helper(obj3);
8190 if (arg4 == NULL) SWIG_fail;
8191 temp4 = True;
8192 }
8193 }
8194 if (obj4) {
8195 {
8196 arg5 = &temp5;
8197 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8198 }
8199 }
8200 if (obj5) {
8201 {
8202 arg6 = &temp6;
8203 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8204 }
8205 }
8206 if (obj6) {
8207 arg7 = (long) SWIG_AsLong(obj6);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 if (obj7) {
8211 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8212 SWIG_POINTER_EXCEPTION | 0)) == -1)
8213 SWIG_fail;
8214 if (arg8 == NULL) {
8215 PyErr_SetString(PyExc_TypeError,"null reference");
8216 SWIG_fail;
8217 }
8218 }
8219 if (obj8) {
8220 {
8221 arg9 = wxString_in_helper(obj8);
8222 if (arg9 == NULL) SWIG_fail;
8223 temp9 = True;
8224 }
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 {
8234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8235 }
8236 {
8237 if (temp4)
8238 delete arg4;
8239 }
8240 {
8241 if (temp9)
8242 delete arg9;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp4)
8248 delete arg4;
8249 }
8250 {
8251 if (temp9)
8252 delete arg9;
8253 }
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8261 wxString result;
8262 PyObject * obj0 = 0 ;
8263 char *kwnames[] = {
8264 (char *) "self", NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = ((wxTextCtrl const *)arg1)->GetValue();
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 {
8278 #if wxUSE_UNICODE
8279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8280 #else
8281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8282 #endif
8283 }
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8293 wxString *arg2 = 0 ;
8294 bool temp2 = False ;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "value", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8304 {
8305 arg2 = wxString_in_helper(obj1);
8306 if (arg2 == NULL) SWIG_fail;
8307 temp2 = True;
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 (arg1)->SetValue((wxString const &)*arg2);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 Py_INCREF(Py_None); resultobj = Py_None;
8317 {
8318 if (temp2)
8319 delete arg2;
8320 }
8321 return resultobj;
8322 fail:
8323 {
8324 if (temp2)
8325 delete arg2;
8326 }
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8334 long arg2 ;
8335 long arg3 ;
8336 wxString result;
8337 PyObject * obj0 = 0 ;
8338 PyObject * obj1 = 0 ;
8339 PyObject * obj2 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self",(char *) "from",(char *) "to", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8347 arg2 = (long) SWIG_AsLong(obj1);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 arg3 = (long) SWIG_AsLong(obj2);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 #if wxUSE_UNICODE
8360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8361 #else
8362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8363 #endif
8364 }
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8374 long arg2 ;
8375 int result;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "self",(char *) "lineNo", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8385 arg2 = (long) SWIG_AsLong(obj1);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = SWIG_FromInt((int)result);
8395 return resultobj;
8396 fail:
8397 return NULL;
8398 }
8399
8400
8401 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8404 long arg2 ;
8405 wxString result;
8406 PyObject * obj0 = 0 ;
8407 PyObject * obj1 = 0 ;
8408 char *kwnames[] = {
8409 (char *) "self",(char *) "lineNo", NULL
8410 };
8411
8412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8415 arg2 = (long) SWIG_AsLong(obj1);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425 #if wxUSE_UNICODE
8426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8427 #else
8428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8429 #endif
8430 }
8431 return resultobj;
8432 fail:
8433 return NULL;
8434 }
8435
8436
8437 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8438 PyObject *resultobj;
8439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8440 int result;
8441 PyObject * obj0 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 resultobj = SWIG_FromInt((int)result);
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8466 bool result;
8467 PyObject * obj0 = 0 ;
8468 char *kwnames[] = {
8469 (char *) "self", NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 {
8483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8484 }
8485 return resultobj;
8486 fail:
8487 return NULL;
8488 }
8489
8490
8491 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8494 bool result;
8495 PyObject * obj0 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8512 }
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj;
8521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8522 bool result;
8523 PyObject * obj0 = 0 ;
8524 char *kwnames[] = {
8525 (char *) "self", NULL
8526 };
8527
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 {
8539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8540 }
8541 return resultobj;
8542 fail:
8543 return NULL;
8544 }
8545
8546
8547 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8550 bool result;
8551 PyObject * obj0 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8568 }
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8578 long *arg2 = (long *) 0 ;
8579 long *arg3 = (long *) 0 ;
8580 long temp2 ;
8581 long temp3 ;
8582 PyObject * obj0 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self", NULL
8585 };
8586
8587 arg2 = &temp2;
8588 arg3 = &temp3;
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 Py_INCREF(Py_None); resultobj = Py_None;
8600 {
8601 PyObject *o = PyInt_FromLong((long) (*arg2));
8602 resultobj = t_output_helper(resultobj,o);
8603 }
8604 {
8605 PyObject *o = PyInt_FromLong((long) (*arg3));
8606 resultobj = t_output_helper(resultobj,o);
8607 }
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8617 wxString result;
8618 PyObject * obj0 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 {
8634 #if wxUSE_UNICODE
8635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8636 #else
8637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8638 #endif
8639 }
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8649 PyObject * obj0 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 (arg1)->Clear();
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 Py_INCREF(Py_None); resultobj = Py_None;
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8674 long arg2 ;
8675 long arg3 ;
8676 wxString *arg4 = 0 ;
8677 bool temp4 = False ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 PyObject * obj2 = 0 ;
8681 PyObject * obj3 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8689 arg2 = (long) SWIG_AsLong(obj1);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 arg3 = (long) SWIG_AsLong(obj2);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 {
8694 arg4 = wxString_in_helper(obj3);
8695 if (arg4 == NULL) SWIG_fail;
8696 temp4 = True;
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 Py_INCREF(Py_None); resultobj = Py_None;
8706 {
8707 if (temp4)
8708 delete arg4;
8709 }
8710 return resultobj;
8711 fail:
8712 {
8713 if (temp4)
8714 delete arg4;
8715 }
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8723 long arg2 ;
8724 long arg3 ;
8725 PyObject * obj0 = 0 ;
8726 PyObject * obj1 = 0 ;
8727 PyObject * obj2 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self",(char *) "from",(char *) "to", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8735 arg2 = (long) SWIG_AsLong(obj1);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 arg3 = (long) SWIG_AsLong(obj2);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 (arg1)->Remove(arg2,arg3);
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 Py_INCREF(Py_None); resultobj = Py_None;
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8756 wxString *arg2 = 0 ;
8757 bool result;
8758 bool temp2 = False ;
8759 PyObject * obj0 = 0 ;
8760 PyObject * obj1 = 0 ;
8761 char *kwnames[] = {
8762 (char *) "self",(char *) "file", NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8768 {
8769 arg2 = wxString_in_helper(obj1);
8770 if (arg2 == NULL) SWIG_fail;
8771 temp2 = True;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 {
8781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8782 }
8783 {
8784 if (temp2)
8785 delete arg2;
8786 }
8787 return resultobj;
8788 fail:
8789 {
8790 if (temp2)
8791 delete arg2;
8792 }
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8800 wxString const &arg2_defvalue = wxPyEmptyString ;
8801 wxString *arg2 = (wxString *) &arg2_defvalue ;
8802 bool result;
8803 bool temp2 = False ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "file", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8813 if (obj1) {
8814 {
8815 arg2 = wxString_in_helper(obj1);
8816 if (arg2 == NULL) SWIG_fail;
8817 temp2 = True;
8818 }
8819 }
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 {
8828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8829 }
8830 {
8831 if (temp2)
8832 delete arg2;
8833 }
8834 return resultobj;
8835 fail:
8836 {
8837 if (temp2)
8838 delete arg2;
8839 }
8840 return NULL;
8841 }
8842
8843
8844 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj;
8846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8847 PyObject * obj0 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 (arg1)->MarkDirty();
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 Py_INCREF(Py_None); resultobj = Py_None;
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8872 PyObject * obj0 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 (arg1)->DiscardEdits();
8883
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 Py_INCREF(Py_None); resultobj = Py_None;
8888 return resultobj;
8889 fail:
8890 return NULL;
8891 }
8892
8893
8894 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj;
8896 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8897 unsigned long arg2 ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self",(char *) "len", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8907 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->SetMaxLength(arg2);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8926 wxString *arg2 = 0 ;
8927 bool temp2 = False ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self",(char *) "text", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 {
8938 arg2 = wxString_in_helper(obj1);
8939 if (arg2 == NULL) SWIG_fail;
8940 temp2 = True;
8941 }
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 (arg1)->WriteText((wxString const &)*arg2);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 Py_INCREF(Py_None); resultobj = Py_None;
8950 {
8951 if (temp2)
8952 delete arg2;
8953 }
8954 return resultobj;
8955 fail:
8956 {
8957 if (temp2)
8958 delete arg2;
8959 }
8960 return NULL;
8961 }
8962
8963
8964 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8967 wxString *arg2 = 0 ;
8968 bool temp2 = False ;
8969 PyObject * obj0 = 0 ;
8970 PyObject * obj1 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self",(char *) "text", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8978 {
8979 arg2 = wxString_in_helper(obj1);
8980 if (arg2 == NULL) SWIG_fail;
8981 temp2 = True;
8982 }
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 (arg1)->AppendText((wxString const &)*arg2);
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 Py_INCREF(Py_None); resultobj = Py_None;
8991 {
8992 if (temp2)
8993 delete arg2;
8994 }
8995 return resultobj;
8996 fail:
8997 {
8998 if (temp2)
8999 delete arg2;
9000 }
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9008 wxKeyEvent *arg2 = 0 ;
9009 bool result;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "event", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1)
9021 SWIG_fail;
9022 if (arg2 == NULL) {
9023 PyErr_SetString(PyExc_TypeError,"null reference");
9024 SWIG_fail;
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 {
9034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9035 }
9036 return resultobj;
9037 fail:
9038 return NULL;
9039 }
9040
9041
9042 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9045 long arg2 ;
9046 long arg3 ;
9047 wxTextAttr *arg4 = 0 ;
9048 bool result;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 PyObject * obj2 = 0 ;
9052 PyObject * obj3 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9060 arg2 = (long) SWIG_AsLong(obj1);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 arg3 = (long) SWIG_AsLong(obj2);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9065 SWIG_POINTER_EXCEPTION | 0)) == -1)
9066 SWIG_fail;
9067 if (arg4 == NULL) {
9068 PyErr_SetString(PyExc_TypeError,"null reference");
9069 SWIG_fail;
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 {
9079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9080 }
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj;
9089 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9090 long arg2 ;
9091 wxTextAttr *arg3 = 0 ;
9092 bool result;
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095 PyObject * obj2 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "position",(char *) "style", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9103 arg2 = (long) SWIG_AsLong(obj1);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9106 SWIG_POINTER_EXCEPTION | 0)) == -1)
9107 SWIG_fail;
9108 if (arg3 == NULL) {
9109 PyErr_SetString(PyExc_TypeError,"null reference");
9110 SWIG_fail;
9111 }
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
9122 return resultobj;
9123 fail:
9124 return NULL;
9125 }
9126
9127
9128 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9131 wxTextAttr *arg2 = 0 ;
9132 bool result;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 char *kwnames[] = {
9136 (char *) "self",(char *) "style", NULL
9137 };
9138
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9143 SWIG_POINTER_EXCEPTION | 0)) == -1)
9144 SWIG_fail;
9145 if (arg2 == NULL) {
9146 PyErr_SetString(PyExc_TypeError,"null reference");
9147 SWIG_fail;
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 {
9157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9158 }
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9168 wxTextAttr *result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 {
9180 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9181 result = (wxTextAttr *) &_result_ref;
9182 }
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9197 long arg2 ;
9198 long arg3 ;
9199 long result;
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 PyObject * obj2 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "x",(char *) "y", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9210 arg2 = (long) SWIG_AsLong(obj1);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 arg3 = (long) SWIG_AsLong(obj2);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 resultobj = SWIG_FromLong((long)result);
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9231 long arg2 ;
9232 long *arg3 = (long *) 0 ;
9233 long *arg4 = (long *) 0 ;
9234 long temp3 ;
9235 long temp4 ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self",(char *) "pos", NULL
9240 };
9241
9242 arg3 = &temp3;
9243 arg4 = &temp4;
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9247 arg2 = (long) SWIG_AsLong(obj1);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 Py_INCREF(Py_None); resultobj = Py_None;
9257 {
9258 PyObject *o = PyInt_FromLong((long) (*arg3));
9259 resultobj = t_output_helper(resultobj,o);
9260 }
9261 {
9262 PyObject *o = PyInt_FromLong((long) (*arg4));
9263 resultobj = t_output_helper(resultobj,o);
9264 }
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9274 long arg2 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "pos", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 arg2 = (long) SWIG_AsLong(obj1);
9285 if (PyErr_Occurred()) SWIG_fail;
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 (arg1)->ShowPosition(arg2);
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 Py_INCREF(Py_None); resultobj = Py_None;
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9303 wxPoint *arg2 = 0 ;
9304 long *arg3 = (long *) 0 ;
9305 long *arg4 = (long *) 0 ;
9306 int result;
9307 wxPoint temp2 ;
9308 long temp3 ;
9309 long temp4 ;
9310 PyObject * obj0 = 0 ;
9311 PyObject * obj1 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self",(char *) "pt", NULL
9314 };
9315
9316 arg3 = &temp3;
9317 arg4 = &temp4;
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9321 {
9322 arg2 = &temp2;
9323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9324 }
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_FromInt((int)result);
9333 {
9334 PyObject *o = PyInt_FromLong((long) (*arg3));
9335 resultobj = t_output_helper(resultobj,o);
9336 }
9337 {
9338 PyObject *o = PyInt_FromLong((long) (*arg4));
9339 resultobj = t_output_helper(resultobj,o);
9340 }
9341 return resultobj;
9342 fail:
9343 return NULL;
9344 }
9345
9346
9347 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9348 PyObject *resultobj;
9349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->Copy();
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 Py_INCREF(Py_None); resultobj = Py_None;
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9375 PyObject * obj0 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 (arg1)->Cut();
9386
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 Py_INCREF(Py_None); resultobj = Py_None;
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9400 PyObject * obj0 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 (arg1)->Paste();
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 Py_INCREF(Py_None); resultobj = Py_None;
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9425 bool result;
9426 PyObject * obj0 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 {
9442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9443 }
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9453 bool result;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 {
9470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9471 }
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9481 bool result;
9482 PyObject * obj0 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 {
9498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9499 }
9500 return resultobj;
9501 fail:
9502 return NULL;
9503 }
9504
9505
9506 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9509 PyObject * obj0 = 0 ;
9510 char *kwnames[] = {
9511 (char *) "self", NULL
9512 };
9513
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 (arg1)->Undo();
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 Py_INCREF(Py_None); resultobj = Py_None;
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9534 PyObject * obj0 = 0 ;
9535 char *kwnames[] = {
9536 (char *) "self", NULL
9537 };
9538
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 (arg1)->Redo();
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 Py_INCREF(Py_None); resultobj = Py_None;
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9559 bool result;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 {
9576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9577 }
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9587 bool result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 {
9604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9605 }
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9615 long arg2 ;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj1 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self",(char *) "pos", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9625 arg2 = (long) SWIG_AsLong(obj1);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 (arg1)->SetInsertionPoint(arg2);
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 Py_INCREF(Py_None); resultobj = Py_None;
9635 return resultobj;
9636 fail:
9637 return NULL;
9638 }
9639
9640
9641 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9642 PyObject *resultobj;
9643 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 (arg1)->SetInsertionPointEnd();
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 Py_INCREF(Py_None); resultobj = Py_None;
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9669 long result;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 resultobj = SWIG_FromLong((long)result);
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9695 long result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = SWIG_FromLong((long)result);
9712 return resultobj;
9713 fail:
9714 return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9721 long arg2 ;
9722 long arg3 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 PyObject * obj2 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "from",(char *) "to", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9733 arg2 = (long) SWIG_AsLong(obj1);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 arg3 = (long) SWIG_AsLong(obj2);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 (arg1)->SetSelection(arg2,arg3);
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 Py_INCREF(Py_None); resultobj = Py_None;
9745 return resultobj;
9746 fail:
9747 return NULL;
9748 }
9749
9750
9751 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9754 PyObject * obj0 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 (arg1)->SelectAll();
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 Py_INCREF(Py_None); resultobj = Py_None;
9770 return resultobj;
9771 fail:
9772 return NULL;
9773 }
9774
9775
9776 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9779 bool arg2 ;
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj1 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self",(char *) "editable", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9789 arg2 = (bool) SWIG_AsBool(obj1);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 (arg1)->SetEditable(arg2);
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 Py_INCREF(Py_None); resultobj = Py_None;
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9808 wxString *arg2 = 0 ;
9809 bool temp2 = False ;
9810 PyObject * obj0 = 0 ;
9811 PyObject * obj1 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "text", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 {
9820 arg2 = wxString_in_helper(obj1);
9821 if (arg2 == NULL) SWIG_fail;
9822 temp2 = True;
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 Py_INCREF(Py_None); resultobj = Py_None;
9832 {
9833 if (temp2)
9834 delete arg2;
9835 }
9836 return resultobj;
9837 fail:
9838 {
9839 if (temp2)
9840 delete arg2;
9841 }
9842 return NULL;
9843 }
9844
9845
9846 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9849 long arg2 ;
9850 long arg3 ;
9851 wxString result;
9852 PyObject * obj0 = 0 ;
9853 PyObject * obj1 = 0 ;
9854 PyObject * obj2 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self",(char *) "from",(char *) "to", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9862 arg2 = (long) SWIG_AsLong(obj1);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 arg3 = (long) SWIG_AsLong(obj2);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 {
9874 #if wxUSE_UNICODE
9875 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9876 #else
9877 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9878 #endif
9879 }
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9889 wxVisualAttributes result;
9890 PyObject * obj0 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "variant", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9896 if (obj0) {
9897 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 {
9901 if (!wxPyCheckForApp()) SWIG_fail;
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 {
9909 wxVisualAttributes * resultptr;
9910 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9912 }
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9920 PyObject *obj;
9921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9922 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9923 Py_INCREF(obj);
9924 return Py_BuildValue((char *)"");
9925 }
9926 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj;
9928 int arg1 ;
9929 wxMouseEvent *arg2 = 0 ;
9930 long arg3 ;
9931 long arg4 ;
9932 wxTextUrlEvent *result;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 PyObject * obj2 = 0 ;
9936 PyObject * obj3 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9942 arg1 = (int) SWIG_AsInt(obj0);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1)
9946 SWIG_fail;
9947 if (arg2 == NULL) {
9948 PyErr_SetString(PyExc_TypeError,"null reference");
9949 SWIG_fail;
9950 }
9951 arg3 = (long) SWIG_AsLong(obj2);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 arg4 = (long) SWIG_AsLong(obj3);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 {
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
9962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9963 return resultobj;
9964 fail:
9965 return NULL;
9966 }
9967
9968
9969 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9972 wxMouseEvent *result;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 {
9984 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9985 result = (wxMouseEvent *) &_result_ref;
9986 }
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10001 long result;
10002 PyObject * obj0 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 resultobj = SWIG_FromLong((long)result);
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10027 long result;
10028 PyObject * obj0 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = SWIG_FromLong((long)result);
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
10051 PyObject *obj;
10052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10053 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10054 Py_INCREF(obj);
10055 return Py_BuildValue((char *)"");
10056 }
10057 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
10058 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10059 return 1;
10060 }
10061
10062
10063 static PyObject *_wrap_ScrollBarNameStr_get() {
10064 PyObject *pyobj;
10065
10066 {
10067 #if wxUSE_UNICODE
10068 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10069 #else
10070 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10071 #endif
10072 }
10073 return pyobj;
10074 }
10075
10076
10077 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj;
10079 wxWindow *arg1 = (wxWindow *) 0 ;
10080 int arg2 = (int) -1 ;
10081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10083 wxSize const &arg4_defvalue = wxDefaultSize ;
10084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10085 long arg5 = (long) wxSB_HORIZONTAL ;
10086 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10087 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10088 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10089 wxString *arg7 = (wxString *) &arg7_defvalue ;
10090 wxScrollBar *result;
10091 wxPoint temp3 ;
10092 wxSize temp4 ;
10093 bool temp7 = False ;
10094 PyObject * obj0 = 0 ;
10095 PyObject * obj1 = 0 ;
10096 PyObject * obj2 = 0 ;
10097 PyObject * obj3 = 0 ;
10098 PyObject * obj4 = 0 ;
10099 PyObject * obj5 = 0 ;
10100 PyObject * obj6 = 0 ;
10101 char *kwnames[] = {
10102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10103 };
10104
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10108 if (obj1) {
10109 arg2 = (int) SWIG_AsInt(obj1);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 if (obj2) {
10113 {
10114 arg3 = &temp3;
10115 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10116 }
10117 }
10118 if (obj3) {
10119 {
10120 arg4 = &temp4;
10121 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10122 }
10123 }
10124 if (obj4) {
10125 arg5 = (long) SWIG_AsLong(obj4);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 if (obj5) {
10129 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1)
10131 SWIG_fail;
10132 if (arg6 == NULL) {
10133 PyErr_SetString(PyExc_TypeError,"null reference");
10134 SWIG_fail;
10135 }
10136 }
10137 if (obj6) {
10138 {
10139 arg7 = wxString_in_helper(obj6);
10140 if (arg7 == NULL) SWIG_fail;
10141 temp7 = True;
10142 }
10143 }
10144 {
10145 if (!wxPyCheckForApp()) SWIG_fail;
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10153 {
10154 if (temp7)
10155 delete arg7;
10156 }
10157 return resultobj;
10158 fail:
10159 {
10160 if (temp7)
10161 delete arg7;
10162 }
10163 return NULL;
10164 }
10165
10166
10167 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxScrollBar *result;
10170 char *kwnames[] = {
10171 NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10175 {
10176 if (!wxPyCheckForApp()) SWIG_fail;
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (wxScrollBar *)new wxScrollBar();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10193 wxWindow *arg2 = (wxWindow *) 0 ;
10194 int arg3 = (int) -1 ;
10195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10197 wxSize const &arg5_defvalue = wxDefaultSize ;
10198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10199 long arg6 = (long) wxSB_HORIZONTAL ;
10200 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10201 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10202 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10203 wxString *arg8 = (wxString *) &arg8_defvalue ;
10204 bool result;
10205 wxPoint temp4 ;
10206 wxSize temp5 ;
10207 bool temp8 = False ;
10208 PyObject * obj0 = 0 ;
10209 PyObject * obj1 = 0 ;
10210 PyObject * obj2 = 0 ;
10211 PyObject * obj3 = 0 ;
10212 PyObject * obj4 = 0 ;
10213 PyObject * obj5 = 0 ;
10214 PyObject * obj6 = 0 ;
10215 PyObject * obj7 = 0 ;
10216 char *kwnames[] = {
10217 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10218 };
10219
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10225 if (obj2) {
10226 arg3 = (int) SWIG_AsInt(obj2);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 if (obj3) {
10230 {
10231 arg4 = &temp4;
10232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10233 }
10234 }
10235 if (obj4) {
10236 {
10237 arg5 = &temp5;
10238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10239 }
10240 }
10241 if (obj5) {
10242 arg6 = (long) SWIG_AsLong(obj5);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 if (obj6) {
10246 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10247 SWIG_POINTER_EXCEPTION | 0)) == -1)
10248 SWIG_fail;
10249 if (arg7 == NULL) {
10250 PyErr_SetString(PyExc_TypeError,"null reference");
10251 SWIG_fail;
10252 }
10253 }
10254 if (obj7) {
10255 {
10256 arg8 = wxString_in_helper(obj7);
10257 if (arg8 == NULL) SWIG_fail;
10258 temp8 = True;
10259 }
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
10271 {
10272 if (temp8)
10273 delete arg8;
10274 }
10275 return resultobj;
10276 fail:
10277 {
10278 if (temp8)
10279 delete arg8;
10280 }
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10288 int result;
10289 PyObject * obj0 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 resultobj = SWIG_FromInt((int)result);
10305 return resultobj;
10306 fail:
10307 return NULL;
10308 }
10309
10310
10311 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10314 int result;
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_FromInt((int)result);
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10338 PyObject *resultobj;
10339 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10340 int result;
10341 PyObject * obj0 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 resultobj = SWIG_FromInt((int)result);
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10366 int result;
10367 PyObject * obj0 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 result = (int)((wxScrollBar const *)arg1)->GetRange();
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 resultobj = SWIG_FromInt((int)result);
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10392 bool result;
10393 PyObject * obj0 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 {
10409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10410 }
10411 return resultobj;
10412 fail:
10413 return NULL;
10414 }
10415
10416
10417 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj;
10419 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10420 int arg2 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "viewStart", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10430 arg2 = (int) SWIG_AsInt(obj1);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetThumbPosition(arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10449 int arg2 ;
10450 int arg3 ;
10451 int arg4 ;
10452 int arg5 ;
10453 bool arg6 = (bool) True ;
10454 PyObject * obj0 = 0 ;
10455 PyObject * obj1 = 0 ;
10456 PyObject * obj2 = 0 ;
10457 PyObject * obj3 = 0 ;
10458 PyObject * obj4 = 0 ;
10459 PyObject * obj5 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10467 arg2 = (int) SWIG_AsInt(obj1);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 arg3 = (int) SWIG_AsInt(obj2);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 arg4 = (int) SWIG_AsInt(obj3);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 arg5 = (int) SWIG_AsInt(obj4);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 if (obj5) {
10476 arg6 = (bool) SWIG_AsBool(obj5);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 {
10480 PyThreadState* __tstate = wxPyBeginAllowThreads();
10481 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10482
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 Py_INCREF(Py_None); resultobj = Py_None;
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj;
10495 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10496 wxVisualAttributes result;
10497 PyObject * obj0 = 0 ;
10498 char *kwnames[] = {
10499 (char *) "variant", NULL
10500 };
10501
10502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10503 if (obj0) {
10504 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 {
10508 if (!wxPyCheckForApp()) SWIG_fail;
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10511
10512 wxPyEndAllowThreads(__tstate);
10513 if (PyErr_Occurred()) SWIG_fail;
10514 }
10515 {
10516 wxVisualAttributes * resultptr;
10517 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10519 }
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10527 PyObject *obj;
10528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10529 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10530 Py_INCREF(obj);
10531 return Py_BuildValue((char *)"");
10532 }
10533 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10534 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10535 return 1;
10536 }
10537
10538
10539 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10540 PyObject *pyobj;
10541
10542 {
10543 #if wxUSE_UNICODE
10544 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10545 #else
10546 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10547 #endif
10548 }
10549 return pyobj;
10550 }
10551
10552
10553 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10554 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10555 return 1;
10556 }
10557
10558
10559 static PyObject *_wrap_SpinCtrlNameStr_get() {
10560 PyObject *pyobj;
10561
10562 {
10563 #if wxUSE_UNICODE
10564 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10565 #else
10566 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10567 #endif
10568 }
10569 return pyobj;
10570 }
10571
10572
10573 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxWindow *arg1 = (wxWindow *) 0 ;
10576 int arg2 = (int) -1 ;
10577 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10578 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10579 wxSize const &arg4_defvalue = wxDefaultSize ;
10580 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10581 long arg5 = (long) wxSP_HORIZONTAL ;
10582 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10583 wxString *arg6 = (wxString *) &arg6_defvalue ;
10584 wxSpinButton *result;
10585 wxPoint temp3 ;
10586 wxSize temp4 ;
10587 bool temp6 = False ;
10588 PyObject * obj0 = 0 ;
10589 PyObject * obj1 = 0 ;
10590 PyObject * obj2 = 0 ;
10591 PyObject * obj3 = 0 ;
10592 PyObject * obj4 = 0 ;
10593 PyObject * obj5 = 0 ;
10594 char *kwnames[] = {
10595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10596 };
10597
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10601 if (obj1) {
10602 arg2 = (int) SWIG_AsInt(obj1);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 if (obj2) {
10606 {
10607 arg3 = &temp3;
10608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10609 }
10610 }
10611 if (obj3) {
10612 {
10613 arg4 = &temp4;
10614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10615 }
10616 }
10617 if (obj4) {
10618 arg5 = (long) SWIG_AsLong(obj4);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 if (obj5) {
10622 {
10623 arg6 = wxString_in_helper(obj5);
10624 if (arg6 == NULL) SWIG_fail;
10625 temp6 = True;
10626 }
10627 }
10628 {
10629 if (!wxPyCheckForApp()) SWIG_fail;
10630 PyThreadState* __tstate = wxPyBeginAllowThreads();
10631 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10632
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10637 {
10638 if (temp6)
10639 delete arg6;
10640 }
10641 return resultobj;
10642 fail:
10643 {
10644 if (temp6)
10645 delete arg6;
10646 }
10647 return NULL;
10648 }
10649
10650
10651 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxSpinButton *result;
10654 char *kwnames[] = {
10655 NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10659 {
10660 if (!wxPyCheckForApp()) SWIG_fail;
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (wxSpinButton *)new wxSpinButton();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10677 wxWindow *arg2 = (wxWindow *) 0 ;
10678 int arg3 = (int) -1 ;
10679 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10680 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10681 wxSize const &arg5_defvalue = wxDefaultSize ;
10682 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10683 long arg6 = (long) wxSP_HORIZONTAL ;
10684 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10685 wxString *arg7 = (wxString *) &arg7_defvalue ;
10686 bool result;
10687 wxPoint temp4 ;
10688 wxSize temp5 ;
10689 bool temp7 = False ;
10690 PyObject * obj0 = 0 ;
10691 PyObject * obj1 = 0 ;
10692 PyObject * obj2 = 0 ;
10693 PyObject * obj3 = 0 ;
10694 PyObject * obj4 = 0 ;
10695 PyObject * obj5 = 0 ;
10696 PyObject * obj6 = 0 ;
10697 char *kwnames[] = {
10698 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10699 };
10700
10701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10706 if (obj2) {
10707 arg3 = (int) SWIG_AsInt(obj2);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 if (obj3) {
10711 {
10712 arg4 = &temp4;
10713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10714 }
10715 }
10716 if (obj4) {
10717 {
10718 arg5 = &temp5;
10719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10720 }
10721 }
10722 if (obj5) {
10723 arg6 = (long) SWIG_AsLong(obj5);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 if (obj6) {
10727 {
10728 arg7 = wxString_in_helper(obj6);
10729 if (arg7 == NULL) SWIG_fail;
10730 temp7 = True;
10731 }
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10742 }
10743 {
10744 if (temp7)
10745 delete arg7;
10746 }
10747 return resultobj;
10748 fail:
10749 {
10750 if (temp7)
10751 delete arg7;
10752 }
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10760 int result;
10761 PyObject * obj0 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (int)((wxSpinButton const *)arg1)->GetValue();
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_FromInt((int)result);
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj;
10785 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10786 int result;
10787 PyObject * obj0 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (int)((wxSpinButton const *)arg1)->GetMin();
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_FromInt((int)result);
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10812 int result;
10813 PyObject * obj0 = 0 ;
10814 char *kwnames[] = {
10815 (char *) "self", NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 result = (int)((wxSpinButton const *)arg1)->GetMax();
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 resultobj = SWIG_FromInt((int)result);
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10838 int arg2 ;
10839 PyObject * obj0 = 0 ;
10840 PyObject * obj1 = 0 ;
10841 char *kwnames[] = {
10842 (char *) "self",(char *) "val", NULL
10843 };
10844
10845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10848 arg2 = (int) SWIG_AsInt(obj1);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 (arg1)->SetValue(arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 Py_INCREF(Py_None); resultobj = Py_None;
10858 return resultobj;
10859 fail:
10860 return NULL;
10861 }
10862
10863
10864 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10867 int arg2 ;
10868 PyObject * obj0 = 0 ;
10869 PyObject * obj1 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "minVal", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10877 arg2 = (int) SWIG_AsInt(obj1);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetMin(arg2);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10896 int arg2 ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "maxVal", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10906 arg2 = (int) SWIG_AsInt(obj1);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetMax(arg2);
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 Py_INCREF(Py_None); resultobj = Py_None;
10916 return resultobj;
10917 fail:
10918 return NULL;
10919 }
10920
10921
10922 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10925 int arg2 ;
10926 int arg3 ;
10927 PyObject * obj0 = 0 ;
10928 PyObject * obj1 = 0 ;
10929 PyObject * obj2 = 0 ;
10930 char *kwnames[] = {
10931 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10937 arg2 = (int) SWIG_AsInt(obj1);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 arg3 = (int) SWIG_AsInt(obj2);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 (arg1)->SetRange(arg2,arg3);
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 Py_INCREF(Py_None); resultobj = Py_None;
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10958 bool result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 {
10975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10976 }
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10986 wxVisualAttributes result;
10987 PyObject * obj0 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "variant", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10993 if (obj0) {
10994 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 {
10998 if (!wxPyCheckForApp()) SWIG_fail;
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 {
11006 wxVisualAttributes * resultptr;
11007 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11009 }
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
11017 PyObject *obj;
11018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11019 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11020 Py_INCREF(obj);
11021 return Py_BuildValue((char *)"");
11022 }
11023 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxWindow *arg1 = (wxWindow *) 0 ;
11026 int arg2 = (int) -1 ;
11027 wxString const &arg3_defvalue = wxPyEmptyString ;
11028 wxString *arg3 = (wxString *) &arg3_defvalue ;
11029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11031 wxSize const &arg5_defvalue = wxDefaultSize ;
11032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11033 long arg6 = (long) wxSP_ARROW_KEYS ;
11034 int arg7 = (int) 0 ;
11035 int arg8 = (int) 100 ;
11036 int arg9 = (int) 0 ;
11037 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11038 wxString *arg10 = (wxString *) &arg10_defvalue ;
11039 wxSpinCtrl *result;
11040 bool temp3 = False ;
11041 wxPoint temp4 ;
11042 wxSize temp5 ;
11043 bool temp10 = False ;
11044 PyObject * obj0 = 0 ;
11045 PyObject * obj1 = 0 ;
11046 PyObject * obj2 = 0 ;
11047 PyObject * obj3 = 0 ;
11048 PyObject * obj4 = 0 ;
11049 PyObject * obj5 = 0 ;
11050 PyObject * obj6 = 0 ;
11051 PyObject * obj7 = 0 ;
11052 PyObject * obj8 = 0 ;
11053 PyObject * obj9 = 0 ;
11054 char *kwnames[] = {
11055 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11056 };
11057
11058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11061 if (obj1) {
11062 arg2 = (int) SWIG_AsInt(obj1);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 if (obj2) {
11066 {
11067 arg3 = wxString_in_helper(obj2);
11068 if (arg3 == NULL) SWIG_fail;
11069 temp3 = True;
11070 }
11071 }
11072 if (obj3) {
11073 {
11074 arg4 = &temp4;
11075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11076 }
11077 }
11078 if (obj4) {
11079 {
11080 arg5 = &temp5;
11081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11082 }
11083 }
11084 if (obj5) {
11085 arg6 = (long) SWIG_AsLong(obj5);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 if (obj6) {
11089 arg7 = (int) SWIG_AsInt(obj6);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 if (obj7) {
11093 arg8 = (int) SWIG_AsInt(obj7);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 if (obj8) {
11097 arg9 = (int) SWIG_AsInt(obj8);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 if (obj9) {
11101 {
11102 arg10 = wxString_in_helper(obj9);
11103 if (arg10 == NULL) SWIG_fail;
11104 temp10 = True;
11105 }
11106 }
11107 {
11108 if (!wxPyCheckForApp()) SWIG_fail;
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11116 {
11117 if (temp3)
11118 delete arg3;
11119 }
11120 {
11121 if (temp10)
11122 delete arg10;
11123 }
11124 return resultobj;
11125 fail:
11126 {
11127 if (temp3)
11128 delete arg3;
11129 }
11130 {
11131 if (temp10)
11132 delete arg10;
11133 }
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxSpinCtrl *result;
11141 char *kwnames[] = {
11142 NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11146 {
11147 if (!wxPyCheckForApp()) SWIG_fail;
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 result = (wxSpinCtrl *)new wxSpinCtrl();
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11164 wxWindow *arg2 = (wxWindow *) 0 ;
11165 int arg3 = (int) -1 ;
11166 wxString const &arg4_defvalue = wxPyEmptyString ;
11167 wxString *arg4 = (wxString *) &arg4_defvalue ;
11168 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11169 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11170 wxSize const &arg6_defvalue = wxDefaultSize ;
11171 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11172 long arg7 = (long) wxSP_ARROW_KEYS ;
11173 int arg8 = (int) 0 ;
11174 int arg9 = (int) 100 ;
11175 int arg10 = (int) 0 ;
11176 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11177 wxString *arg11 = (wxString *) &arg11_defvalue ;
11178 bool result;
11179 bool temp4 = False ;
11180 wxPoint temp5 ;
11181 wxSize temp6 ;
11182 bool temp11 = False ;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj1 = 0 ;
11185 PyObject * obj2 = 0 ;
11186 PyObject * obj3 = 0 ;
11187 PyObject * obj4 = 0 ;
11188 PyObject * obj5 = 0 ;
11189 PyObject * obj6 = 0 ;
11190 PyObject * obj7 = 0 ;
11191 PyObject * obj8 = 0 ;
11192 PyObject * obj9 = 0 ;
11193 PyObject * obj10 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11203 if (obj2) {
11204 arg3 = (int) SWIG_AsInt(obj2);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 if (obj3) {
11208 {
11209 arg4 = wxString_in_helper(obj3);
11210 if (arg4 == NULL) SWIG_fail;
11211 temp4 = True;
11212 }
11213 }
11214 if (obj4) {
11215 {
11216 arg5 = &temp5;
11217 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11218 }
11219 }
11220 if (obj5) {
11221 {
11222 arg6 = &temp6;
11223 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11224 }
11225 }
11226 if (obj6) {
11227 arg7 = (long) SWIG_AsLong(obj6);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 if (obj7) {
11231 arg8 = (int) SWIG_AsInt(obj7);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 if (obj8) {
11235 arg9 = (int) SWIG_AsInt(obj8);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 if (obj9) {
11239 arg10 = (int) SWIG_AsInt(obj9);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 if (obj10) {
11243 {
11244 arg11 = wxString_in_helper(obj10);
11245 if (arg11 == NULL) SWIG_fail;
11246 temp11 = True;
11247 }
11248 }
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 {
11257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11258 }
11259 {
11260 if (temp4)
11261 delete arg4;
11262 }
11263 {
11264 if (temp11)
11265 delete arg11;
11266 }
11267 return resultobj;
11268 fail:
11269 {
11270 if (temp4)
11271 delete arg4;
11272 }
11273 {
11274 if (temp11)
11275 delete arg11;
11276 }
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj;
11283 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11284 int result;
11285 PyObject * obj0 = 0 ;
11286 char *kwnames[] = {
11287 (char *) "self", NULL
11288 };
11289
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 resultobj = SWIG_FromInt((int)result);
11301 return resultobj;
11302 fail:
11303 return NULL;
11304 }
11305
11306
11307 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11310 int arg2 ;
11311 PyObject * obj0 = 0 ;
11312 PyObject * obj1 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "value", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 arg2 = (int) SWIG_AsInt(obj1);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 (arg1)->SetValue(arg2);
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 Py_INCREF(Py_None); resultobj = Py_None;
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11339 wxString *arg2 = 0 ;
11340 bool temp2 = False ;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 char *kwnames[] = {
11344 (char *) "self",(char *) "text", NULL
11345 };
11346
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11350 {
11351 arg2 = wxString_in_helper(obj1);
11352 if (arg2 == NULL) SWIG_fail;
11353 temp2 = True;
11354 }
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 (arg1)->SetValue((wxString const &)*arg2);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 Py_INCREF(Py_None); resultobj = Py_None;
11363 {
11364 if (temp2)
11365 delete arg2;
11366 }
11367 return resultobj;
11368 fail:
11369 {
11370 if (temp2)
11371 delete arg2;
11372 }
11373 return NULL;
11374 }
11375
11376
11377 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11380 int arg2 ;
11381 int arg3 ;
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
11384 PyObject * obj2 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11392 arg2 = (int) SWIG_AsInt(obj1);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 arg3 = (int) SWIG_AsInt(obj2);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 (arg1)->SetRange(arg2,arg3);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 Py_INCREF(Py_None); resultobj = Py_None;
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11413 int result;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = SWIG_FromInt((int)result);
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11439 int result;
11440 PyObject * obj0 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11451
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 resultobj = SWIG_FromInt((int)result);
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11465 long arg2 ;
11466 long arg3 ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 PyObject * obj2 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self",(char *) "from",(char *) "to", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11477 arg2 = (long) SWIG_AsLong(obj1);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 arg3 = (long) SWIG_AsLong(obj2);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 (arg1)->SetSelection(arg2,arg3);
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 Py_INCREF(Py_None); resultobj = Py_None;
11489 return resultobj;
11490 fail:
11491 return NULL;
11492 }
11493
11494
11495 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11498 wxVisualAttributes result;
11499 PyObject * obj0 = 0 ;
11500 char *kwnames[] = {
11501 (char *) "variant", NULL
11502 };
11503
11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11505 if (obj0) {
11506 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 {
11510 if (!wxPyCheckForApp()) SWIG_fail;
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 {
11518 wxVisualAttributes * resultptr;
11519 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11521 }
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11529 PyObject *obj;
11530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11531 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11532 Py_INCREF(obj);
11533 return Py_BuildValue((char *)"");
11534 }
11535 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11538 int arg2 = (int) 0 ;
11539 wxSpinEvent *result;
11540 PyObject * obj0 = 0 ;
11541 PyObject * obj1 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "commandType",(char *) "winid", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11547 if (obj0) {
11548 arg1 = (wxEventType) SWIG_AsInt(obj0);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 if (obj1) {
11552 arg2 = (int) SWIG_AsInt(obj1);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11572 int result;
11573 PyObject * obj0 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 resultobj = SWIG_FromInt((int)result);
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11598 int arg2 ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "pos", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11608 arg2 = (int) SWIG_AsInt(obj1);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 (arg1)->SetPosition(arg2);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 Py_INCREF(Py_None); resultobj = Py_None;
11618 return resultobj;
11619 fail:
11620 return NULL;
11621 }
11622
11623
11624 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11625 PyObject *obj;
11626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11627 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11628 Py_INCREF(obj);
11629 return Py_BuildValue((char *)"");
11630 }
11631 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11632 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11633 return 1;
11634 }
11635
11636
11637 static PyObject *_wrap_RadioBoxNameStr_get() {
11638 PyObject *pyobj;
11639
11640 {
11641 #if wxUSE_UNICODE
11642 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11643 #else
11644 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11645 #endif
11646 }
11647 return pyobj;
11648 }
11649
11650
11651 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11652 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11653 return 1;
11654 }
11655
11656
11657 static PyObject *_wrap_RadioButtonNameStr_get() {
11658 PyObject *pyobj;
11659
11660 {
11661 #if wxUSE_UNICODE
11662 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11663 #else
11664 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11665 #endif
11666 }
11667 return pyobj;
11668 }
11669
11670
11671 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxWindow *arg1 = (wxWindow *) 0 ;
11674 int arg2 = (int) -1 ;
11675 wxString const &arg3_defvalue = wxPyEmptyString ;
11676 wxString *arg3 = (wxString *) &arg3_defvalue ;
11677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11679 wxSize const &arg5_defvalue = wxDefaultSize ;
11680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11681 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11682 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11683 int arg7 = (int) 0 ;
11684 long arg8 = (long) wxRA_HORIZONTAL ;
11685 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11686 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11687 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11688 wxString *arg10 = (wxString *) &arg10_defvalue ;
11689 wxRadioBox *result;
11690 bool temp3 = False ;
11691 wxPoint temp4 ;
11692 wxSize temp5 ;
11693 bool temp6 = False ;
11694 bool temp10 = False ;
11695 PyObject * obj0 = 0 ;
11696 PyObject * obj1 = 0 ;
11697 PyObject * obj2 = 0 ;
11698 PyObject * obj3 = 0 ;
11699 PyObject * obj4 = 0 ;
11700 PyObject * obj5 = 0 ;
11701 PyObject * obj6 = 0 ;
11702 PyObject * obj7 = 0 ;
11703 PyObject * obj8 = 0 ;
11704 PyObject * obj9 = 0 ;
11705 char *kwnames[] = {
11706 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11707 };
11708
11709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11712 if (obj1) {
11713 arg2 = (int) SWIG_AsInt(obj1);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 if (obj2) {
11717 {
11718 arg3 = wxString_in_helper(obj2);
11719 if (arg3 == NULL) SWIG_fail;
11720 temp3 = True;
11721 }
11722 }
11723 if (obj3) {
11724 {
11725 arg4 = &temp4;
11726 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11727 }
11728 }
11729 if (obj4) {
11730 {
11731 arg5 = &temp5;
11732 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11733 }
11734 }
11735 if (obj5) {
11736 {
11737 if (! PySequence_Check(obj5)) {
11738 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11739 SWIG_fail;
11740 }
11741 arg6 = new wxArrayString;
11742 temp6 = True;
11743 int i, len=PySequence_Length(obj5);
11744 for (i=0; i<len; i++) {
11745 PyObject* item = PySequence_GetItem(obj5, i);
11746 #if wxUSE_UNICODE
11747 PyObject* str = PyObject_Unicode(item);
11748 #else
11749 PyObject* str = PyObject_Str(item);
11750 #endif
11751 if (PyErr_Occurred()) SWIG_fail;
11752 arg6->Add(Py2wxString(str));
11753 Py_DECREF(item);
11754 Py_DECREF(str);
11755 }
11756 }
11757 }
11758 if (obj6) {
11759 arg7 = (int) SWIG_AsInt(obj6);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 if (obj7) {
11763 arg8 = (long) SWIG_AsLong(obj7);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 if (obj8) {
11767 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11768 SWIG_POINTER_EXCEPTION | 0)) == -1)
11769 SWIG_fail;
11770 if (arg9 == NULL) {
11771 PyErr_SetString(PyExc_TypeError,"null reference");
11772 SWIG_fail;
11773 }
11774 }
11775 if (obj9) {
11776 {
11777 arg10 = wxString_in_helper(obj9);
11778 if (arg10 == NULL) SWIG_fail;
11779 temp10 = True;
11780 }
11781 }
11782 {
11783 if (!wxPyCheckForApp()) SWIG_fail;
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 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);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11791 {
11792 if (temp3)
11793 delete arg3;
11794 }
11795 {
11796 if (temp6) delete arg6;
11797 }
11798 {
11799 if (temp10)
11800 delete arg10;
11801 }
11802 return resultobj;
11803 fail:
11804 {
11805 if (temp3)
11806 delete arg3;
11807 }
11808 {
11809 if (temp6) delete arg6;
11810 }
11811 {
11812 if (temp10)
11813 delete arg10;
11814 }
11815 return NULL;
11816 }
11817
11818
11819 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj;
11821 wxRadioBox *result;
11822 char *kwnames[] = {
11823 NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11827 {
11828 if (!wxPyCheckForApp()) SWIG_fail;
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (wxRadioBox *)new wxRadioBox();
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11836 return resultobj;
11837 fail:
11838 return NULL;
11839 }
11840
11841
11842 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11843 PyObject *resultobj;
11844 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11845 wxWindow *arg2 = (wxWindow *) 0 ;
11846 int arg3 = (int) -1 ;
11847 wxString const &arg4_defvalue = wxPyEmptyString ;
11848 wxString *arg4 = (wxString *) &arg4_defvalue ;
11849 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11850 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11851 wxSize const &arg6_defvalue = wxDefaultSize ;
11852 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11853 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11854 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11855 int arg8 = (int) 0 ;
11856 long arg9 = (long) wxRA_HORIZONTAL ;
11857 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11858 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11859 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11860 wxString *arg11 = (wxString *) &arg11_defvalue ;
11861 bool result;
11862 bool temp4 = False ;
11863 wxPoint temp5 ;
11864 wxSize temp6 ;
11865 bool temp7 = False ;
11866 bool temp11 = False ;
11867 PyObject * obj0 = 0 ;
11868 PyObject * obj1 = 0 ;
11869 PyObject * obj2 = 0 ;
11870 PyObject * obj3 = 0 ;
11871 PyObject * obj4 = 0 ;
11872 PyObject * obj5 = 0 ;
11873 PyObject * obj6 = 0 ;
11874 PyObject * obj7 = 0 ;
11875 PyObject * obj8 = 0 ;
11876 PyObject * obj9 = 0 ;
11877 PyObject * obj10 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11887 if (obj2) {
11888 arg3 = (int) SWIG_AsInt(obj2);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 if (obj3) {
11892 {
11893 arg4 = wxString_in_helper(obj3);
11894 if (arg4 == NULL) SWIG_fail;
11895 temp4 = True;
11896 }
11897 }
11898 if (obj4) {
11899 {
11900 arg5 = &temp5;
11901 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11902 }
11903 }
11904 if (obj5) {
11905 {
11906 arg6 = &temp6;
11907 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11908 }
11909 }
11910 if (obj6) {
11911 {
11912 if (! PySequence_Check(obj6)) {
11913 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11914 SWIG_fail;
11915 }
11916 arg7 = new wxArrayString;
11917 temp7 = True;
11918 int i, len=PySequence_Length(obj6);
11919 for (i=0; i<len; i++) {
11920 PyObject* item = PySequence_GetItem(obj6, i);
11921 #if wxUSE_UNICODE
11922 PyObject* str = PyObject_Unicode(item);
11923 #else
11924 PyObject* str = PyObject_Str(item);
11925 #endif
11926 if (PyErr_Occurred()) SWIG_fail;
11927 arg7->Add(Py2wxString(str));
11928 Py_DECREF(item);
11929 Py_DECREF(str);
11930 }
11931 }
11932 }
11933 if (obj7) {
11934 arg8 = (int) SWIG_AsInt(obj7);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 if (obj8) {
11938 arg9 = (long) SWIG_AsLong(obj8);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 if (obj9) {
11942 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11943 SWIG_POINTER_EXCEPTION | 0)) == -1)
11944 SWIG_fail;
11945 if (arg10 == NULL) {
11946 PyErr_SetString(PyExc_TypeError,"null reference");
11947 SWIG_fail;
11948 }
11949 }
11950 if (obj10) {
11951 {
11952 arg11 = wxString_in_helper(obj10);
11953 if (arg11 == NULL) SWIG_fail;
11954 temp11 = True;
11955 }
11956 }
11957 {
11958 PyThreadState* __tstate = wxPyBeginAllowThreads();
11959 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);
11960
11961 wxPyEndAllowThreads(__tstate);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 }
11964 {
11965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11966 }
11967 {
11968 if (temp4)
11969 delete arg4;
11970 }
11971 {
11972 if (temp7) delete arg7;
11973 }
11974 {
11975 if (temp11)
11976 delete arg11;
11977 }
11978 return resultobj;
11979 fail:
11980 {
11981 if (temp4)
11982 delete arg4;
11983 }
11984 {
11985 if (temp7) delete arg7;
11986 }
11987 {
11988 if (temp11)
11989 delete arg11;
11990 }
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11998 int arg2 ;
11999 PyObject * obj0 = 0 ;
12000 PyObject * obj1 = 0 ;
12001 char *kwnames[] = {
12002 (char *) "self",(char *) "n", NULL
12003 };
12004
12005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12008 arg2 = (int) SWIG_AsInt(obj1);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 (arg1)->SetSelection(arg2);
12013
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 Py_INCREF(Py_None); resultobj = Py_None;
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12025 PyObject *resultobj;
12026 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12027 int result;
12028 PyObject * obj0 = 0 ;
12029 char *kwnames[] = {
12030 (char *) "self", NULL
12031 };
12032
12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 resultobj = SWIG_FromInt((int)result);
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12053 wxString result;
12054 PyObject * obj0 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 {
12070 #if wxUSE_UNICODE
12071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12072 #else
12073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12074 #endif
12075 }
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12085 wxString *arg2 = 0 ;
12086 bool result;
12087 bool temp2 = False ;
12088 PyObject * obj0 = 0 ;
12089 PyObject * obj1 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self",(char *) "s", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12097 {
12098 arg2 = wxString_in_helper(obj1);
12099 if (arg2 == NULL) SWIG_fail;
12100 temp2 = True;
12101 }
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 {
12110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12111 }
12112 {
12113 if (temp2)
12114 delete arg2;
12115 }
12116 return resultobj;
12117 fail:
12118 {
12119 if (temp2)
12120 delete arg2;
12121 }
12122 return NULL;
12123 }
12124
12125
12126 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12129 int result;
12130 PyObject * obj0 = 0 ;
12131 char *kwnames[] = {
12132 (char *) "self", NULL
12133 };
12134
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12138 {
12139 PyThreadState* __tstate = wxPyBeginAllowThreads();
12140 result = (int)((wxRadioBox const *)arg1)->GetCount();
12141
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 resultobj = SWIG_FromInt((int)result);
12146 return resultobj;
12147 fail:
12148 return NULL;
12149 }
12150
12151
12152 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj;
12154 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12155 wxString *arg2 = 0 ;
12156 int result;
12157 bool temp2 = False ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self",(char *) "s", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12167 {
12168 arg2 = wxString_in_helper(obj1);
12169 if (arg2 == NULL) SWIG_fail;
12170 temp2 = True;
12171 }
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 resultobj = SWIG_FromInt((int)result);
12180 {
12181 if (temp2)
12182 delete arg2;
12183 }
12184 return resultobj;
12185 fail:
12186 {
12187 if (temp2)
12188 delete arg2;
12189 }
12190 return NULL;
12191 }
12192
12193
12194 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj;
12196 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12197 int arg2 ;
12198 wxString result;
12199 PyObject * obj0 = 0 ;
12200 PyObject * obj1 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self",(char *) "n", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12208 arg2 = (int) SWIG_AsInt(obj1);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 {
12218 #if wxUSE_UNICODE
12219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12220 #else
12221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12222 #endif
12223 }
12224 return resultobj;
12225 fail:
12226 return NULL;
12227 }
12228
12229
12230 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12231 PyObject *resultobj;
12232 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12233 int arg2 ;
12234 wxString *arg3 = 0 ;
12235 bool temp3 = False ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 PyObject * obj2 = 0 ;
12239 char *kwnames[] = {
12240 (char *) "self",(char *) "n",(char *) "label", NULL
12241 };
12242
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12246 arg2 = (int) SWIG_AsInt(obj1);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 {
12249 arg3 = wxString_in_helper(obj2);
12250 if (arg3 == NULL) SWIG_fail;
12251 temp3 = True;
12252 }
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 (arg1)->SetString(arg2,(wxString const &)*arg3);
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 Py_INCREF(Py_None); resultobj = Py_None;
12261 {
12262 if (temp3)
12263 delete arg3;
12264 }
12265 return resultobj;
12266 fail:
12267 {
12268 if (temp3)
12269 delete arg3;
12270 }
12271 return NULL;
12272 }
12273
12274
12275 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12278 int arg2 ;
12279 bool arg3 = (bool) True ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 PyObject * obj2 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self",(char *) "n",(char *) "enable", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12290 arg2 = (int) SWIG_AsInt(obj1);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 if (obj2) {
12293 arg3 = (bool) SWIG_AsBool(obj2);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 (arg1)->Enable(arg2,arg3);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 Py_INCREF(Py_None); resultobj = Py_None;
12304 return resultobj;
12305 fail:
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12313 int arg2 ;
12314 bool arg3 = (bool) True ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 PyObject * obj2 = 0 ;
12318 char *kwnames[] = {
12319 (char *) "self",(char *) "n",(char *) "show", NULL
12320 };
12321
12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12325 arg2 = (int) SWIG_AsInt(obj1);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 if (obj2) {
12328 arg3 = (bool) SWIG_AsBool(obj2);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 {
12332 PyThreadState* __tstate = wxPyBeginAllowThreads();
12333 (arg1)->Show(arg2,arg3);
12334
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 }
12338 Py_INCREF(Py_None); resultobj = Py_None;
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12348 int result;
12349 PyObject * obj0 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 resultobj = SWIG_FromInt((int)result);
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12374 int result;
12375 PyObject * obj0 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 resultobj = SWIG_FromInt((int)result);
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj;
12399 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12400 int arg2 ;
12401 int arg3 ;
12402 long arg4 ;
12403 int result;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 PyObject * obj2 = 0 ;
12407 PyObject * obj3 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12415 arg2 = (int) SWIG_AsInt(obj1);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 arg3 = (wxDirection) SWIG_AsInt(obj2);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 arg4 = (long) SWIG_AsLong(obj3);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_FromInt((int)result);
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj;
12437 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12438 wxVisualAttributes result;
12439 PyObject * obj0 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "variant", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12445 if (obj0) {
12446 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 {
12450 if (!wxPyCheckForApp()) SWIG_fail;
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 {
12458 wxVisualAttributes * resultptr;
12459 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12461 }
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12469 PyObject *obj;
12470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12471 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12472 Py_INCREF(obj);
12473 return Py_BuildValue((char *)"");
12474 }
12475 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxWindow *arg1 = (wxWindow *) 0 ;
12478 int arg2 = (int) -1 ;
12479 wxString const &arg3_defvalue = wxPyEmptyString ;
12480 wxString *arg3 = (wxString *) &arg3_defvalue ;
12481 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12482 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12483 wxSize const &arg5_defvalue = wxDefaultSize ;
12484 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12485 long arg6 = (long) 0 ;
12486 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12487 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12488 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12489 wxString *arg8 = (wxString *) &arg8_defvalue ;
12490 wxRadioButton *result;
12491 bool temp3 = False ;
12492 wxPoint temp4 ;
12493 wxSize temp5 ;
12494 bool temp8 = False ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 PyObject * obj2 = 0 ;
12498 PyObject * obj3 = 0 ;
12499 PyObject * obj4 = 0 ;
12500 PyObject * obj5 = 0 ;
12501 PyObject * obj6 = 0 ;
12502 PyObject * obj7 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12510 if (obj1) {
12511 arg2 = (int) SWIG_AsInt(obj1);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 if (obj2) {
12515 {
12516 arg3 = wxString_in_helper(obj2);
12517 if (arg3 == NULL) SWIG_fail;
12518 temp3 = True;
12519 }
12520 }
12521 if (obj3) {
12522 {
12523 arg4 = &temp4;
12524 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12525 }
12526 }
12527 if (obj4) {
12528 {
12529 arg5 = &temp5;
12530 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12531 }
12532 }
12533 if (obj5) {
12534 arg6 = (long) SWIG_AsLong(obj5);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 if (obj6) {
12538 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12539 SWIG_POINTER_EXCEPTION | 0)) == -1)
12540 SWIG_fail;
12541 if (arg7 == NULL) {
12542 PyErr_SetString(PyExc_TypeError,"null reference");
12543 SWIG_fail;
12544 }
12545 }
12546 if (obj7) {
12547 {
12548 arg8 = wxString_in_helper(obj7);
12549 if (arg8 == NULL) SWIG_fail;
12550 temp8 = True;
12551 }
12552 }
12553 {
12554 if (!wxPyCheckForApp()) SWIG_fail;
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12562 {
12563 if (temp3)
12564 delete arg3;
12565 }
12566 {
12567 if (temp8)
12568 delete arg8;
12569 }
12570 return resultobj;
12571 fail:
12572 {
12573 if (temp3)
12574 delete arg3;
12575 }
12576 {
12577 if (temp8)
12578 delete arg8;
12579 }
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxRadioButton *result;
12587 char *kwnames[] = {
12588 NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12592 {
12593 if (!wxPyCheckForApp()) SWIG_fail;
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 result = (wxRadioButton *)new wxRadioButton();
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12610 wxWindow *arg2 = (wxWindow *) 0 ;
12611 int arg3 = (int) -1 ;
12612 wxString const &arg4_defvalue = wxPyEmptyString ;
12613 wxString *arg4 = (wxString *) &arg4_defvalue ;
12614 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12615 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12616 wxSize const &arg6_defvalue = wxDefaultSize ;
12617 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12618 long arg7 = (long) 0 ;
12619 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12620 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12621 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12622 wxString *arg9 = (wxString *) &arg9_defvalue ;
12623 bool result;
12624 bool temp4 = False ;
12625 wxPoint temp5 ;
12626 wxSize temp6 ;
12627 bool temp9 = False ;
12628 PyObject * obj0 = 0 ;
12629 PyObject * obj1 = 0 ;
12630 PyObject * obj2 = 0 ;
12631 PyObject * obj3 = 0 ;
12632 PyObject * obj4 = 0 ;
12633 PyObject * obj5 = 0 ;
12634 PyObject * obj6 = 0 ;
12635 PyObject * obj7 = 0 ;
12636 PyObject * obj8 = 0 ;
12637 char *kwnames[] = {
12638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12639 };
12640
12641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12646 if (obj2) {
12647 arg3 = (int) SWIG_AsInt(obj2);
12648 if (PyErr_Occurred()) SWIG_fail;
12649 }
12650 if (obj3) {
12651 {
12652 arg4 = wxString_in_helper(obj3);
12653 if (arg4 == NULL) SWIG_fail;
12654 temp4 = True;
12655 }
12656 }
12657 if (obj4) {
12658 {
12659 arg5 = &temp5;
12660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12661 }
12662 }
12663 if (obj5) {
12664 {
12665 arg6 = &temp6;
12666 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12667 }
12668 }
12669 if (obj6) {
12670 arg7 = (long) SWIG_AsLong(obj6);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 if (obj7) {
12674 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12675 SWIG_POINTER_EXCEPTION | 0)) == -1)
12676 SWIG_fail;
12677 if (arg8 == NULL) {
12678 PyErr_SetString(PyExc_TypeError,"null reference");
12679 SWIG_fail;
12680 }
12681 }
12682 if (obj8) {
12683 {
12684 arg9 = wxString_in_helper(obj8);
12685 if (arg9 == NULL) SWIG_fail;
12686 temp9 = True;
12687 }
12688 }
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 {
12697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12698 }
12699 {
12700 if (temp4)
12701 delete arg4;
12702 }
12703 {
12704 if (temp9)
12705 delete arg9;
12706 }
12707 return resultobj;
12708 fail:
12709 {
12710 if (temp4)
12711 delete arg4;
12712 }
12713 {
12714 if (temp9)
12715 delete arg9;
12716 }
12717 return NULL;
12718 }
12719
12720
12721 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12724 bool result;
12725 PyObject * obj0 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (bool)(arg1)->GetValue();
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 {
12741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12742 }
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj;
12751 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12752 bool arg2 ;
12753 PyObject * obj0 = 0 ;
12754 PyObject * obj1 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self",(char *) "value", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12762 arg2 = (bool) SWIG_AsBool(obj1);
12763 if (PyErr_Occurred()) SWIG_fail;
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 (arg1)->SetValue(arg2);
12767
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 Py_INCREF(Py_None); resultobj = Py_None;
12772 return resultobj;
12773 fail:
12774 return NULL;
12775 }
12776
12777
12778 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12779 PyObject *resultobj;
12780 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12781 wxVisualAttributes result;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "variant", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12788 if (obj0) {
12789 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 if (!wxPyCheckForApp()) SWIG_fail;
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 {
12801 wxVisualAttributes * resultptr;
12802 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12804 }
12805 return resultobj;
12806 fail:
12807 return NULL;
12808 }
12809
12810
12811 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12812 PyObject *obj;
12813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12814 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12815 Py_INCREF(obj);
12816 return Py_BuildValue((char *)"");
12817 }
12818 static int _wrap_SliderNameStr_set(PyObject *_val) {
12819 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12820 return 1;
12821 }
12822
12823
12824 static PyObject *_wrap_SliderNameStr_get() {
12825 PyObject *pyobj;
12826
12827 {
12828 #if wxUSE_UNICODE
12829 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12830 #else
12831 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12832 #endif
12833 }
12834 return pyobj;
12835 }
12836
12837
12838 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxWindow *arg1 = (wxWindow *) 0 ;
12841 int arg2 = (int) -1 ;
12842 int arg3 = (int) 0 ;
12843 int arg4 = (int) 0 ;
12844 int arg5 = (int) 100 ;
12845 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12846 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12847 wxSize const &arg7_defvalue = wxDefaultSize ;
12848 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12849 long arg8 = (long) wxSL_HORIZONTAL ;
12850 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12851 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12852 wxString const &arg10_defvalue = wxPySliderNameStr ;
12853 wxString *arg10 = (wxString *) &arg10_defvalue ;
12854 wxSlider *result;
12855 wxPoint temp6 ;
12856 wxSize temp7 ;
12857 bool temp10 = False ;
12858 PyObject * obj0 = 0 ;
12859 PyObject * obj1 = 0 ;
12860 PyObject * obj2 = 0 ;
12861 PyObject * obj3 = 0 ;
12862 PyObject * obj4 = 0 ;
12863 PyObject * obj5 = 0 ;
12864 PyObject * obj6 = 0 ;
12865 PyObject * obj7 = 0 ;
12866 PyObject * obj8 = 0 ;
12867 PyObject * obj9 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12875 if (obj1) {
12876 arg2 = (int) SWIG_AsInt(obj1);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 if (obj2) {
12880 arg3 = (int) SWIG_AsInt(obj2);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 if (obj3) {
12884 arg4 = (int) SWIG_AsInt(obj3);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 if (obj4) {
12888 arg5 = (int) SWIG_AsInt(obj4);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 if (obj5) {
12892 {
12893 arg6 = &temp6;
12894 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12895 }
12896 }
12897 if (obj6) {
12898 {
12899 arg7 = &temp7;
12900 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12901 }
12902 }
12903 if (obj7) {
12904 arg8 = (long) SWIG_AsLong(obj7);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 if (obj8) {
12908 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12909 SWIG_POINTER_EXCEPTION | 0)) == -1)
12910 SWIG_fail;
12911 if (arg9 == NULL) {
12912 PyErr_SetString(PyExc_TypeError,"null reference");
12913 SWIG_fail;
12914 }
12915 }
12916 if (obj9) {
12917 {
12918 arg10 = wxString_in_helper(obj9);
12919 if (arg10 == NULL) SWIG_fail;
12920 temp10 = True;
12921 }
12922 }
12923 {
12924 if (!wxPyCheckForApp()) SWIG_fail;
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12932 {
12933 if (temp10)
12934 delete arg10;
12935 }
12936 return resultobj;
12937 fail:
12938 {
12939 if (temp10)
12940 delete arg10;
12941 }
12942 return NULL;
12943 }
12944
12945
12946 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12947 PyObject *resultobj;
12948 wxSlider *result;
12949 char *kwnames[] = {
12950 NULL
12951 };
12952
12953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12954 {
12955 if (!wxPyCheckForApp()) SWIG_fail;
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxSlider *)new wxSlider();
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxSlider *arg1 = (wxSlider *) 0 ;
12972 wxWindow *arg2 = (wxWindow *) 0 ;
12973 int arg3 = (int) -1 ;
12974 int arg4 = (int) 0 ;
12975 int arg5 = (int) 0 ;
12976 int arg6 = (int) 100 ;
12977 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12978 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12979 wxSize const &arg8_defvalue = wxDefaultSize ;
12980 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12981 long arg9 = (long) wxSL_HORIZONTAL ;
12982 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12983 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12984 wxString const &arg11_defvalue = wxPySliderNameStr ;
12985 wxString *arg11 = (wxString *) &arg11_defvalue ;
12986 bool result;
12987 wxPoint temp7 ;
12988 wxSize temp8 ;
12989 bool temp11 = False ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 PyObject * obj2 = 0 ;
12993 PyObject * obj3 = 0 ;
12994 PyObject * obj4 = 0 ;
12995 PyObject * obj5 = 0 ;
12996 PyObject * obj6 = 0 ;
12997 PyObject * obj7 = 0 ;
12998 PyObject * obj8 = 0 ;
12999 PyObject * obj9 = 0 ;
13000 PyObject * obj10 = 0 ;
13001 char *kwnames[] = {
13002 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13003 };
13004
13005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13010 if (obj2) {
13011 arg3 = (int) SWIG_AsInt(obj2);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 if (obj3) {
13015 arg4 = (int) SWIG_AsInt(obj3);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 if (obj4) {
13019 arg5 = (int) SWIG_AsInt(obj4);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 if (obj5) {
13023 arg6 = (int) SWIG_AsInt(obj5);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 if (obj6) {
13027 {
13028 arg7 = &temp7;
13029 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13030 }
13031 }
13032 if (obj7) {
13033 {
13034 arg8 = &temp8;
13035 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13036 }
13037 }
13038 if (obj8) {
13039 arg9 = (long) SWIG_AsLong(obj8);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 if (obj9) {
13043 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13044 SWIG_POINTER_EXCEPTION | 0)) == -1)
13045 SWIG_fail;
13046 if (arg10 == NULL) {
13047 PyErr_SetString(PyExc_TypeError,"null reference");
13048 SWIG_fail;
13049 }
13050 }
13051 if (obj10) {
13052 {
13053 arg11 = wxString_in_helper(obj10);
13054 if (arg11 == NULL) SWIG_fail;
13055 temp11 = True;
13056 }
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067 }
13068 {
13069 if (temp11)
13070 delete arg11;
13071 }
13072 return resultobj;
13073 fail:
13074 {
13075 if (temp11)
13076 delete arg11;
13077 }
13078 return NULL;
13079 }
13080
13081
13082 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 wxSlider *arg1 = (wxSlider *) 0 ;
13085 int result;
13086 PyObject * obj0 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (int)((wxSlider const *)arg1)->GetValue();
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 resultobj = SWIG_FromInt((int)result);
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxSlider *arg1 = (wxSlider *) 0 ;
13111 int arg2 ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self",(char *) "value", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13121 arg2 = (int) SWIG_AsInt(obj1);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 (arg1)->SetValue(arg2);
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 Py_INCREF(Py_None); resultobj = Py_None;
13131 return resultobj;
13132 fail:
13133 return NULL;
13134 }
13135
13136
13137 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxSlider *arg1 = (wxSlider *) 0 ;
13140 int arg2 ;
13141 int arg3 ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13152 arg2 = (int) SWIG_AsInt(obj1);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 arg3 = (int) SWIG_AsInt(obj2);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 (arg1)->SetRange(arg2,arg3);
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 Py_INCREF(Py_None); resultobj = Py_None;
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxSlider *arg1 = (wxSlider *) 0 ;
13173 int result;
13174 PyObject * obj0 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 result = (int)((wxSlider const *)arg1)->GetMin();
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 resultobj = SWIG_FromInt((int)result);
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxSlider *arg1 = (wxSlider *) 0 ;
13199 int result;
13200 PyObject * obj0 = 0 ;
13201 char *kwnames[] = {
13202 (char *) "self", NULL
13203 };
13204
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (int)((wxSlider const *)arg1)->GetMax();
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 resultobj = SWIG_FromInt((int)result);
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxSlider *arg1 = (wxSlider *) 0 ;
13225 int arg2 ;
13226 PyObject * obj0 = 0 ;
13227 PyObject * obj1 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "minValue", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13235 arg2 = (int) SWIG_AsInt(obj1);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 (arg1)->SetMin(arg2);
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 Py_INCREF(Py_None); resultobj = Py_None;
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxSlider *arg1 = (wxSlider *) 0 ;
13254 int arg2 ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "maxValue", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13264 arg2 = (int) SWIG_AsInt(obj1);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->SetMax(arg2);
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 Py_INCREF(Py_None); resultobj = Py_None;
13274 return resultobj;
13275 fail:
13276 return NULL;
13277 }
13278
13279
13280 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxSlider *arg1 = (wxSlider *) 0 ;
13283 int arg2 ;
13284 PyObject * obj0 = 0 ;
13285 PyObject * obj1 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "lineSize", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13293 arg2 = (int) SWIG_AsInt(obj1);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 (arg1)->SetLineSize(arg2);
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 Py_INCREF(Py_None); resultobj = Py_None;
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxSlider *arg1 = (wxSlider *) 0 ;
13312 int arg2 ;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "pageSize", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13322 arg2 = (int) SWIG_AsInt(obj1);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->SetPageSize(arg2);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 Py_INCREF(Py_None); resultobj = Py_None;
13332 return resultobj;
13333 fail:
13334 return NULL;
13335 }
13336
13337
13338 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxSlider *arg1 = (wxSlider *) 0 ;
13341 int result;
13342 PyObject * obj0 = 0 ;
13343 char *kwnames[] = {
13344 (char *) "self", NULL
13345 };
13346
13347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13350 {
13351 PyThreadState* __tstate = wxPyBeginAllowThreads();
13352 result = (int)((wxSlider const *)arg1)->GetLineSize();
13353
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 resultobj = SWIG_FromInt((int)result);
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 static PyObject *_wrap_Slider_GetPageSize(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_GetPageSize",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)->GetPageSize();
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_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxSlider *arg1 = (wxSlider *) 0 ;
13393 int arg2 ;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj1 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self",(char *) "lenPixels", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13403 arg2 = (int) SWIG_AsInt(obj1);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->SetThumbLength(arg2);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 Py_INCREF(Py_None); resultobj = Py_None;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxSlider *arg1 = (wxSlider *) 0 ;
13422 int result;
13423 PyObject * obj0 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = SWIG_FromInt((int)result);
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxSlider *arg1 = (wxSlider *) 0 ;
13448 int arg2 ;
13449 int arg3 = (int) 1 ;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 PyObject * obj2 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "n",(char *) "pos", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13460 arg2 = (int) SWIG_AsInt(obj1);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 if (obj2) {
13463 arg3 = (int) SWIG_AsInt(obj2);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 (arg1)->SetTickFreq(arg2,arg3);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 Py_INCREF(Py_None); resultobj = Py_None;
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxSlider *arg1 = (wxSlider *) 0 ;
13483 int result;
13484 PyObject * obj0 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 resultobj = SWIG_FromInt((int)result);
13500 return resultobj;
13501 fail:
13502 return NULL;
13503 }
13504
13505
13506 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj;
13508 wxSlider *arg1 = (wxSlider *) 0 ;
13509 PyObject * obj0 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 (arg1)->ClearTicks();
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 Py_INCREF(Py_None); resultobj = Py_None;
13525 return resultobj;
13526 fail:
13527 return NULL;
13528 }
13529
13530
13531 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj;
13533 wxSlider *arg1 = (wxSlider *) 0 ;
13534 int arg2 ;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "tickPos", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13544 arg2 = (int) SWIG_AsInt(obj1);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 (arg1)->SetTick(arg2);
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 Py_INCREF(Py_None); resultobj = Py_None;
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj;
13562 wxSlider *arg1 = (wxSlider *) 0 ;
13563 PyObject * obj0 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->ClearSel();
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 Py_INCREF(Py_None); resultobj = Py_None;
13579 return resultobj;
13580 fail:
13581 return NULL;
13582 }
13583
13584
13585 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13586 PyObject *resultobj;
13587 wxSlider *arg1 = (wxSlider *) 0 ;
13588 int result;
13589 PyObject * obj0 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 resultobj = SWIG_FromInt((int)result);
13605 return resultobj;
13606 fail:
13607 return NULL;
13608 }
13609
13610
13611 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxSlider *arg1 = (wxSlider *) 0 ;
13614 int result;
13615 PyObject * obj0 = 0 ;
13616 char *kwnames[] = {
13617 (char *) "self", NULL
13618 };
13619
13620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 result = (int)((wxSlider const *)arg1)->GetSelStart();
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 resultobj = SWIG_FromInt((int)result);
13631 return resultobj;
13632 fail:
13633 return NULL;
13634 }
13635
13636
13637 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13638 PyObject *resultobj;
13639 wxSlider *arg1 = (wxSlider *) 0 ;
13640 int arg2 ;
13641 int arg3 ;
13642 PyObject * obj0 = 0 ;
13643 PyObject * obj1 = 0 ;
13644 PyObject * obj2 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "min",(char *) "max", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13652 arg2 = (int) SWIG_AsInt(obj1);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 arg3 = (int) SWIG_AsInt(obj2);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 {
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 (arg1)->SetSelection(arg2,arg3);
13659
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 Py_INCREF(Py_None); resultobj = Py_None;
13664 return resultobj;
13665 fail:
13666 return NULL;
13667 }
13668
13669
13670 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13671 PyObject *resultobj;
13672 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13673 wxVisualAttributes result;
13674 PyObject * obj0 = 0 ;
13675 char *kwnames[] = {
13676 (char *) "variant", NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13680 if (obj0) {
13681 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 {
13685 if (!wxPyCheckForApp()) SWIG_fail;
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 {
13693 wxVisualAttributes * resultptr;
13694 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13696 }
13697 return resultobj;
13698 fail:
13699 return NULL;
13700 }
13701
13702
13703 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13704 PyObject *obj;
13705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13706 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13707 Py_INCREF(obj);
13708 return Py_BuildValue((char *)"");
13709 }
13710 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13711 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13712 return 1;
13713 }
13714
13715
13716 static PyObject *_wrap_ToggleButtonNameStr_get() {
13717 PyObject *pyobj;
13718
13719 {
13720 #if wxUSE_UNICODE
13721 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13722 #else
13723 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13724 #endif
13725 }
13726 return pyobj;
13727 }
13728
13729
13730 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13731 PyObject *resultobj;
13732 wxWindow *arg1 = (wxWindow *) 0 ;
13733 int arg2 = (int) -1 ;
13734 wxString const &arg3_defvalue = wxPyEmptyString ;
13735 wxString *arg3 = (wxString *) &arg3_defvalue ;
13736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13738 wxSize const &arg5_defvalue = wxDefaultSize ;
13739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13740 long arg6 = (long) 0 ;
13741 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13742 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13743 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13744 wxString *arg8 = (wxString *) &arg8_defvalue ;
13745 wxToggleButton *result;
13746 bool temp3 = False ;
13747 wxPoint temp4 ;
13748 wxSize temp5 ;
13749 bool temp8 = False ;
13750 PyObject * obj0 = 0 ;
13751 PyObject * obj1 = 0 ;
13752 PyObject * obj2 = 0 ;
13753 PyObject * obj3 = 0 ;
13754 PyObject * obj4 = 0 ;
13755 PyObject * obj5 = 0 ;
13756 PyObject * obj6 = 0 ;
13757 PyObject * obj7 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13765 if (obj1) {
13766 arg2 = (int) SWIG_AsInt(obj1);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 if (obj2) {
13770 {
13771 arg3 = wxString_in_helper(obj2);
13772 if (arg3 == NULL) SWIG_fail;
13773 temp3 = True;
13774 }
13775 }
13776 if (obj3) {
13777 {
13778 arg4 = &temp4;
13779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13780 }
13781 }
13782 if (obj4) {
13783 {
13784 arg5 = &temp5;
13785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13786 }
13787 }
13788 if (obj5) {
13789 arg6 = (long) SWIG_AsLong(obj5);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 if (obj6) {
13793 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13794 SWIG_POINTER_EXCEPTION | 0)) == -1)
13795 SWIG_fail;
13796 if (arg7 == NULL) {
13797 PyErr_SetString(PyExc_TypeError,"null reference");
13798 SWIG_fail;
13799 }
13800 }
13801 if (obj7) {
13802 {
13803 arg8 = wxString_in_helper(obj7);
13804 if (arg8 == NULL) SWIG_fail;
13805 temp8 = True;
13806 }
13807 }
13808 {
13809 if (!wxPyCheckForApp()) SWIG_fail;
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13817 {
13818 if (temp3)
13819 delete arg3;
13820 }
13821 {
13822 if (temp8)
13823 delete arg8;
13824 }
13825 return resultobj;
13826 fail:
13827 {
13828 if (temp3)
13829 delete arg3;
13830 }
13831 {
13832 if (temp8)
13833 delete arg8;
13834 }
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxToggleButton *result;
13842 char *kwnames[] = {
13843 NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13847 {
13848 if (!wxPyCheckForApp()) SWIG_fail;
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 result = (wxToggleButton *)new wxToggleButton();
13851
13852 wxPyEndAllowThreads(__tstate);
13853 if (PyErr_Occurred()) SWIG_fail;
13854 }
13855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13856 return resultobj;
13857 fail:
13858 return NULL;
13859 }
13860
13861
13862 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13863 PyObject *resultobj;
13864 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13865 wxWindow *arg2 = (wxWindow *) 0 ;
13866 int arg3 = (int) -1 ;
13867 wxString const &arg4_defvalue = wxPyEmptyString ;
13868 wxString *arg4 = (wxString *) &arg4_defvalue ;
13869 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13870 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13871 wxSize const &arg6_defvalue = wxDefaultSize ;
13872 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13873 long arg7 = (long) 0 ;
13874 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13875 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13876 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13877 wxString *arg9 = (wxString *) &arg9_defvalue ;
13878 bool result;
13879 bool temp4 = False ;
13880 wxPoint temp5 ;
13881 wxSize temp6 ;
13882 bool temp9 = False ;
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 PyObject * obj2 = 0 ;
13886 PyObject * obj3 = 0 ;
13887 PyObject * obj4 = 0 ;
13888 PyObject * obj5 = 0 ;
13889 PyObject * obj6 = 0 ;
13890 PyObject * obj7 = 0 ;
13891 PyObject * obj8 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13901 if (obj2) {
13902 arg3 = (int) SWIG_AsInt(obj2);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 if (obj3) {
13906 {
13907 arg4 = wxString_in_helper(obj3);
13908 if (arg4 == NULL) SWIG_fail;
13909 temp4 = True;
13910 }
13911 }
13912 if (obj4) {
13913 {
13914 arg5 = &temp5;
13915 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13916 }
13917 }
13918 if (obj5) {
13919 {
13920 arg6 = &temp6;
13921 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13922 }
13923 }
13924 if (obj6) {
13925 arg7 = (long) SWIG_AsLong(obj6);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 if (obj7) {
13929 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13930 SWIG_POINTER_EXCEPTION | 0)) == -1)
13931 SWIG_fail;
13932 if (arg8 == NULL) {
13933 PyErr_SetString(PyExc_TypeError,"null reference");
13934 SWIG_fail;
13935 }
13936 }
13937 if (obj8) {
13938 {
13939 arg9 = wxString_in_helper(obj8);
13940 if (arg9 == NULL) SWIG_fail;
13941 temp9 = True;
13942 }
13943 }
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13947
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 {
13952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13953 }
13954 {
13955 if (temp4)
13956 delete arg4;
13957 }
13958 {
13959 if (temp9)
13960 delete arg9;
13961 }
13962 return resultobj;
13963 fail:
13964 {
13965 if (temp4)
13966 delete arg4;
13967 }
13968 {
13969 if (temp9)
13970 delete arg9;
13971 }
13972 return NULL;
13973 }
13974
13975
13976 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj;
13978 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13979 bool arg2 ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self",(char *) "value", NULL
13984 };
13985
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13989 arg2 = (bool) SWIG_AsBool(obj1);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 (arg1)->SetValue(arg2);
13994
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 Py_INCREF(Py_None); resultobj = Py_None;
13999 return resultobj;
14000 fail:
14001 return NULL;
14002 }
14003
14004
14005 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14006 PyObject *resultobj;
14007 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14008 bool result;
14009 PyObject * obj0 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14020
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 {
14025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14026 }
14027 return resultobj;
14028 fail:
14029 return NULL;
14030 }
14031
14032
14033 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj;
14035 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14036 wxString *arg2 = 0 ;
14037 bool temp2 = False ;
14038 PyObject * obj0 = 0 ;
14039 PyObject * obj1 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self",(char *) "label", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14047 {
14048 arg2 = wxString_in_helper(obj1);
14049 if (arg2 == NULL) SWIG_fail;
14050 temp2 = True;
14051 }
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 (arg1)->SetLabel((wxString const &)*arg2);
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 Py_INCREF(Py_None); resultobj = Py_None;
14060 {
14061 if (temp2)
14062 delete arg2;
14063 }
14064 return resultobj;
14065 fail:
14066 {
14067 if (temp2)
14068 delete arg2;
14069 }
14070 return NULL;
14071 }
14072
14073
14074 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14077 wxVisualAttributes result;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "variant", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14084 if (obj0) {
14085 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 {
14089 if (!wxPyCheckForApp()) SWIG_fail;
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 {
14097 wxVisualAttributes * resultptr;
14098 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14100 }
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14108 PyObject *obj;
14109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14110 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14111 Py_INCREF(obj);
14112 return Py_BuildValue((char *)"");
14113 }
14114 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14115 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14116 return 1;
14117 }
14118
14119
14120 static PyObject *_wrap_NOTEBOOK_NAME_get() {
14121 PyObject *pyobj;
14122
14123 {
14124 #if wxUSE_UNICODE
14125 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14126 #else
14127 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14128 #endif
14129 }
14130 return pyobj;
14131 }
14132
14133
14134 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14137 size_t result;
14138 PyObject * obj0 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14163 size_t arg2 ;
14164 wxWindow *result;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self",(char *) "n", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14174 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (wxWindow *)(arg1)->GetPage(arg2);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 resultobj = wxPyMake_wxObject(result);
14185 }
14186 return resultobj;
14187 fail:
14188 return NULL;
14189 }
14190
14191
14192 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14193 PyObject *resultobj;
14194 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14195 int result;
14196 PyObject * obj0 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = SWIG_FromInt((int)result);
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14221 size_t arg2 ;
14222 wxString *arg3 = 0 ;
14223 bool result;
14224 bool temp3 = False ;
14225 PyObject * obj0 = 0 ;
14226 PyObject * obj1 = 0 ;
14227 PyObject * obj2 = 0 ;
14228 char *kwnames[] = {
14229 (char *) "self",(char *) "n",(char *) "strText", NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14235 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 {
14238 arg3 = wxString_in_helper(obj2);
14239 if (arg3 == NULL) SWIG_fail;
14240 temp3 = True;
14241 }
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 {
14250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14251 }
14252 {
14253 if (temp3)
14254 delete arg3;
14255 }
14256 return resultobj;
14257 fail:
14258 {
14259 if (temp3)
14260 delete arg3;
14261 }
14262 return NULL;
14263 }
14264
14265
14266 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14267 PyObject *resultobj;
14268 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14269 size_t arg2 ;
14270 wxString result;
14271 PyObject * obj0 = 0 ;
14272 PyObject * obj1 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self",(char *) "n", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14280 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 {
14290 #if wxUSE_UNICODE
14291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14292 #else
14293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14294 #endif
14295 }
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14305 wxImageList *arg2 = (wxImageList *) 0 ;
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "imageList", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 (arg1)->SetImageList(arg2);
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 Py_INCREF(Py_None); resultobj = Py_None;
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14334 wxImageList *arg2 = (wxImageList *) 0 ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 char *kwnames[] = {
14338 (char *) "self",(char *) "imageList", NULL
14339 };
14340
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14345 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 (arg1)->AssignImageList(arg2);
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 Py_INCREF(Py_None); resultobj = Py_None;
14354 return resultobj;
14355 fail:
14356 return NULL;
14357 }
14358
14359
14360 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14363 wxImageList *result;
14364 PyObject * obj0 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
14380 resultobj = wxPyMake_wxObject(result);
14381 }
14382 return resultobj;
14383 fail:
14384 return NULL;
14385 }
14386
14387
14388 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14389 PyObject *resultobj;
14390 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14391 size_t arg2 ;
14392 int result;
14393 PyObject * obj0 = 0 ;
14394 PyObject * obj1 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self",(char *) "n", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14402 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 resultobj = SWIG_FromInt((int)result);
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14421 size_t arg2 ;
14422 int arg3 ;
14423 bool result;
14424 PyObject * obj0 = 0 ;
14425 PyObject * obj1 = 0 ;
14426 PyObject * obj2 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "n",(char *) "imageId", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14434 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 arg3 = (int) SWIG_AsInt(obj2);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
14440 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14441
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 {
14446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14447 }
14448 return resultobj;
14449 fail:
14450 return NULL;
14451 }
14452
14453
14454 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj;
14456 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14457 wxSize *arg2 = 0 ;
14458 wxSize temp2 ;
14459 PyObject * obj0 = 0 ;
14460 PyObject * obj1 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self",(char *) "size", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14468 {
14469 arg2 = &temp2;
14470 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14471 }
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 (arg1)->SetPageSize((wxSize const &)*arg2);
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 Py_INCREF(Py_None); resultobj = Py_None;
14480 return resultobj;
14481 fail:
14482 return NULL;
14483 }
14484
14485
14486 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14489 wxSize *arg2 = 0 ;
14490 wxSize result;
14491 wxSize temp2 ;
14492 PyObject * obj0 = 0 ;
14493 PyObject * obj1 = 0 ;
14494 char *kwnames[] = {
14495 (char *) "self",(char *) "sizePage", NULL
14496 };
14497
14498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14501 {
14502 arg2 = &temp2;
14503 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14504 }
14505 {
14506 PyThreadState* __tstate = wxPyBeginAllowThreads();
14507 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14508
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 {
14513 wxSize * resultptr;
14514 resultptr = new wxSize((wxSize &) result);
14515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14516 }
14517 return resultobj;
14518 fail:
14519 return NULL;
14520 }
14521
14522
14523 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14526 size_t arg2 ;
14527 bool result;
14528 PyObject * obj0 = 0 ;
14529 PyObject * obj1 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "self",(char *) "n", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14537 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)(arg1)->DeletePage(arg2);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 {
14547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14548 }
14549 return resultobj;
14550 fail:
14551 return NULL;
14552 }
14553
14554
14555 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14558 size_t arg2 ;
14559 bool result;
14560 PyObject * obj0 = 0 ;
14561 PyObject * obj1 = 0 ;
14562 char *kwnames[] = {
14563 (char *) "self",(char *) "n", NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14569 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 {
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 result = (bool)(arg1)->RemovePage(arg2);
14574
14575 wxPyEndAllowThreads(__tstate);
14576 if (PyErr_Occurred()) SWIG_fail;
14577 }
14578 {
14579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14580 }
14581 return resultobj;
14582 fail:
14583 return NULL;
14584 }
14585
14586
14587 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14590 bool result;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (bool)(arg1)->DeleteAllPages();
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 {
14607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14608 }
14609 return resultobj;
14610 fail:
14611 return NULL;
14612 }
14613
14614
14615 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14616 PyObject *resultobj;
14617 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14618 wxWindow *arg2 = (wxWindow *) 0 ;
14619 wxString *arg3 = 0 ;
14620 bool arg4 = (bool) False ;
14621 int arg5 = (int) -1 ;
14622 bool result;
14623 bool temp3 = False ;
14624 PyObject * obj0 = 0 ;
14625 PyObject * obj1 = 0 ;
14626 PyObject * obj2 = 0 ;
14627 PyObject * obj3 = 0 ;
14628 PyObject * obj4 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14638 {
14639 arg3 = wxString_in_helper(obj2);
14640 if (arg3 == NULL) SWIG_fail;
14641 temp3 = True;
14642 }
14643 if (obj3) {
14644 arg4 = (bool) SWIG_AsBool(obj3);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 if (obj4) {
14648 arg5 = (int) SWIG_AsInt(obj4);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14654
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 {
14659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14660 }
14661 {
14662 if (temp3)
14663 delete arg3;
14664 }
14665 return resultobj;
14666 fail:
14667 {
14668 if (temp3)
14669 delete arg3;
14670 }
14671 return NULL;
14672 }
14673
14674
14675 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14678 size_t arg2 ;
14679 wxWindow *arg3 = (wxWindow *) 0 ;
14680 wxString *arg4 = 0 ;
14681 bool arg5 = (bool) False ;
14682 int arg6 = (int) -1 ;
14683 bool result;
14684 bool temp4 = False ;
14685 PyObject * obj0 = 0 ;
14686 PyObject * obj1 = 0 ;
14687 PyObject * obj2 = 0 ;
14688 PyObject * obj3 = 0 ;
14689 PyObject * obj4 = 0 ;
14690 PyObject * obj5 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14698 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14702 {
14703 arg4 = wxString_in_helper(obj3);
14704 if (arg4 == NULL) SWIG_fail;
14705 temp4 = True;
14706 }
14707 if (obj4) {
14708 arg5 = (bool) SWIG_AsBool(obj4);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 if (obj5) {
14712 arg6 = (int) SWIG_AsInt(obj5);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 {
14723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14724 }
14725 {
14726 if (temp4)
14727 delete arg4;
14728 }
14729 return resultobj;
14730 fail:
14731 {
14732 if (temp4)
14733 delete arg4;
14734 }
14735 return NULL;
14736 }
14737
14738
14739 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj;
14741 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14742 size_t arg2 ;
14743 int result;
14744 PyObject * obj0 = 0 ;
14745 PyObject * obj1 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self",(char *) "n", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14753 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 {
14756 PyThreadState* __tstate = wxPyBeginAllowThreads();
14757 result = (int)(arg1)->SetSelection(arg2);
14758
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = SWIG_FromInt((int)result);
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj;
14771 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14772 bool arg2 = (bool) True ;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self",(char *) "forward", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 if (obj1) {
14783 arg2 = (bool) SWIG_AsBool(obj1);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 {
14787 PyThreadState* __tstate = wxPyBeginAllowThreads();
14788 (arg1)->AdvanceSelection(arg2);
14789
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 Py_INCREF(Py_None); resultobj = Py_None;
14794 return resultobj;
14795 fail:
14796 return NULL;
14797 }
14798
14799
14800 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj;
14802 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14803 wxVisualAttributes result;
14804 PyObject * obj0 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "variant", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14810 if (obj0) {
14811 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 if (!wxPyCheckForApp()) SWIG_fail;
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 {
14823 wxVisualAttributes * resultptr;
14824 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14826 }
14827 return resultobj;
14828 fail:
14829 return NULL;
14830 }
14831
14832
14833 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14834 PyObject *obj;
14835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14836 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14837 Py_INCREF(obj);
14838 return Py_BuildValue((char *)"");
14839 }
14840 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14841 PyObject *resultobj;
14842 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14843 int arg2 = (int) 0 ;
14844 int arg3 = (int) -1 ;
14845 int arg4 = (int) -1 ;
14846 wxBookCtrlEvent *result;
14847 PyObject * obj0 = 0 ;
14848 PyObject * obj1 = 0 ;
14849 PyObject * obj2 = 0 ;
14850 PyObject * obj3 = 0 ;
14851 char *kwnames[] = {
14852 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14856 if (obj0) {
14857 arg1 = (wxEventType) SWIG_AsInt(obj0);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 if (obj1) {
14861 arg2 = (int) SWIG_AsInt(obj1);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 if (obj2) {
14865 arg3 = (int) SWIG_AsInt(obj2);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 if (obj3) {
14869 arg4 = (int) SWIG_AsInt(obj3);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14889 int result;
14890 PyObject * obj0 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "self", NULL
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_FromInt((int)result);
14906 return resultobj;
14907 fail:
14908 return NULL;
14909 }
14910
14911
14912 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj;
14914 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14915 int arg2 ;
14916 PyObject * obj0 = 0 ;
14917 PyObject * obj1 = 0 ;
14918 char *kwnames[] = {
14919 (char *) "self",(char *) "nSel", NULL
14920 };
14921
14922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14925 arg2 = (int) SWIG_AsInt(obj1);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 (arg1)->SetSelection(arg2);
14930
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
14934 Py_INCREF(Py_None); resultobj = Py_None;
14935 return resultobj;
14936 fail:
14937 return NULL;
14938 }
14939
14940
14941 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14942 PyObject *resultobj;
14943 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14944 int result;
14945 PyObject * obj0 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "self", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14953 {
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 resultobj = SWIG_FromInt((int)result);
14961 return resultobj;
14962 fail:
14963 return NULL;
14964 }
14965
14966
14967 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj;
14969 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14970 int arg2 ;
14971 PyObject * obj0 = 0 ;
14972 PyObject * obj1 = 0 ;
14973 char *kwnames[] = {
14974 (char *) "self",(char *) "nOldSel", NULL
14975 };
14976
14977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14980 arg2 = (int) SWIG_AsInt(obj1);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 (arg1)->SetOldSelection(arg2);
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 Py_INCREF(Py_None); resultobj = Py_None;
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14997 PyObject *obj;
14998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14999 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15000 Py_INCREF(obj);
15001 return Py_BuildValue((char *)"");
15002 }
15003 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj;
15005 wxWindow *arg1 = (wxWindow *) 0 ;
15006 int arg2 = (int) -1 ;
15007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15009 wxSize const &arg4_defvalue = wxDefaultSize ;
15010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15011 long arg5 = (long) 0 ;
15012 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15013 wxString *arg6 = (wxString *) &arg6_defvalue ;
15014 wxNotebook *result;
15015 wxPoint temp3 ;
15016 wxSize temp4 ;
15017 bool temp6 = False ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 PyObject * obj2 = 0 ;
15021 PyObject * obj3 = 0 ;
15022 PyObject * obj4 = 0 ;
15023 PyObject * obj5 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15031 if (obj1) {
15032 arg2 = (int) SWIG_AsInt(obj1);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 if (obj2) {
15036 {
15037 arg3 = &temp3;
15038 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15039 }
15040 }
15041 if (obj3) {
15042 {
15043 arg4 = &temp4;
15044 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15045 }
15046 }
15047 if (obj4) {
15048 arg5 = (long) SWIG_AsLong(obj4);
15049 if (PyErr_Occurred()) SWIG_fail;
15050 }
15051 if (obj5) {
15052 {
15053 arg6 = wxString_in_helper(obj5);
15054 if (arg6 == NULL) SWIG_fail;
15055 temp6 = True;
15056 }
15057 }
15058 {
15059 if (!wxPyCheckForApp()) SWIG_fail;
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067 resultobj = wxPyMake_wxObject(result);
15068 }
15069 {
15070 if (temp6)
15071 delete arg6;
15072 }
15073 return resultobj;
15074 fail:
15075 {
15076 if (temp6)
15077 delete arg6;
15078 }
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxNotebook *result;
15086 char *kwnames[] = {
15087 NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15091 {
15092 if (!wxPyCheckForApp()) SWIG_fail;
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (wxNotebook *)new wxNotebook();
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 {
15100 resultobj = wxPyMake_wxObject(result);
15101 }
15102 return resultobj;
15103 fail:
15104 return NULL;
15105 }
15106
15107
15108 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj;
15110 wxNotebook *arg1 = (wxNotebook *) 0 ;
15111 wxWindow *arg2 = (wxWindow *) 0 ;
15112 int arg3 = (int) -1 ;
15113 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15114 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15115 wxSize const &arg5_defvalue = wxDefaultSize ;
15116 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15117 long arg6 = (long) 0 ;
15118 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15119 wxString *arg7 = (wxString *) &arg7_defvalue ;
15120 bool result;
15121 wxPoint temp4 ;
15122 wxSize temp5 ;
15123 bool temp7 = False ;
15124 PyObject * obj0 = 0 ;
15125 PyObject * obj1 = 0 ;
15126 PyObject * obj2 = 0 ;
15127 PyObject * obj3 = 0 ;
15128 PyObject * obj4 = 0 ;
15129 PyObject * obj5 = 0 ;
15130 PyObject * obj6 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15140 if (obj2) {
15141 arg3 = (int) SWIG_AsInt(obj2);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 if (obj3) {
15145 {
15146 arg4 = &temp4;
15147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15148 }
15149 }
15150 if (obj4) {
15151 {
15152 arg5 = &temp5;
15153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15154 }
15155 }
15156 if (obj5) {
15157 arg6 = (long) SWIG_AsLong(obj5);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 if (obj6) {
15161 {
15162 arg7 = wxString_in_helper(obj6);
15163 if (arg7 == NULL) SWIG_fail;
15164 temp7 = True;
15165 }
15166 }
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 {
15175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15176 }
15177 {
15178 if (temp7)
15179 delete arg7;
15180 }
15181 return resultobj;
15182 fail:
15183 {
15184 if (temp7)
15185 delete arg7;
15186 }
15187 return NULL;
15188 }
15189
15190
15191 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxNotebook *arg1 = (wxNotebook *) 0 ;
15194 int result;
15195 PyObject * obj0 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_FromInt((int)result);
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 wxNotebook *arg1 = (wxNotebook *) 0 ;
15220 wxSize *arg2 = 0 ;
15221 wxSize temp2 ;
15222 PyObject * obj0 = 0 ;
15223 PyObject * obj1 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self",(char *) "padding", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15231 {
15232 arg2 = &temp2;
15233 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15234 }
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 (arg1)->SetPadding((wxSize const &)*arg2);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 Py_INCREF(Py_None); resultobj = Py_None;
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxNotebook *arg1 = (wxNotebook *) 0 ;
15252 wxSize *arg2 = 0 ;
15253 wxSize temp2 ;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self",(char *) "sz", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15263 {
15264 arg2 = &temp2;
15265 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15266 }
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 (arg1)->SetTabSize((wxSize const &)*arg2);
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 Py_INCREF(Py_None); resultobj = Py_None;
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxNotebook *arg1 = (wxNotebook *) 0 ;
15284 wxPoint *arg2 = 0 ;
15285 long *arg3 = (long *) 0 ;
15286 int result;
15287 wxPoint temp2 ;
15288 long temp3 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "self",(char *) "pt", NULL
15293 };
15294
15295 arg3 = &temp3;
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15299 {
15300 arg2 = &temp2;
15301 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15302 }
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = SWIG_FromInt((int)result);
15311 {
15312 PyObject *o = PyInt_FromLong((long) (*arg3));
15313 resultobj = t_output_helper(resultobj,o);
15314 }
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxNotebook *arg1 = (wxNotebook *) 0 ;
15324 wxSize *arg2 = 0 ;
15325 wxSize result;
15326 wxSize temp2 ;
15327 PyObject * obj0 = 0 ;
15328 PyObject * obj1 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self",(char *) "sizePage", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15336 {
15337 arg2 = &temp2;
15338 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15339 }
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 {
15348 wxSize * resultptr;
15349 resultptr = new wxSize((wxSize &) result);
15350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15351 }
15352 return resultobj;
15353 fail:
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15361 wxVisualAttributes result;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "variant", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15368 if (obj0) {
15369 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 {
15373 if (!wxPyCheckForApp()) SWIG_fail;
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 {
15381 wxVisualAttributes * resultptr;
15382 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15384 }
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15392 PyObject *obj;
15393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15394 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15395 Py_INCREF(obj);
15396 return Py_BuildValue((char *)"");
15397 }
15398 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj;
15400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15401 int arg2 = (int) 0 ;
15402 int arg3 = (int) -1 ;
15403 int arg4 = (int) -1 ;
15404 wxNotebookEvent *result;
15405 PyObject * obj0 = 0 ;
15406 PyObject * obj1 = 0 ;
15407 PyObject * obj2 = 0 ;
15408 PyObject * obj3 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15414 if (obj0) {
15415 arg1 = (wxEventType) SWIG_AsInt(obj0);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 if (obj1) {
15419 arg2 = (int) SWIG_AsInt(obj1);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 if (obj2) {
15423 arg3 = (int) SWIG_AsInt(obj2);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 if (obj3) {
15427 arg4 = (int) SWIG_AsInt(obj3);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 {
15431 PyThreadState* __tstate = wxPyBeginAllowThreads();
15432 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15433
15434 wxPyEndAllowThreads(__tstate);
15435 if (PyErr_Occurred()) SWIG_fail;
15436 }
15437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15438 return resultobj;
15439 fail:
15440 return NULL;
15441 }
15442
15443
15444 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15445 PyObject *obj;
15446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15447 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15448 Py_INCREF(obj);
15449 return Py_BuildValue((char *)"");
15450 }
15451 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxWindow *arg1 = (wxWindow *) 0 ;
15454 int arg2 = (int) -1 ;
15455 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15456 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15457 wxSize const &arg4_defvalue = wxDefaultSize ;
15458 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15459 long arg5 = (long) 0 ;
15460 wxString const &arg6_defvalue = wxPyEmptyString ;
15461 wxString *arg6 = (wxString *) &arg6_defvalue ;
15462 wxListbook *result;
15463 wxPoint temp3 ;
15464 wxSize temp4 ;
15465 bool temp6 = False ;
15466 PyObject * obj0 = 0 ;
15467 PyObject * obj1 = 0 ;
15468 PyObject * obj2 = 0 ;
15469 PyObject * obj3 = 0 ;
15470 PyObject * obj4 = 0 ;
15471 PyObject * obj5 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15479 if (obj1) {
15480 arg2 = (int) SWIG_AsInt(obj1);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 if (obj2) {
15484 {
15485 arg3 = &temp3;
15486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15487 }
15488 }
15489 if (obj3) {
15490 {
15491 arg4 = &temp4;
15492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15493 }
15494 }
15495 if (obj4) {
15496 arg5 = (long) SWIG_AsLong(obj4);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 if (obj5) {
15500 {
15501 arg6 = wxString_in_helper(obj5);
15502 if (arg6 == NULL) SWIG_fail;
15503 temp6 = True;
15504 }
15505 }
15506 {
15507 if (!wxPyCheckForApp()) SWIG_fail;
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15515 {
15516 if (temp6)
15517 delete arg6;
15518 }
15519 return resultobj;
15520 fail:
15521 {
15522 if (temp6)
15523 delete arg6;
15524 }
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxListbook *result;
15532 char *kwnames[] = {
15533 NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15537 {
15538 if (!wxPyCheckForApp()) SWIG_fail;
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 result = (wxListbook *)new wxListbook();
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15546 return resultobj;
15547 fail:
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxListbook *arg1 = (wxListbook *) 0 ;
15555 wxWindow *arg2 = (wxWindow *) 0 ;
15556 int arg3 = (int) -1 ;
15557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15559 wxSize const &arg5_defvalue = wxDefaultSize ;
15560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15561 long arg6 = (long) 0 ;
15562 wxString const &arg7_defvalue = wxPyEmptyString ;
15563 wxString *arg7 = (wxString *) &arg7_defvalue ;
15564 bool result;
15565 wxPoint temp4 ;
15566 wxSize temp5 ;
15567 bool temp7 = False ;
15568 PyObject * obj0 = 0 ;
15569 PyObject * obj1 = 0 ;
15570 PyObject * obj2 = 0 ;
15571 PyObject * obj3 = 0 ;
15572 PyObject * obj4 = 0 ;
15573 PyObject * obj5 = 0 ;
15574 PyObject * obj6 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15584 if (obj2) {
15585 arg3 = (int) SWIG_AsInt(obj2);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 if (obj3) {
15589 {
15590 arg4 = &temp4;
15591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15592 }
15593 }
15594 if (obj4) {
15595 {
15596 arg5 = &temp5;
15597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15598 }
15599 }
15600 if (obj5) {
15601 arg6 = (long) SWIG_AsLong(obj5);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 if (obj6) {
15605 {
15606 arg7 = wxString_in_helper(obj6);
15607 if (arg7 == NULL) SWIG_fail;
15608 temp7 = True;
15609 }
15610 }
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 {
15619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15620 }
15621 {
15622 if (temp7)
15623 delete arg7;
15624 }
15625 return resultobj;
15626 fail:
15627 {
15628 if (temp7)
15629 delete arg7;
15630 }
15631 return NULL;
15632 }
15633
15634
15635 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15636 PyObject *resultobj;
15637 wxListbook *arg1 = (wxListbook *) 0 ;
15638 bool result;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (bool)((wxListbook const *)arg1)->IsVertical();
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 {
15655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15656 }
15657 return resultobj;
15658 fail:
15659 return NULL;
15660 }
15661
15662
15663 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15664 PyObject *obj;
15665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15667 Py_INCREF(obj);
15668 return Py_BuildValue((char *)"");
15669 }
15670 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15673 int arg2 = (int) 0 ;
15674 int arg3 = (int) -1 ;
15675 int arg4 = (int) -1 ;
15676 wxListbookEvent *result;
15677 PyObject * obj0 = 0 ;
15678 PyObject * obj1 = 0 ;
15679 PyObject * obj2 = 0 ;
15680 PyObject * obj3 = 0 ;
15681 char *kwnames[] = {
15682 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15683 };
15684
15685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15686 if (obj0) {
15687 arg1 = (wxEventType) SWIG_AsInt(obj0);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 if (obj1) {
15691 arg2 = (int) SWIG_AsInt(obj1);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 if (obj2) {
15695 arg3 = (int) SWIG_AsInt(obj2);
15696 if (PyErr_Occurred()) SWIG_fail;
15697 }
15698 if (obj3) {
15699 arg4 = (int) SWIG_AsInt(obj3);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15710 return resultobj;
15711 fail:
15712 return NULL;
15713 }
15714
15715
15716 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15717 PyObject *obj;
15718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15719 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15720 Py_INCREF(obj);
15721 return Py_BuildValue((char *)"");
15722 }
15723 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15726 wxBookCtrlSizer *result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "nb", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15743 return resultobj;
15744 fail:
15745 return NULL;
15746 }
15747
15748
15749 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15750 PyObject *resultobj;
15751 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15752 PyObject * obj0 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 (arg1)->RecalcSizes();
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 Py_INCREF(Py_None); resultobj = Py_None;
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15777 wxSize result;
15778 PyObject * obj0 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 result = (arg1)->CalcMin();
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 {
15794 wxSize * resultptr;
15795 resultptr = new wxSize((wxSize &) result);
15796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15797 }
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15807 wxBookCtrl *result;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15816 {
15817 PyThreadState* __tstate = wxPyBeginAllowThreads();
15818 result = (wxBookCtrl *)(arg1)->GetControl();
15819
15820 wxPyEndAllowThreads(__tstate);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 }
15823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15824 return resultobj;
15825 fail:
15826 return NULL;
15827 }
15828
15829
15830 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15831 PyObject *obj;
15832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15833 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15834 Py_INCREF(obj);
15835 return Py_BuildValue((char *)"");
15836 }
15837 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15838 PyObject *resultobj;
15839 wxNotebook *arg1 = (wxNotebook *) 0 ;
15840 wxNotebookSizer *result;
15841 PyObject * obj0 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "nb", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15866 PyObject * obj0 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15874 {
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 (arg1)->RecalcSizes();
15877
15878 wxPyEndAllowThreads(__tstate);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 }
15881 Py_INCREF(Py_None); resultobj = Py_None;
15882 return resultobj;
15883 fail:
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15891 wxSize result;
15892 PyObject * obj0 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 result = (arg1)->CalcMin();
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 {
15908 wxSize * resultptr;
15909 resultptr = new wxSize((wxSize &) result);
15910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15911 }
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15921 wxNotebook *result;
15922 PyObject * obj0 = 0 ;
15923 char *kwnames[] = {
15924 (char *) "self", NULL
15925 };
15926
15927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (wxNotebook *)(arg1)->GetNotebook();
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 {
15938 resultobj = wxPyMake_wxObject(result);
15939 }
15940 return resultobj;
15941 fail:
15942 return NULL;
15943 }
15944
15945
15946 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15947 PyObject *obj;
15948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15949 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15950 Py_INCREF(obj);
15951 return Py_BuildValue((char *)"");
15952 }
15953 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15956 int result;
15957 PyObject * obj0 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 result = (int)(arg1)->GetId();
15968
15969 wxPyEndAllowThreads(__tstate);
15970 if (PyErr_Occurred()) SWIG_fail;
15971 }
15972 resultobj = SWIG_FromInt((int)result);
15973 return resultobj;
15974 fail:
15975 return NULL;
15976 }
15977
15978
15979 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15982 wxControl *result;
15983 PyObject * obj0 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 result = (wxControl *)(arg1)->GetControl();
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 {
15999 resultobj = wxPyMake_wxObject(result);
16000 }
16001 return resultobj;
16002 fail:
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16010 wxToolBarBase *result;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (wxToolBarBase *)(arg1)->GetToolBar();
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 {
16027 resultobj = wxPyMake_wxObject(result);
16028 }
16029 return resultobj;
16030 fail:
16031 return NULL;
16032 }
16033
16034
16035 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16038 int result;
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (int)(arg1)->IsButton();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = SWIG_FromInt((int)result);
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16064 int result;
16065 PyObject * obj0 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (int)(arg1)->IsControl();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_FromInt((int)result);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16090 int result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 result = (int)(arg1)->IsSeparator();
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = SWIG_FromInt((int)result);
16107 return resultobj;
16108 fail:
16109 return NULL;
16110 }
16111
16112
16113 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16116 int result;
16117 PyObject * obj0 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 result = (int)(arg1)->GetStyle();
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 resultobj = SWIG_FromInt((int)result);
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16142 int result;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = (int)(arg1)->GetKind();
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 resultobj = SWIG_FromInt((int)result);
16159 return resultobj;
16160 fail:
16161 return NULL;
16162 }
16163
16164
16165 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16168 bool result;
16169 PyObject * obj0 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 result = (bool)(arg1)->IsEnabled();
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 {
16185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16186 }
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16196 bool result;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 result = (bool)(arg1)->IsToggled();
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 {
16213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16214 }
16215 return resultobj;
16216 fail:
16217 return NULL;
16218 }
16219
16220
16221 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16222 PyObject *resultobj;
16223 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16224 bool result;
16225 PyObject * obj0 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (bool)(arg1)->CanBeToggled();
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 {
16241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16242 }
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16252 wxBitmap *result;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 {
16264 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16265 result = (wxBitmap *) &_result_ref;
16266 }
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 {
16272 wxBitmap* resultptr = new wxBitmap(*result);
16273 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16274 }
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16284 wxBitmap *result;
16285 PyObject * obj0 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 {
16296 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16297 result = (wxBitmap *) &_result_ref;
16298 }
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 {
16304 wxBitmap* resultptr = new wxBitmap(*result);
16305 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16306 }
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16316 wxBitmap result;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 result = (arg1)->GetBitmap();
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 {
16333 wxBitmap * resultptr;
16334 resultptr = new wxBitmap((wxBitmap &) result);
16335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16336 }
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16346 wxString result;
16347 PyObject * obj0 = 0 ;
16348 char *kwnames[] = {
16349 (char *) "self", NULL
16350 };
16351
16352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 result = (arg1)->GetLabel();
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 {
16363 #if wxUSE_UNICODE
16364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16365 #else
16366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16367 #endif
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16378 wxString result;
16379 PyObject * obj0 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 result = (arg1)->GetShortHelp();
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 {
16395 #if wxUSE_UNICODE
16396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16397 #else
16398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16399 #endif
16400 }
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16410 wxString result;
16411 PyObject * obj0 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (arg1)->GetLongHelp();
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 {
16427 #if wxUSE_UNICODE
16428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16429 #else
16430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16431 #endif
16432 }
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16442 bool arg2 ;
16443 bool result;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "enable", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 arg2 = (bool) SWIG_AsBool(obj1);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 result = (bool)(arg1)->Enable(arg2);
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 {
16463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16464 }
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16474 PyObject * obj0 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 (arg1)->Toggle();
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 Py_INCREF(Py_None); resultobj = Py_None;
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16499 bool arg2 ;
16500 bool result;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "toggle", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16510 arg2 = (bool) SWIG_AsBool(obj1);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 result = (bool)(arg1)->SetToggle(arg2);
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16521 }
16522 return resultobj;
16523 fail:
16524 return NULL;
16525 }
16526
16527
16528 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16531 wxString *arg2 = 0 ;
16532 bool result;
16533 bool temp2 = False ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "help", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 {
16544 arg2 = wxString_in_helper(obj1);
16545 if (arg2 == NULL) SWIG_fail;
16546 temp2 = True;
16547 }
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16557 }
16558 {
16559 if (temp2)
16560 delete arg2;
16561 }
16562 return resultobj;
16563 fail:
16564 {
16565 if (temp2)
16566 delete arg2;
16567 }
16568 return NULL;
16569 }
16570
16571
16572 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16575 wxString *arg2 = 0 ;
16576 bool result;
16577 bool temp2 = False ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self",(char *) "help", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16587 {
16588 arg2 = wxString_in_helper(obj1);
16589 if (arg2 == NULL) SWIG_fail;
16590 temp2 = True;
16591 }
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 {
16600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16601 }
16602 {
16603 if (temp2)
16604 delete arg2;
16605 }
16606 return resultobj;
16607 fail:
16608 {
16609 if (temp2)
16610 delete arg2;
16611 }
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16619 wxBitmap *arg2 = 0 ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "bmp", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16630 SWIG_POINTER_EXCEPTION | 0)) == -1)
16631 SWIG_fail;
16632 if (arg2 == NULL) {
16633 PyErr_SetString(PyExc_TypeError,"null reference");
16634 SWIG_fail;
16635 }
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 return resultobj;
16645 fail:
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16653 wxBitmap *arg2 = 0 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self",(char *) "bmp", NULL
16658 };
16659
16660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1)
16665 SWIG_fail;
16666 if (arg2 == NULL) {
16667 PyErr_SetString(PyExc_TypeError,"null reference");
16668 SWIG_fail;
16669 }
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 Py_INCREF(Py_None); resultobj = Py_None;
16678 return resultobj;
16679 fail:
16680 return NULL;
16681 }
16682
16683
16684 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16685 PyObject *resultobj;
16686 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16687 wxString *arg2 = 0 ;
16688 bool temp2 = False ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self",(char *) "label", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 {
16699 arg2 = wxString_in_helper(obj1);
16700 if (arg2 == NULL) SWIG_fail;
16701 temp2 = True;
16702 }
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 (arg1)->SetLabel((wxString const &)*arg2);
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 Py_INCREF(Py_None); resultobj = Py_None;
16711 {
16712 if (temp2)
16713 delete arg2;
16714 }
16715 return resultobj;
16716 fail:
16717 {
16718 if (temp2)
16719 delete arg2;
16720 }
16721 return NULL;
16722 }
16723
16724
16725 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16728 PyObject * obj0 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 (arg1)->Detach();
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 Py_INCREF(Py_None); resultobj = Py_None;
16744 return resultobj;
16745 fail:
16746 return NULL;
16747 }
16748
16749
16750 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16753 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16754 PyObject * obj0 = 0 ;
16755 PyObject * obj1 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self",(char *) "tbar", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 (arg1)->Attach(arg2);
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 Py_INCREF(Py_None); resultobj = Py_None;
16773 return resultobj;
16774 fail:
16775 return NULL;
16776 }
16777
16778
16779 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj;
16781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16782 PyObject *result;
16783 PyObject * obj0 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 resultobj = result;
16799 return resultobj;
16800 fail:
16801 return NULL;
16802 }
16803
16804
16805 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16808 PyObject *arg2 = (PyObject *) 0 ;
16809 PyObject * obj0 = 0 ;
16810 PyObject * obj1 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self",(char *) "clientData", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16818 arg2 = obj1;
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 wxToolBarToolBase_SetClientData(arg1,arg2);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 Py_INCREF(Py_None); resultobj = Py_None;
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16834 PyObject *obj;
16835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16837 Py_INCREF(obj);
16838 return Py_BuildValue((char *)"");
16839 }
16840 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16843 int arg2 ;
16844 wxString *arg3 = 0 ;
16845 wxBitmap *arg4 = 0 ;
16846 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16847 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16848 int arg6 = (int) wxITEM_NORMAL ;
16849 wxString const &arg7_defvalue = wxPyEmptyString ;
16850 wxString *arg7 = (wxString *) &arg7_defvalue ;
16851 wxString const &arg8_defvalue = wxPyEmptyString ;
16852 wxString *arg8 = (wxString *) &arg8_defvalue ;
16853 PyObject *arg9 = (PyObject *) NULL ;
16854 wxToolBarToolBase *result;
16855 bool temp3 = False ;
16856 bool temp7 = False ;
16857 bool temp8 = False ;
16858 PyObject * obj0 = 0 ;
16859 PyObject * obj1 = 0 ;
16860 PyObject * obj2 = 0 ;
16861 PyObject * obj3 = 0 ;
16862 PyObject * obj4 = 0 ;
16863 PyObject * obj5 = 0 ;
16864 PyObject * obj6 = 0 ;
16865 PyObject * obj7 = 0 ;
16866 PyObject * obj8 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16874 arg2 = (int) SWIG_AsInt(obj1);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 {
16877 arg3 = wxString_in_helper(obj2);
16878 if (arg3 == NULL) SWIG_fail;
16879 temp3 = True;
16880 }
16881 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16882 SWIG_POINTER_EXCEPTION | 0)) == -1)
16883 SWIG_fail;
16884 if (arg4 == NULL) {
16885 PyErr_SetString(PyExc_TypeError,"null reference");
16886 SWIG_fail;
16887 }
16888 if (obj4) {
16889 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16890 SWIG_POINTER_EXCEPTION | 0)) == -1)
16891 SWIG_fail;
16892 if (arg5 == NULL) {
16893 PyErr_SetString(PyExc_TypeError,"null reference");
16894 SWIG_fail;
16895 }
16896 }
16897 if (obj5) {
16898 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 if (obj6) {
16902 {
16903 arg7 = wxString_in_helper(obj6);
16904 if (arg7 == NULL) SWIG_fail;
16905 temp7 = True;
16906 }
16907 }
16908 if (obj7) {
16909 {
16910 arg8 = wxString_in_helper(obj7);
16911 if (arg8 == NULL) SWIG_fail;
16912 temp8 = True;
16913 }
16914 }
16915 if (obj8) {
16916 arg9 = obj8;
16917 }
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 {
16926 resultobj = wxPyMake_wxObject(result);
16927 }
16928 {
16929 if (temp3)
16930 delete arg3;
16931 }
16932 {
16933 if (temp7)
16934 delete arg7;
16935 }
16936 {
16937 if (temp8)
16938 delete arg8;
16939 }
16940 return resultobj;
16941 fail:
16942 {
16943 if (temp3)
16944 delete arg3;
16945 }
16946 {
16947 if (temp7)
16948 delete arg7;
16949 }
16950 {
16951 if (temp8)
16952 delete arg8;
16953 }
16954 return NULL;
16955 }
16956
16957
16958 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16959 PyObject *resultobj;
16960 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16961 size_t arg2 ;
16962 int arg3 ;
16963 wxString *arg4 = 0 ;
16964 wxBitmap *arg5 = 0 ;
16965 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16966 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16967 int arg7 = (int) wxITEM_NORMAL ;
16968 wxString const &arg8_defvalue = wxPyEmptyString ;
16969 wxString *arg8 = (wxString *) &arg8_defvalue ;
16970 wxString const &arg9_defvalue = wxPyEmptyString ;
16971 wxString *arg9 = (wxString *) &arg9_defvalue ;
16972 PyObject *arg10 = (PyObject *) NULL ;
16973 wxToolBarToolBase *result;
16974 bool temp4 = False ;
16975 bool temp8 = False ;
16976 bool temp9 = False ;
16977 PyObject * obj0 = 0 ;
16978 PyObject * obj1 = 0 ;
16979 PyObject * obj2 = 0 ;
16980 PyObject * obj3 = 0 ;
16981 PyObject * obj4 = 0 ;
16982 PyObject * obj5 = 0 ;
16983 PyObject * obj6 = 0 ;
16984 PyObject * obj7 = 0 ;
16985 PyObject * obj8 = 0 ;
16986 PyObject * obj9 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16994 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 arg3 = (int) SWIG_AsInt(obj2);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 {
16999 arg4 = wxString_in_helper(obj3);
17000 if (arg4 == NULL) SWIG_fail;
17001 temp4 = True;
17002 }
17003 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17004 SWIG_POINTER_EXCEPTION | 0)) == -1)
17005 SWIG_fail;
17006 if (arg5 == NULL) {
17007 PyErr_SetString(PyExc_TypeError,"null reference");
17008 SWIG_fail;
17009 }
17010 if (obj5) {
17011 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17012 SWIG_POINTER_EXCEPTION | 0)) == -1)
17013 SWIG_fail;
17014 if (arg6 == NULL) {
17015 PyErr_SetString(PyExc_TypeError,"null reference");
17016 SWIG_fail;
17017 }
17018 }
17019 if (obj6) {
17020 arg7 = (wxItemKind) SWIG_AsInt(obj6);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 if (obj7) {
17024 {
17025 arg8 = wxString_in_helper(obj7);
17026 if (arg8 == NULL) SWIG_fail;
17027 temp8 = True;
17028 }
17029 }
17030 if (obj8) {
17031 {
17032 arg9 = wxString_in_helper(obj8);
17033 if (arg9 == NULL) SWIG_fail;
17034 temp9 = True;
17035 }
17036 }
17037 if (obj9) {
17038 arg10 = obj9;
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 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);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 {
17048 resultobj = wxPyMake_wxObject(result);
17049 }
17050 {
17051 if (temp4)
17052 delete arg4;
17053 }
17054 {
17055 if (temp8)
17056 delete arg8;
17057 }
17058 {
17059 if (temp9)
17060 delete arg9;
17061 }
17062 return resultobj;
17063 fail:
17064 {
17065 if (temp4)
17066 delete arg4;
17067 }
17068 {
17069 if (temp8)
17070 delete arg8;
17071 }
17072 {
17073 if (temp9)
17074 delete arg9;
17075 }
17076 return NULL;
17077 }
17078
17079
17080 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17081 PyObject *resultobj;
17082 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17083 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17084 wxToolBarToolBase *result;
17085 PyObject * obj0 = 0 ;
17086 PyObject * obj1 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self",(char *) "tool", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 {
17104 resultobj = wxPyMake_wxObject(result);
17105 }
17106 return resultobj;
17107 fail:
17108 return NULL;
17109 }
17110
17111
17112 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17115 size_t arg2 ;
17116 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17117 wxToolBarToolBase *result;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self",(char *) "pos",(char *) "tool", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17128 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 {
17140 resultobj = wxPyMake_wxObject(result);
17141 }
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17151 wxControl *arg2 = (wxControl *) 0 ;
17152 wxToolBarToolBase *result;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 char *kwnames[] = {
17156 (char *) "self",(char *) "control", NULL
17157 };
17158
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 {
17172 resultobj = wxPyMake_wxObject(result);
17173 }
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17183 size_t arg2 ;
17184 wxControl *arg3 = (wxControl *) 0 ;
17185 wxToolBarToolBase *result;
17186 PyObject * obj0 = 0 ;
17187 PyObject * obj1 = 0 ;
17188 PyObject * obj2 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self",(char *) "pos",(char *) "control", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17196 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 {
17208 resultobj = wxPyMake_wxObject(result);
17209 }
17210 return resultobj;
17211 fail:
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17219 int arg2 ;
17220 wxControl *result;
17221 PyObject * obj0 = 0 ;
17222 PyObject * obj1 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self",(char *) "id", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17230 arg2 = (int) SWIG_AsInt(obj1);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 {
17233 PyThreadState* __tstate = wxPyBeginAllowThreads();
17234 result = (wxControl *)(arg1)->FindControl(arg2);
17235
17236 wxPyEndAllowThreads(__tstate);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 }
17239 {
17240 resultobj = wxPyMake_wxObject(result);
17241 }
17242 return resultobj;
17243 fail:
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17251 wxToolBarToolBase *result;
17252 PyObject * obj0 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17263
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268 resultobj = wxPyMake_wxObject(result);
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17279 size_t arg2 ;
17280 wxToolBarToolBase *result;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self",(char *) "pos", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17290 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 {
17300 resultobj = wxPyMake_wxObject(result);
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17311 int arg2 ;
17312 wxToolBarToolBase *result;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "self",(char *) "id", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17322 arg2 = (int) SWIG_AsInt(obj1);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 {
17332 resultobj = wxPyMake_wxObject(result);
17333 }
17334 return resultobj;
17335 fail:
17336 return NULL;
17337 }
17338
17339
17340 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17341 PyObject *resultobj;
17342 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17343 size_t arg2 ;
17344 bool result;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "pos", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17354 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 {
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 result = (bool)(arg1)->DeleteToolByPos(arg2);
17359
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 {
17364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17365 }
17366 return resultobj;
17367 fail:
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17375 int arg2 ;
17376 bool result;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "id", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 arg2 = (int) SWIG_AsInt(obj1);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 result = (bool)(arg1)->DeleteTool(arg2);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 {
17396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17397 }
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17405 PyObject *resultobj;
17406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17407 PyObject * obj0 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->ClearTools();
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 Py_INCREF(Py_None); resultobj = Py_None;
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17432 bool result;
17433 PyObject * obj0 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (bool)(arg1)->Realize();
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 {
17449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17450 }
17451 return resultobj;
17452 fail:
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17460 int arg2 ;
17461 bool arg3 ;
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj1 = 0 ;
17464 PyObject * obj2 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self",(char *) "id",(char *) "enable", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17472 arg2 = (int) SWIG_AsInt(obj1);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 arg3 = (bool) SWIG_AsBool(obj2);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 (arg1)->EnableTool(arg2,arg3);
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 Py_INCREF(Py_None); resultobj = Py_None;
17484 return resultobj;
17485 fail:
17486 return NULL;
17487 }
17488
17489
17490 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17491 PyObject *resultobj;
17492 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17493 int arg2 ;
17494 bool arg3 ;
17495 PyObject * obj0 = 0 ;
17496 PyObject * obj1 = 0 ;
17497 PyObject * obj2 = 0 ;
17498 char *kwnames[] = {
17499 (char *) "self",(char *) "id",(char *) "toggle", NULL
17500 };
17501
17502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17505 arg2 = (int) SWIG_AsInt(obj1);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 arg3 = (bool) SWIG_AsBool(obj2);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 {
17510 PyThreadState* __tstate = wxPyBeginAllowThreads();
17511 (arg1)->ToggleTool(arg2,arg3);
17512
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 Py_INCREF(Py_None); resultobj = Py_None;
17517 return resultobj;
17518 fail:
17519 return NULL;
17520 }
17521
17522
17523 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17526 int arg2 ;
17527 bool arg3 ;
17528 PyObject * obj0 = 0 ;
17529 PyObject * obj1 = 0 ;
17530 PyObject * obj2 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "self",(char *) "id",(char *) "toggle", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17538 arg2 = (int) SWIG_AsInt(obj1);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 arg3 = (bool) SWIG_AsBool(obj2);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 {
17543 PyThreadState* __tstate = wxPyBeginAllowThreads();
17544 (arg1)->SetToggle(arg2,arg3);
17545
17546 wxPyEndAllowThreads(__tstate);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 Py_INCREF(Py_None); resultobj = Py_None;
17550 return resultobj;
17551 fail:
17552 return NULL;
17553 }
17554
17555
17556 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17557 PyObject *resultobj;
17558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17559 int arg2 ;
17560 PyObject *result;
17561 PyObject * obj0 = 0 ;
17562 PyObject * obj1 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self",(char *) "id", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17570 arg2 = (int) SWIG_AsInt(obj1);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 resultobj = result;
17580 return resultobj;
17581 fail:
17582 return NULL;
17583 }
17584
17585
17586 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17587 PyObject *resultobj;
17588 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17589 int arg2 ;
17590 PyObject *arg3 = (PyObject *) 0 ;
17591 PyObject * obj0 = 0 ;
17592 PyObject * obj1 = 0 ;
17593 PyObject * obj2 = 0 ;
17594 char *kwnames[] = {
17595 (char *) "self",(char *) "id",(char *) "clientData", NULL
17596 };
17597
17598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17601 arg2 = (int) SWIG_AsInt(obj1);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 arg3 = obj2;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 Py_INCREF(Py_None); resultobj = Py_None;
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17619 PyObject *resultobj;
17620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17621 int arg2 ;
17622 int result;
17623 PyObject * obj0 = 0 ;
17624 PyObject * obj1 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self",(char *) "id", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17632 arg2 = (int) SWIG_AsInt(obj1);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 resultobj = SWIG_FromInt((int)result);
17642 return resultobj;
17643 fail:
17644 return NULL;
17645 }
17646
17647
17648 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17649 PyObject *resultobj;
17650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17651 int arg2 ;
17652 bool result;
17653 PyObject * obj0 = 0 ;
17654 PyObject * obj1 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self",(char *) "id", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17662 arg2 = (int) SWIG_AsInt(obj1);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (bool)(arg1)->GetToolState(arg2);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 {
17672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17673 }
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17683 int arg2 ;
17684 bool result;
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "id", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17694 arg2 = (int) SWIG_AsInt(obj1);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = (bool)(arg1)->GetToolEnabled(arg2);
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 {
17704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17705 }
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17715 int arg2 ;
17716 wxString *arg3 = 0 ;
17717 bool temp3 = False ;
17718 PyObject * obj0 = 0 ;
17719 PyObject * obj1 = 0 ;
17720 PyObject * obj2 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self",(char *) "id",(char *) "helpString", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17728 arg2 = (int) SWIG_AsInt(obj1);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 {
17731 arg3 = wxString_in_helper(obj2);
17732 if (arg3 == NULL) SWIG_fail;
17733 temp3 = True;
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 Py_INCREF(Py_None); resultobj = Py_None;
17743 {
17744 if (temp3)
17745 delete arg3;
17746 }
17747 return resultobj;
17748 fail:
17749 {
17750 if (temp3)
17751 delete arg3;
17752 }
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17760 int arg2 ;
17761 wxString result;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "id", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17771 arg2 = (int) SWIG_AsInt(obj1);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (arg1)->GetToolShortHelp(arg2);
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 {
17781 #if wxUSE_UNICODE
17782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17783 #else
17784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17785 #endif
17786 }
17787 return resultobj;
17788 fail:
17789 return NULL;
17790 }
17791
17792
17793 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj;
17795 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17796 int arg2 ;
17797 wxString *arg3 = 0 ;
17798 bool temp3 = False ;
17799 PyObject * obj0 = 0 ;
17800 PyObject * obj1 = 0 ;
17801 PyObject * obj2 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self",(char *) "id",(char *) "helpString", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17809 arg2 = (int) SWIG_AsInt(obj1);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 {
17812 arg3 = wxString_in_helper(obj2);
17813 if (arg3 == NULL) SWIG_fail;
17814 temp3 = True;
17815 }
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17819
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 Py_INCREF(Py_None); resultobj = Py_None;
17824 {
17825 if (temp3)
17826 delete arg3;
17827 }
17828 return resultobj;
17829 fail:
17830 {
17831 if (temp3)
17832 delete arg3;
17833 }
17834 return NULL;
17835 }
17836
17837
17838 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17839 PyObject *resultobj;
17840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17841 int arg2 ;
17842 wxString result;
17843 PyObject * obj0 = 0 ;
17844 PyObject * obj1 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "id", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17852 arg2 = (int) SWIG_AsInt(obj1);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 result = (arg1)->GetToolLongHelp(arg2);
17857
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 {
17862 #if wxUSE_UNICODE
17863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17864 #else
17865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17866 #endif
17867 }
17868 return resultobj;
17869 fail:
17870 return NULL;
17871 }
17872
17873
17874 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17875 PyObject *resultobj;
17876 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17877 int arg2 ;
17878 int arg3 ;
17879 PyObject * obj0 = 0 ;
17880 PyObject * obj1 = 0 ;
17881 PyObject * obj2 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self",(char *) "x",(char *) "y", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17889 arg2 = (int) SWIG_AsInt(obj1);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 arg3 = (int) SWIG_AsInt(obj2);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 (arg1)->SetMargins(arg2,arg3);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17908 PyObject *resultobj;
17909 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17910 wxSize *arg2 = 0 ;
17911 wxSize temp2 ;
17912 PyObject * obj0 = 0 ;
17913 PyObject * obj1 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self",(char *) "size", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17921 {
17922 arg2 = &temp2;
17923 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17924 }
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 (arg1)->SetMargins((wxSize const &)*arg2);
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 Py_INCREF(Py_None); resultobj = Py_None;
17933 return resultobj;
17934 fail:
17935 return NULL;
17936 }
17937
17938
17939 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17942 int arg2 ;
17943 PyObject * obj0 = 0 ;
17944 PyObject * obj1 = 0 ;
17945 char *kwnames[] = {
17946 (char *) "self",(char *) "packing", NULL
17947 };
17948
17949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17952 arg2 = (int) SWIG_AsInt(obj1);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->SetToolPacking(arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17971 int arg2 ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "separation", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 arg2 = (int) SWIG_AsInt(obj1);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 (arg1)->SetToolSeparation(arg2);
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 Py_INCREF(Py_None); resultobj = Py_None;
17991 return resultobj;
17992 fail:
17993 return NULL;
17994 }
17995
17996
17997 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18000 wxSize result;
18001 PyObject * obj0 = 0 ;
18002 char *kwnames[] = {
18003 (char *) "self", NULL
18004 };
18005
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 result = (arg1)->GetToolMargins();
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 {
18017 wxSize * resultptr;
18018 resultptr = new wxSize((wxSize &) result);
18019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18020 }
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18030 wxSize result;
18031 PyObject * obj0 = 0 ;
18032 char *kwnames[] = {
18033 (char *) "self", NULL
18034 };
18035
18036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (arg1)->GetMargins();
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 {
18047 wxSize * resultptr;
18048 resultptr = new wxSize((wxSize &) result);
18049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18050 }
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18060 int result;
18061 PyObject * obj0 = 0 ;
18062 char *kwnames[] = {
18063 (char *) "self", NULL
18064 };
18065
18066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (int)(arg1)->GetToolPacking();
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 resultobj = SWIG_FromInt((int)result);
18077 return resultobj;
18078 fail:
18079 return NULL;
18080 }
18081
18082
18083 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18086 int result;
18087 PyObject * obj0 = 0 ;
18088 char *kwnames[] = {
18089 (char *) "self", NULL
18090 };
18091
18092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 result = (int)(arg1)->GetToolSeparation();
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 resultobj = SWIG_FromInt((int)result);
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18112 int arg2 ;
18113 PyObject * obj0 = 0 ;
18114 PyObject * obj1 = 0 ;
18115 char *kwnames[] = {
18116 (char *) "self",(char *) "nRows", NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18122 arg2 = (int) SWIG_AsInt(obj1);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 (arg1)->SetRows(arg2);
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 Py_INCREF(Py_None); resultobj = Py_None;
18132 return resultobj;
18133 fail:
18134 return NULL;
18135 }
18136
18137
18138 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj;
18140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18141 int arg2 ;
18142 int arg3 ;
18143 PyObject * obj0 = 0 ;
18144 PyObject * obj1 = 0 ;
18145 PyObject * obj2 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self",(char *) "rows",(char *) "cols", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18153 arg2 = (int) SWIG_AsInt(obj1);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 arg3 = (int) SWIG_AsInt(obj2);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->SetMaxRowsCols(arg2,arg3);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 Py_INCREF(Py_None); resultobj = Py_None;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18174 int result;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (int)(arg1)->GetMaxRows();
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 resultobj = SWIG_FromInt((int)result);
18191 return resultobj;
18192 fail:
18193 return NULL;
18194 }
18195
18196
18197 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18200 int result;
18201 PyObject * obj0 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (int)(arg1)->GetMaxCols();
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 resultobj = SWIG_FromInt((int)result);
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18226 wxSize *arg2 = 0 ;
18227 wxSize temp2 ;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self",(char *) "size", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18237 {
18238 arg2 = &temp2;
18239 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18240 }
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 Py_INCREF(Py_None); resultobj = Py_None;
18249 return resultobj;
18250 fail:
18251 return NULL;
18252 }
18253
18254
18255 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18256 PyObject *resultobj;
18257 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18258 wxSize result;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 result = (arg1)->GetToolBitmapSize();
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 {
18275 wxSize * resultptr;
18276 resultptr = new wxSize((wxSize &) result);
18277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18278 }
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18288 wxSize result;
18289 PyObject * obj0 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 result = (arg1)->GetToolSize();
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 {
18305 wxSize * resultptr;
18306 resultptr = new wxSize((wxSize &) result);
18307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18308 }
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18316 PyObject *resultobj;
18317 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18318 int arg2 ;
18319 int arg3 ;
18320 wxToolBarToolBase *result;
18321 PyObject * obj0 = 0 ;
18322 PyObject * obj1 = 0 ;
18323 PyObject * obj2 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "x",(char *) "y", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18331 arg2 = (int) SWIG_AsInt(obj1);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 arg3 = (int) SWIG_AsInt(obj2);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 {
18343 resultobj = wxPyMake_wxObject(result);
18344 }
18345 return resultobj;
18346 fail:
18347 return NULL;
18348 }
18349
18350
18351 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18352 PyObject *resultobj;
18353 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18354 int arg2 ;
18355 wxToolBarToolBase *result;
18356 PyObject * obj0 = 0 ;
18357 PyObject * obj1 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self",(char *) "toolid", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18365 arg2 = (int) SWIG_AsInt(obj1);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18370
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 {
18375 resultobj = wxPyMake_wxObject(result);
18376 }
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18386 bool result;
18387 PyObject * obj0 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (bool)(arg1)->IsVertical();
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 {
18403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18404 }
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18412 PyObject *obj;
18413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18414 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18415 Py_INCREF(obj);
18416 return Py_BuildValue((char *)"");
18417 }
18418 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj;
18420 wxWindow *arg1 = (wxWindow *) 0 ;
18421 int arg2 = (int) -1 ;
18422 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18423 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18424 wxSize const &arg4_defvalue = wxDefaultSize ;
18425 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18426 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18427 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18428 wxString *arg6 = (wxString *) &arg6_defvalue ;
18429 wxToolBar *result;
18430 wxPoint temp3 ;
18431 wxSize temp4 ;
18432 bool temp6 = False ;
18433 PyObject * obj0 = 0 ;
18434 PyObject * obj1 = 0 ;
18435 PyObject * obj2 = 0 ;
18436 PyObject * obj3 = 0 ;
18437 PyObject * obj4 = 0 ;
18438 PyObject * obj5 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18446 if (obj1) {
18447 arg2 = (int) SWIG_AsInt(obj1);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 if (obj2) {
18451 {
18452 arg3 = &temp3;
18453 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18454 }
18455 }
18456 if (obj3) {
18457 {
18458 arg4 = &temp4;
18459 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18460 }
18461 }
18462 if (obj4) {
18463 arg5 = (long) SWIG_AsLong(obj4);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 if (obj5) {
18467 {
18468 arg6 = wxString_in_helper(obj5);
18469 if (arg6 == NULL) SWIG_fail;
18470 temp6 = True;
18471 }
18472 }
18473 {
18474 if (!wxPyCheckForApp()) SWIG_fail;
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 resultobj = wxPyMake_wxObject(result);
18483 }
18484 {
18485 if (temp6)
18486 delete arg6;
18487 }
18488 return resultobj;
18489 fail:
18490 {
18491 if (temp6)
18492 delete arg6;
18493 }
18494 return NULL;
18495 }
18496
18497
18498 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxToolBar *result;
18501 char *kwnames[] = {
18502 NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18506 {
18507 if (!wxPyCheckForApp()) SWIG_fail;
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 result = (wxToolBar *)new wxToolBar();
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 {
18515 resultobj = wxPyMake_wxObject(result);
18516 }
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxToolBar *arg1 = (wxToolBar *) 0 ;
18526 wxWindow *arg2 = (wxWindow *) 0 ;
18527 int arg3 = (int) -1 ;
18528 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18529 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18530 wxSize const &arg5_defvalue = wxDefaultSize ;
18531 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18532 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18533 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18534 wxString *arg7 = (wxString *) &arg7_defvalue ;
18535 bool result;
18536 wxPoint temp4 ;
18537 wxSize temp5 ;
18538 bool temp7 = False ;
18539 PyObject * obj0 = 0 ;
18540 PyObject * obj1 = 0 ;
18541 PyObject * obj2 = 0 ;
18542 PyObject * obj3 = 0 ;
18543 PyObject * obj4 = 0 ;
18544 PyObject * obj5 = 0 ;
18545 PyObject * obj6 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18555 if (obj2) {
18556 arg3 = (int) SWIG_AsInt(obj2);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 if (obj3) {
18560 {
18561 arg4 = &temp4;
18562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18563 }
18564 }
18565 if (obj4) {
18566 {
18567 arg5 = &temp5;
18568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18569 }
18570 }
18571 if (obj5) {
18572 arg6 = (long) SWIG_AsLong(obj5);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 if (obj6) {
18576 {
18577 arg7 = wxString_in_helper(obj6);
18578 if (arg7 == NULL) SWIG_fail;
18579 temp7 = True;
18580 }
18581 }
18582 {
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18585
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 {
18590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18591 }
18592 {
18593 if (temp7)
18594 delete arg7;
18595 }
18596 return resultobj;
18597 fail:
18598 {
18599 if (temp7)
18600 delete arg7;
18601 }
18602 return NULL;
18603 }
18604
18605
18606 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxToolBar *arg1 = (wxToolBar *) 0 ;
18609 int arg2 ;
18610 int arg3 ;
18611 wxToolBarToolBase *result;
18612 PyObject * obj0 = 0 ;
18613 PyObject * obj1 = 0 ;
18614 PyObject * obj2 = 0 ;
18615 char *kwnames[] = {
18616 (char *) "self",(char *) "x",(char *) "y", NULL
18617 };
18618
18619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18622 arg2 = (int) SWIG_AsInt(obj1);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 arg3 = (int) SWIG_AsInt(obj2);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 {
18634 resultobj = wxPyMake_wxObject(result);
18635 }
18636 return resultobj;
18637 fail:
18638 return NULL;
18639 }
18640
18641
18642 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18645 wxVisualAttributes result;
18646 PyObject * obj0 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "variant", NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18652 if (obj0) {
18653 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 {
18657 if (!wxPyCheckForApp()) SWIG_fail;
18658 PyThreadState* __tstate = wxPyBeginAllowThreads();
18659 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18660
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 {
18665 wxVisualAttributes * resultptr;
18666 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18668 }
18669 return resultobj;
18670 fail:
18671 return NULL;
18672 }
18673
18674
18675 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18676 PyObject *obj;
18677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18678 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18679 Py_INCREF(obj);
18680 return Py_BuildValue((char *)"");
18681 }
18682 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18683 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18684 return 1;
18685 }
18686
18687
18688 static PyObject *_wrap_ListCtrlNameStr_get() {
18689 PyObject *pyobj;
18690
18691 {
18692 #if wxUSE_UNICODE
18693 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18694 #else
18695 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18696 #endif
18697 }
18698 return pyobj;
18699 }
18700
18701
18702 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxColour const &arg1_defvalue = wxNullColour ;
18705 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18706 wxColour const &arg2_defvalue = wxNullColour ;
18707 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18708 wxFont const &arg3_defvalue = wxNullFont ;
18709 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18710 wxListItemAttr *result;
18711 wxColour temp1 ;
18712 wxColour temp2 ;
18713 PyObject * obj0 = 0 ;
18714 PyObject * obj1 = 0 ;
18715 PyObject * obj2 = 0 ;
18716 char *kwnames[] = {
18717 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18718 };
18719
18720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18721 if (obj0) {
18722 {
18723 arg1 = &temp1;
18724 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18725 }
18726 }
18727 if (obj1) {
18728 {
18729 arg2 = &temp2;
18730 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18731 }
18732 }
18733 if (obj2) {
18734 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18735 SWIG_POINTER_EXCEPTION | 0)) == -1)
18736 SWIG_fail;
18737 if (arg3 == NULL) {
18738 PyErr_SetString(PyExc_TypeError,"null reference");
18739 SWIG_fail;
18740 }
18741 }
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18745
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj;
18758 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18759 wxColour *arg2 = 0 ;
18760 wxColour temp2 ;
18761 PyObject * obj0 = 0 ;
18762 PyObject * obj1 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self",(char *) "colText", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18770 {
18771 arg2 = &temp2;
18772 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18773 }
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 (arg1)->SetTextColour((wxColour const &)*arg2);
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 Py_INCREF(Py_None); resultobj = Py_None;
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18791 wxColour *arg2 = 0 ;
18792 wxColour temp2 ;
18793 PyObject * obj0 = 0 ;
18794 PyObject * obj1 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self",(char *) "colBack", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18802 {
18803 arg2 = &temp2;
18804 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18805 }
18806 {
18807 PyThreadState* __tstate = wxPyBeginAllowThreads();
18808 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18809
18810 wxPyEndAllowThreads(__tstate);
18811 if (PyErr_Occurred()) SWIG_fail;
18812 }
18813 Py_INCREF(Py_None); resultobj = Py_None;
18814 return resultobj;
18815 fail:
18816 return NULL;
18817 }
18818
18819
18820 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18821 PyObject *resultobj;
18822 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18823 wxFont *arg2 = 0 ;
18824 PyObject * obj0 = 0 ;
18825 PyObject * obj1 = 0 ;
18826 char *kwnames[] = {
18827 (char *) "self",(char *) "font", NULL
18828 };
18829
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18834 SWIG_POINTER_EXCEPTION | 0)) == -1)
18835 SWIG_fail;
18836 if (arg2 == NULL) {
18837 PyErr_SetString(PyExc_TypeError,"null reference");
18838 SWIG_fail;
18839 }
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 (arg1)->SetFont((wxFont const &)*arg2);
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 Py_INCREF(Py_None); resultobj = Py_None;
18848 return resultobj;
18849 fail:
18850 return NULL;
18851 }
18852
18853
18854 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18857 bool result;
18858 PyObject * obj0 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (bool)(arg1)->HasTextColour();
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 {
18874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18885 bool result;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (bool)(arg1)->HasBackgroundColour();
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 {
18902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18903 }
18904 return resultobj;
18905 fail:
18906 return NULL;
18907 }
18908
18909
18910 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18913 bool result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = (bool)(arg1)->HasFont();
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18931 }
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18941 wxColour result;
18942 PyObject * obj0 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",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)->GetTextColour();
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 {
18958 wxColour * resultptr;
18959 resultptr = new wxColour((wxColour &) result);
18960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18961 }
18962 return resultobj;
18963 fail:
18964 return NULL;
18965 }
18966
18967
18968 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj;
18970 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18971 wxColour result;
18972 PyObject * obj0 = 0 ;
18973 char *kwnames[] = {
18974 (char *) "self", NULL
18975 };
18976
18977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18980 {
18981 PyThreadState* __tstate = wxPyBeginAllowThreads();
18982 result = (arg1)->GetBackgroundColour();
18983
18984 wxPyEndAllowThreads(__tstate);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 {
18988 wxColour * resultptr;
18989 resultptr = new wxColour((wxColour &) result);
18990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18991 }
18992 return resultobj;
18993 fail:
18994 return NULL;
18995 }
18996
18997
18998 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18999 PyObject *resultobj;
19000 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19001 wxFont result;
19002 PyObject * obj0 = 0 ;
19003 char *kwnames[] = {
19004 (char *) "self", NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19010 {
19011 PyThreadState* __tstate = wxPyBeginAllowThreads();
19012 result = (arg1)->GetFont();
19013
19014 wxPyEndAllowThreads(__tstate);
19015 if (PyErr_Occurred()) SWIG_fail;
19016 }
19017 {
19018 wxFont * resultptr;
19019 resultptr = new wxFont((wxFont &) result);
19020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19021 }
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 wxListItemAttr_Destroy(arg1);
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 Py_INCREF(Py_None); resultobj = Py_None;
19047 return resultobj;
19048 fail:
19049 return NULL;
19050 }
19051
19052
19053 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
19054 PyObject *obj;
19055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19056 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19057 Py_INCREF(obj);
19058 return Py_BuildValue((char *)"");
19059 }
19060 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxListItem *result;
19063 char *kwnames[] = {
19064 NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 result = (wxListItem *)new wxListItem();
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 {
19076 resultobj = wxPyMake_wxObject(result);
19077 }
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxListItem *arg1 = (wxListItem *) 0 ;
19087 PyObject * obj0 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 delete arg1;
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106 }
19107
19108
19109 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxListItem *arg1 = (wxListItem *) 0 ;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 (arg1)->Clear();
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 Py_INCREF(Py_None); resultobj = Py_None;
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxListItem *arg1 = (wxListItem *) 0 ;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 (arg1)->ClearAttributes();
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 Py_INCREF(Py_None); resultobj = Py_None;
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxListItem *arg1 = (wxListItem *) 0 ;
19162 long arg2 ;
19163 PyObject * obj0 = 0 ;
19164 PyObject * obj1 = 0 ;
19165 char *kwnames[] = {
19166 (char *) "self",(char *) "mask", NULL
19167 };
19168
19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19172 arg2 = (long) SWIG_AsLong(obj1);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 (arg1)->SetMask(arg2);
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 Py_INCREF(Py_None); resultobj = Py_None;
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj;
19190 wxListItem *arg1 = (wxListItem *) 0 ;
19191 long arg2 ;
19192 PyObject * obj0 = 0 ;
19193 PyObject * obj1 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self",(char *) "id", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19201 arg2 = (long) SWIG_AsLong(obj1);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 (arg1)->SetId(arg2);
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxListItem *arg1 = (wxListItem *) 0 ;
19220 int arg2 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "col", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 arg2 = (int) SWIG_AsInt(obj1);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 (arg1)->SetColumn(arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 Py_INCREF(Py_None); resultobj = Py_None;
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxListItem *arg1 = (wxListItem *) 0 ;
19249 long arg2 ;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "state", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19259 arg2 = (long) SWIG_AsLong(obj1);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 (arg1)->SetState(arg2);
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 Py_INCREF(Py_None); resultobj = Py_None;
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListItem *arg1 = (wxListItem *) 0 ;
19278 long arg2 ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "stateMask", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 arg2 = (long) SWIG_AsLong(obj1);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 (arg1)->SetStateMask(arg2);
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 Py_INCREF(Py_None); resultobj = Py_None;
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxListItem *arg1 = (wxListItem *) 0 ;
19307 wxString *arg2 = 0 ;
19308 bool temp2 = False ;
19309 PyObject * obj0 = 0 ;
19310 PyObject * obj1 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self",(char *) "text", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19318 {
19319 arg2 = wxString_in_helper(obj1);
19320 if (arg2 == NULL) SWIG_fail;
19321 temp2 = True;
19322 }
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 (arg1)->SetText((wxString const &)*arg2);
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 Py_INCREF(Py_None); resultobj = Py_None;
19331 {
19332 if (temp2)
19333 delete arg2;
19334 }
19335 return resultobj;
19336 fail:
19337 {
19338 if (temp2)
19339 delete arg2;
19340 }
19341 return NULL;
19342 }
19343
19344
19345 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxListItem *arg1 = (wxListItem *) 0 ;
19348 int arg2 ;
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
19351 char *kwnames[] = {
19352 (char *) "self",(char *) "image", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19358 arg2 = (int) SWIG_AsInt(obj1);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 (arg1)->SetImage(arg2);
19363
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 Py_INCREF(Py_None); resultobj = Py_None;
19368 return resultobj;
19369 fail:
19370 return NULL;
19371 }
19372
19373
19374 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj;
19376 wxListItem *arg1 = (wxListItem *) 0 ;
19377 long arg2 ;
19378 PyObject * obj0 = 0 ;
19379 PyObject * obj1 = 0 ;
19380 char *kwnames[] = {
19381 (char *) "self",(char *) "data", NULL
19382 };
19383
19384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19387 arg2 = (long) SWIG_AsLong(obj1);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 (arg1)->SetData(arg2);
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 Py_INCREF(Py_None); resultobj = Py_None;
19397 return resultobj;
19398 fail:
19399 return NULL;
19400 }
19401
19402
19403 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxListItem *arg1 = (wxListItem *) 0 ;
19406 int arg2 ;
19407 PyObject * obj0 = 0 ;
19408 PyObject * obj1 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "width", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19416 arg2 = (int) SWIG_AsInt(obj1);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 (arg1)->SetWidth(arg2);
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 Py_INCREF(Py_None); resultobj = Py_None;
19426 return resultobj;
19427 fail:
19428 return NULL;
19429 }
19430
19431
19432 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxListItem *arg1 = (wxListItem *) 0 ;
19435 int arg2 ;
19436 PyObject * obj0 = 0 ;
19437 PyObject * obj1 = 0 ;
19438 char *kwnames[] = {
19439 (char *) "self",(char *) "align", NULL
19440 };
19441
19442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19445 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 (arg1)->SetAlign((wxListColumnFormat )arg2);
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 Py_INCREF(Py_None); resultobj = Py_None;
19455 return resultobj;
19456 fail:
19457 return NULL;
19458 }
19459
19460
19461 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxListItem *arg1 = (wxListItem *) 0 ;
19464 wxColour *arg2 = 0 ;
19465 wxColour temp2 ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "colText", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19475 {
19476 arg2 = &temp2;
19477 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19478 }
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 (arg1)->SetTextColour((wxColour const &)*arg2);
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 Py_INCREF(Py_None); resultobj = Py_None;
19487 return resultobj;
19488 fail:
19489 return NULL;
19490 }
19491
19492
19493 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxListItem *arg1 = (wxListItem *) 0 ;
19496 wxColour *arg2 = 0 ;
19497 wxColour temp2 ;
19498 PyObject * obj0 = 0 ;
19499 PyObject * obj1 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "colBack", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19507 {
19508 arg2 = &temp2;
19509 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19510 }
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 Py_INCREF(Py_None); resultobj = Py_None;
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxListItem *arg1 = (wxListItem *) 0 ;
19528 wxFont *arg2 = 0 ;
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 char *kwnames[] = {
19532 (char *) "self",(char *) "font", NULL
19533 };
19534
19535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19539 SWIG_POINTER_EXCEPTION | 0)) == -1)
19540 SWIG_fail;
19541 if (arg2 == NULL) {
19542 PyErr_SetString(PyExc_TypeError,"null reference");
19543 SWIG_fail;
19544 }
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 (arg1)->SetFont((wxFont const &)*arg2);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxListItem *arg1 = (wxListItem *) 0 ;
19562 long result;
19563 PyObject * obj0 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 result = (long)(arg1)->GetMask();
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 resultobj = SWIG_FromLong((long)result);
19579 return resultobj;
19580 fail:
19581 return NULL;
19582 }
19583
19584
19585 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19586 PyObject *resultobj;
19587 wxListItem *arg1 = (wxListItem *) 0 ;
19588 long result;
19589 PyObject * obj0 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 result = (long)(arg1)->GetId();
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 resultobj = SWIG_FromLong((long)result);
19605 return resultobj;
19606 fail:
19607 return NULL;
19608 }
19609
19610
19611 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxListItem *arg1 = (wxListItem *) 0 ;
19614 int result;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (int)(arg1)->GetColumn();
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_FromInt((int)result);
19631 return resultobj;
19632 fail:
19633 return NULL;
19634 }
19635
19636
19637 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj;
19639 wxListItem *arg1 = (wxListItem *) 0 ;
19640 long result;
19641 PyObject * obj0 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (long)(arg1)->GetState();
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 resultobj = SWIG_FromLong((long)result);
19657 return resultobj;
19658 fail:
19659 return NULL;
19660 }
19661
19662
19663 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxListItem *arg1 = (wxListItem *) 0 ;
19666 wxString *result;
19667 PyObject * obj0 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 {
19678 wxString const &_result_ref = (arg1)->GetText();
19679 result = (wxString *) &_result_ref;
19680 }
19681
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 {
19686 #if wxUSE_UNICODE
19687 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19688 #else
19689 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19690 #endif
19691 }
19692 return resultobj;
19693 fail:
19694 return NULL;
19695 }
19696
19697
19698 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj;
19700 wxListItem *arg1 = (wxListItem *) 0 ;
19701 int result;
19702 PyObject * obj0 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "self", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (int)(arg1)->GetImage();
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 resultobj = SWIG_FromInt((int)result);
19718 return resultobj;
19719 fail:
19720 return NULL;
19721 }
19722
19723
19724 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19725 PyObject *resultobj;
19726 wxListItem *arg1 = (wxListItem *) 0 ;
19727 long result;
19728 PyObject * obj0 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 result = (long)(arg1)->GetData();
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 resultobj = SWIG_FromLong((long)result);
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxListItem *arg1 = (wxListItem *) 0 ;
19753 int result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (int)(arg1)->GetWidth();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 resultobj = SWIG_FromInt((int)result);
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxListItem *arg1 = (wxListItem *) 0 ;
19779 int result;
19780 PyObject * obj0 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (int)(arg1)->GetAlign();
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = SWIG_FromInt((int)result);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxListItem *arg1 = (wxListItem *) 0 ;
19805 wxListItemAttr *result;
19806 PyObject * obj0 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (wxListItemAttr *)(arg1)->GetAttributes();
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19822 return resultobj;
19823 fail:
19824 return NULL;
19825 }
19826
19827
19828 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19829 PyObject *resultobj;
19830 wxListItem *arg1 = (wxListItem *) 0 ;
19831 bool result;
19832 PyObject * obj0 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 result = (bool)(arg1)->HasAttributes();
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 {
19848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19849 }
19850 return resultobj;
19851 fail:
19852 return NULL;
19853 }
19854
19855
19856 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxListItem *arg1 = (wxListItem *) 0 ;
19859 wxColour result;
19860 PyObject * obj0 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",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)->GetTextColour();
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 {
19876 wxColour * resultptr;
19877 resultptr = new wxColour((wxColour &) result);
19878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19879 }
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxListItem *arg1 = (wxListItem *) 0 ;
19889 wxColour result;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 wxColour * resultptr;
19907 resultptr = new wxColour((wxColour &) result);
19908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19909 }
19910 return resultobj;
19911 fail:
19912 return NULL;
19913 }
19914
19915
19916 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19917 PyObject *resultobj;
19918 wxListItem *arg1 = (wxListItem *) 0 ;
19919 wxFont result;
19920 PyObject * obj0 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 result = ((wxListItem const *)arg1)->GetFont();
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 {
19936 wxFont * resultptr;
19937 resultptr = new wxFont((wxFont &) result);
19938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19939 }
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj;
19948 wxListItem *arg1 = (wxListItem *) 0 ;
19949 long arg2 ;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self",(char *) "m_mask", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19959 arg2 = (long) SWIG_AsLong(obj1);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 if (arg1) (arg1)->m_mask = arg2;
19962
19963 Py_INCREF(Py_None); resultobj = Py_None;
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxListItem *arg1 = (wxListItem *) 0 ;
19973 long result;
19974 PyObject * obj0 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19982 result = (long) ((arg1)->m_mask);
19983
19984 resultobj = SWIG_FromLong((long)result);
19985 return resultobj;
19986 fail:
19987 return NULL;
19988 }
19989
19990
19991 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj;
19993 wxListItem *arg1 = (wxListItem *) 0 ;
19994 long arg2 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "m_itemId", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 arg2 = (long) SWIG_AsLong(obj1);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 if (arg1) (arg1)->m_itemId = arg2;
20007
20008 Py_INCREF(Py_None); resultobj = Py_None;
20009 return resultobj;
20010 fail:
20011 return NULL;
20012 }
20013
20014
20015 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxListItem *arg1 = (wxListItem *) 0 ;
20018 long result;
20019 PyObject * obj0 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20027 result = (long) ((arg1)->m_itemId);
20028
20029 resultobj = SWIG_FromLong((long)result);
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxListItem *arg1 = (wxListItem *) 0 ;
20039 int arg2 ;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "m_col", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 arg2 = (int) SWIG_AsInt(obj1);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 if (arg1) (arg1)->m_col = arg2;
20052
20053 Py_INCREF(Py_None); resultobj = Py_None;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxListItem *arg1 = (wxListItem *) 0 ;
20063 int result;
20064 PyObject * obj0 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20072 result = (int) ((arg1)->m_col);
20073
20074 resultobj = SWIG_FromInt((int)result);
20075 return resultobj;
20076 fail:
20077 return NULL;
20078 }
20079
20080
20081 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20082 PyObject *resultobj;
20083 wxListItem *arg1 = (wxListItem *) 0 ;
20084 long arg2 ;
20085 PyObject * obj0 = 0 ;
20086 PyObject * obj1 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self",(char *) "m_state", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20094 arg2 = (long) SWIG_AsLong(obj1);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 if (arg1) (arg1)->m_state = arg2;
20097
20098 Py_INCREF(Py_None); resultobj = Py_None;
20099 return resultobj;
20100 fail:
20101 return NULL;
20102 }
20103
20104
20105 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxListItem *arg1 = (wxListItem *) 0 ;
20108 long result;
20109 PyObject * obj0 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20117 result = (long) ((arg1)->m_state);
20118
20119 resultobj = SWIG_FromLong((long)result);
20120 return resultobj;
20121 fail:
20122 return NULL;
20123 }
20124
20125
20126 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20127 PyObject *resultobj;
20128 wxListItem *arg1 = (wxListItem *) 0 ;
20129 long arg2 ;
20130 PyObject * obj0 = 0 ;
20131 PyObject * obj1 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self",(char *) "m_stateMask", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20139 arg2 = (long) SWIG_AsLong(obj1);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 if (arg1) (arg1)->m_stateMask = arg2;
20142
20143 Py_INCREF(Py_None); resultobj = Py_None;
20144 return resultobj;
20145 fail:
20146 return NULL;
20147 }
20148
20149
20150 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxListItem *arg1 = (wxListItem *) 0 ;
20153 long result;
20154 PyObject * obj0 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20162 result = (long) ((arg1)->m_stateMask);
20163
20164 resultobj = SWIG_FromLong((long)result);
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxListItem *arg1 = (wxListItem *) 0 ;
20174 wxString *arg2 = (wxString *) 0 ;
20175 bool temp2 = False ;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "m_text", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20185 {
20186 arg2 = wxString_in_helper(obj1);
20187 if (arg2 == NULL) SWIG_fail;
20188 temp2 = True;
20189 }
20190 if (arg1) (arg1)->m_text = *arg2;
20191
20192 Py_INCREF(Py_None); resultobj = Py_None;
20193 {
20194 if (temp2)
20195 delete arg2;
20196 }
20197 return resultobj;
20198 fail:
20199 {
20200 if (temp2)
20201 delete arg2;
20202 }
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxListItem *arg1 = (wxListItem *) 0 ;
20210 wxString *result;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20219 result = (wxString *)& ((arg1)->m_text);
20220
20221 {
20222 #if wxUSE_UNICODE
20223 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20224 #else
20225 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20226 #endif
20227 }
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxListItem *arg1 = (wxListItem *) 0 ;
20237 int arg2 ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self",(char *) "m_image", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20247 arg2 = (int) SWIG_AsInt(obj1);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 if (arg1) (arg1)->m_image = arg2;
20250
20251 Py_INCREF(Py_None); resultobj = Py_None;
20252 return resultobj;
20253 fail:
20254 return NULL;
20255 }
20256
20257
20258 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxListItem *arg1 = (wxListItem *) 0 ;
20261 int result;
20262 PyObject * obj0 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20270 result = (int) ((arg1)->m_image);
20271
20272 resultobj = SWIG_FromInt((int)result);
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxListItem *arg1 = (wxListItem *) 0 ;
20282 long arg2 ;
20283 PyObject * obj0 = 0 ;
20284 PyObject * obj1 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self",(char *) "m_data", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20292 arg2 = (long) SWIG_AsLong(obj1);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 if (arg1) (arg1)->m_data = arg2;
20295
20296 Py_INCREF(Py_None); resultobj = Py_None;
20297 return resultobj;
20298 fail:
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxListItem *arg1 = (wxListItem *) 0 ;
20306 long result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20315 result = (long) ((arg1)->m_data);
20316
20317 resultobj = SWIG_FromLong((long)result);
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxListItem *arg1 = (wxListItem *) 0 ;
20327 int arg2 ;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "m_format", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20337 arg2 = (int) SWIG_AsInt(obj1);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 if (arg1) (arg1)->m_format = arg2;
20340
20341 Py_INCREF(Py_None); resultobj = Py_None;
20342 return resultobj;
20343 fail:
20344 return NULL;
20345 }
20346
20347
20348 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj;
20350 wxListItem *arg1 = (wxListItem *) 0 ;
20351 int result;
20352 PyObject * obj0 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20360 result = (int) ((arg1)->m_format);
20361
20362 resultobj = SWIG_FromInt((int)result);
20363 return resultobj;
20364 fail:
20365 return NULL;
20366 }
20367
20368
20369 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20370 PyObject *resultobj;
20371 wxListItem *arg1 = (wxListItem *) 0 ;
20372 int arg2 ;
20373 PyObject * obj0 = 0 ;
20374 PyObject * obj1 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self",(char *) "m_width", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20382 arg2 = (int) SWIG_AsInt(obj1);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 if (arg1) (arg1)->m_width = arg2;
20385
20386 Py_INCREF(Py_None); resultobj = Py_None;
20387 return resultobj;
20388 fail:
20389 return NULL;
20390 }
20391
20392
20393 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20394 PyObject *resultobj;
20395 wxListItem *arg1 = (wxListItem *) 0 ;
20396 int result;
20397 PyObject * obj0 = 0 ;
20398 char *kwnames[] = {
20399 (char *) "self", NULL
20400 };
20401
20402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20405 result = (int) ((arg1)->m_width);
20406
20407 resultobj = SWIG_FromInt((int)result);
20408 return resultobj;
20409 fail:
20410 return NULL;
20411 }
20412
20413
20414 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20415 PyObject *obj;
20416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20417 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20418 Py_INCREF(obj);
20419 return Py_BuildValue((char *)"");
20420 }
20421 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20422 PyObject *resultobj;
20423 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20424 int arg2 = (int) 0 ;
20425 wxListEvent *result;
20426 PyObject * obj0 = 0 ;
20427 PyObject * obj1 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "commandType",(char *) "id", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20433 if (obj0) {
20434 arg1 = (wxEventType) SWIG_AsInt(obj0);
20435 if (PyErr_Occurred()) SWIG_fail;
20436 }
20437 if (obj1) {
20438 arg2 = (int) SWIG_AsInt(obj1);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20449 return resultobj;
20450 fail:
20451 return NULL;
20452 }
20453
20454
20455 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20456 PyObject *resultobj;
20457 wxListEvent *arg1 = (wxListEvent *) 0 ;
20458 int arg2 ;
20459 PyObject * obj0 = 0 ;
20460 PyObject * obj1 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self",(char *) "m_code", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20468 arg2 = (int) SWIG_AsInt(obj1);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 if (arg1) (arg1)->m_code = arg2;
20471
20472 Py_INCREF(Py_None); resultobj = Py_None;
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxListEvent *arg1 = (wxListEvent *) 0 ;
20482 int result;
20483 PyObject * obj0 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20491 result = (int) ((arg1)->m_code);
20492
20493 resultobj = SWIG_FromInt((int)result);
20494 return resultobj;
20495 fail:
20496 return NULL;
20497 }
20498
20499
20500 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj;
20502 wxListEvent *arg1 = (wxListEvent *) 0 ;
20503 long arg2 ;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self",(char *) "m_oldItemIndex", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20513 arg2 = (long) SWIG_AsLong(obj1);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 if (arg1) (arg1)->m_oldItemIndex = arg2;
20516
20517 Py_INCREF(Py_None); resultobj = Py_None;
20518 return resultobj;
20519 fail:
20520 return NULL;
20521 }
20522
20523
20524 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20525 PyObject *resultobj;
20526 wxListEvent *arg1 = (wxListEvent *) 0 ;
20527 long result;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20536 result = (long) ((arg1)->m_oldItemIndex);
20537
20538 resultobj = SWIG_FromLong((long)result);
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxListEvent *arg1 = (wxListEvent *) 0 ;
20548 long arg2 ;
20549 PyObject * obj0 = 0 ;
20550 PyObject * obj1 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self",(char *) "m_itemIndex", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20558 arg2 = (long) SWIG_AsLong(obj1);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 if (arg1) (arg1)->m_itemIndex = arg2;
20561
20562 Py_INCREF(Py_None); resultobj = Py_None;
20563 return resultobj;
20564 fail:
20565 return NULL;
20566 }
20567
20568
20569 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20570 PyObject *resultobj;
20571 wxListEvent *arg1 = (wxListEvent *) 0 ;
20572 long result;
20573 PyObject * obj0 = 0 ;
20574 char *kwnames[] = {
20575 (char *) "self", NULL
20576 };
20577
20578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20581 result = (long) ((arg1)->m_itemIndex);
20582
20583 resultobj = SWIG_FromLong((long)result);
20584 return resultobj;
20585 fail:
20586 return NULL;
20587 }
20588
20589
20590 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxListEvent *arg1 = (wxListEvent *) 0 ;
20593 int arg2 ;
20594 PyObject * obj0 = 0 ;
20595 PyObject * obj1 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self",(char *) "m_col", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20603 arg2 = (int) SWIG_AsInt(obj1);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 if (arg1) (arg1)->m_col = arg2;
20606
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxListEvent *arg1 = (wxListEvent *) 0 ;
20617 int result;
20618 PyObject * obj0 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20626 result = (int) ((arg1)->m_col);
20627
20628 resultobj = SWIG_FromInt((int)result);
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxListEvent *arg1 = (wxListEvent *) 0 ;
20638 wxPoint *arg2 = (wxPoint *) 0 ;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 char *kwnames[] = {
20642 (char *) "self",(char *) "m_pointDrag", NULL
20643 };
20644
20645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 if (arg1) (arg1)->m_pointDrag = *arg2;
20651
20652 Py_INCREF(Py_None); resultobj = Py_None;
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxListEvent *arg1 = (wxListEvent *) 0 ;
20662 wxPoint *result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 result = (wxPoint *)& ((arg1)->m_pointDrag);
20672
20673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20674 return resultobj;
20675 fail:
20676 return NULL;
20677 }
20678
20679
20680 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20681 PyObject *resultobj;
20682 wxListEvent *arg1 = (wxListEvent *) 0 ;
20683 wxListItem *result;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20692 result = (wxListItem *)& ((arg1)->m_item);
20693
20694 {
20695 resultobj = wxPyMake_wxObject(result);
20696 }
20697 return resultobj;
20698 fail:
20699 return NULL;
20700 }
20701
20702
20703 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20704 PyObject *resultobj;
20705 wxListEvent *arg1 = (wxListEvent *) 0 ;
20706 int result;
20707 PyObject * obj0 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 result = (int)(arg1)->GetKeyCode();
20718
20719 wxPyEndAllowThreads(__tstate);
20720 if (PyErr_Occurred()) SWIG_fail;
20721 }
20722 resultobj = SWIG_FromInt((int)result);
20723 return resultobj;
20724 fail:
20725 return NULL;
20726 }
20727
20728
20729 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20730 PyObject *resultobj;
20731 wxListEvent *arg1 = (wxListEvent *) 0 ;
20732 long result;
20733 PyObject * obj0 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 result = (long)(arg1)->GetIndex();
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 resultobj = SWIG_FromLong((long)result);
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxListEvent *arg1 = (wxListEvent *) 0 ;
20758 int result;
20759 PyObject * obj0 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (int)(arg1)->GetColumn();
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 resultobj = SWIG_FromInt((int)result);
20775 return resultobj;
20776 fail:
20777 return NULL;
20778 }
20779
20780
20781 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 wxListEvent *arg1 = (wxListEvent *) 0 ;
20784 wxPoint result;
20785 PyObject * obj0 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 result = (arg1)->GetPoint();
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 {
20801 wxPoint * resultptr;
20802 resultptr = new wxPoint((wxPoint &) result);
20803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20804 }
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxListEvent *arg1 = (wxListEvent *) 0 ;
20814 wxString *result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 {
20826 wxString const &_result_ref = (arg1)->GetLabel();
20827 result = (wxString *) &_result_ref;
20828 }
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 #if wxUSE_UNICODE
20835 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20836 #else
20837 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20838 #endif
20839 }
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxListEvent *arg1 = (wxListEvent *) 0 ;
20849 wxString *result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 {
20861 wxString const &_result_ref = (arg1)->GetText();
20862 result = (wxString *) &_result_ref;
20863 }
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 {
20869 #if wxUSE_UNICODE
20870 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20871 #else
20872 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20873 #endif
20874 }
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxListEvent *arg1 = (wxListEvent *) 0 ;
20884 int result;
20885 PyObject * obj0 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (int)(arg1)->GetImage();
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 resultobj = SWIG_FromInt((int)result);
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxListEvent *arg1 = (wxListEvent *) 0 ;
20910 long result;
20911 PyObject * obj0 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = (long)(arg1)->GetData();
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 resultobj = SWIG_FromLong((long)result);
20927 return resultobj;
20928 fail:
20929 return NULL;
20930 }
20931
20932
20933 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 wxListEvent *arg1 = (wxListEvent *) 0 ;
20936 long result;
20937 PyObject * obj0 = 0 ;
20938 char *kwnames[] = {
20939 (char *) "self", NULL
20940 };
20941
20942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 result = (long)(arg1)->GetMask();
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 resultobj = SWIG_FromLong((long)result);
20953 return resultobj;
20954 fail:
20955 return NULL;
20956 }
20957
20958
20959 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20960 PyObject *resultobj;
20961 wxListEvent *arg1 = (wxListEvent *) 0 ;
20962 wxListItem *result;
20963 PyObject * obj0 = 0 ;
20964 char *kwnames[] = {
20965 (char *) "self", NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20971 {
20972 PyThreadState* __tstate = wxPyBeginAllowThreads();
20973 {
20974 wxListItem const &_result_ref = (arg1)->GetItem();
20975 result = (wxListItem *) &_result_ref;
20976 }
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxListEvent *arg1 = (wxListEvent *) 0 ;
20991 long result;
20992 PyObject * obj0 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = (long)(arg1)->GetCacheFrom();
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_FromLong((long)result);
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxListEvent *arg1 = (wxListEvent *) 0 ;
21017 long result;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = (long)(arg1)->GetCacheTo();
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_FromLong((long)result);
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxListEvent *arg1 = (wxListEvent *) 0 ;
21043 bool result;
21044 PyObject * obj0 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 {
21060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21061 }
21062 return resultobj;
21063 fail:
21064 return NULL;
21065 }
21066
21067
21068 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxListEvent *arg1 = (wxListEvent *) 0 ;
21071 bool arg2 ;
21072 PyObject * obj0 = 0 ;
21073 PyObject * obj1 = 0 ;
21074 char *kwnames[] = {
21075 (char *) "self",(char *) "editCancelled", NULL
21076 };
21077
21078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21081 arg2 = (bool) SWIG_AsBool(obj1);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 {
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 (arg1)->SetEditCanceled(arg2);
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 Py_INCREF(Py_None); resultobj = Py_None;
21091 return resultobj;
21092 fail:
21093 return NULL;
21094 }
21095
21096
21097 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21098 PyObject *obj;
21099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21100 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21101 Py_INCREF(obj);
21102 return Py_BuildValue((char *)"");
21103 }
21104 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj;
21106 wxWindow *arg1 = (wxWindow *) 0 ;
21107 int arg2 = (int) -1 ;
21108 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21109 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21110 wxSize const &arg4_defvalue = wxDefaultSize ;
21111 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21112 long arg5 = (long) wxLC_ICON ;
21113 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21114 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21115 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21116 wxString *arg7 = (wxString *) &arg7_defvalue ;
21117 wxPyListCtrl *result;
21118 wxPoint temp3 ;
21119 wxSize temp4 ;
21120 bool temp7 = False ;
21121 PyObject * obj0 = 0 ;
21122 PyObject * obj1 = 0 ;
21123 PyObject * obj2 = 0 ;
21124 PyObject * obj3 = 0 ;
21125 PyObject * obj4 = 0 ;
21126 PyObject * obj5 = 0 ;
21127 PyObject * obj6 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 if (obj1) {
21136 arg2 = (int) SWIG_AsInt(obj1);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 if (obj2) {
21140 {
21141 arg3 = &temp3;
21142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21143 }
21144 }
21145 if (obj3) {
21146 {
21147 arg4 = &temp4;
21148 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21149 }
21150 }
21151 if (obj4) {
21152 arg5 = (long) SWIG_AsLong(obj4);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 if (obj5) {
21156 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21157 SWIG_POINTER_EXCEPTION | 0)) == -1)
21158 SWIG_fail;
21159 if (arg6 == NULL) {
21160 PyErr_SetString(PyExc_TypeError,"null reference");
21161 SWIG_fail;
21162 }
21163 }
21164 if (obj6) {
21165 {
21166 arg7 = wxString_in_helper(obj6);
21167 if (arg7 == NULL) SWIG_fail;
21168 temp7 = True;
21169 }
21170 }
21171 {
21172 if (!wxPyCheckForApp()) SWIG_fail;
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21180 {
21181 if (temp7)
21182 delete arg7;
21183 }
21184 return resultobj;
21185 fail:
21186 {
21187 if (temp7)
21188 delete arg7;
21189 }
21190 return NULL;
21191 }
21192
21193
21194 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPyListCtrl *result;
21197 char *kwnames[] = {
21198 NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21202 {
21203 if (!wxPyCheckForApp()) SWIG_fail;
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 result = (wxPyListCtrl *)new wxPyListCtrl();
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21220 wxWindow *arg2 = (wxWindow *) 0 ;
21221 int arg3 = (int) -1 ;
21222 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21223 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21224 wxSize const &arg5_defvalue = wxDefaultSize ;
21225 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21226 long arg6 = (long) wxLC_ICON ;
21227 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21228 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21229 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21230 wxString *arg8 = (wxString *) &arg8_defvalue ;
21231 bool result;
21232 wxPoint temp4 ;
21233 wxSize temp5 ;
21234 bool temp8 = False ;
21235 PyObject * obj0 = 0 ;
21236 PyObject * obj1 = 0 ;
21237 PyObject * obj2 = 0 ;
21238 PyObject * obj3 = 0 ;
21239 PyObject * obj4 = 0 ;
21240 PyObject * obj5 = 0 ;
21241 PyObject * obj6 = 0 ;
21242 PyObject * obj7 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21252 if (obj2) {
21253 arg3 = (int) SWIG_AsInt(obj2);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 if (obj3) {
21257 {
21258 arg4 = &temp4;
21259 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21260 }
21261 }
21262 if (obj4) {
21263 {
21264 arg5 = &temp5;
21265 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21266 }
21267 }
21268 if (obj5) {
21269 arg6 = (long) SWIG_AsLong(obj5);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 if (obj6) {
21273 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1)
21275 SWIG_fail;
21276 if (arg7 == NULL) {
21277 PyErr_SetString(PyExc_TypeError,"null reference");
21278 SWIG_fail;
21279 }
21280 }
21281 if (obj7) {
21282 {
21283 arg8 = wxString_in_helper(obj7);
21284 if (arg8 == NULL) SWIG_fail;
21285 temp8 = True;
21286 }
21287 }
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 {
21296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21297 }
21298 {
21299 if (temp8)
21300 delete arg8;
21301 }
21302 return resultobj;
21303 fail:
21304 {
21305 if (temp8)
21306 delete arg8;
21307 }
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21315 PyObject *arg2 = (PyObject *) 0 ;
21316 PyObject *arg3 = (PyObject *) 0 ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 PyObject * obj2 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self",(char *) "self",(char *) "_class", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21327 arg2 = obj1;
21328 arg3 = obj2;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 (arg1)->_setCallbackInfo(arg2,arg3);
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 Py_INCREF(Py_None); resultobj = Py_None;
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21346 wxColour *arg2 = 0 ;
21347 bool result;
21348 wxColour temp2 ;
21349 PyObject * obj0 = 0 ;
21350 PyObject * obj1 = 0 ;
21351 char *kwnames[] = {
21352 (char *) "self",(char *) "col", NULL
21353 };
21354
21355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21358 {
21359 arg2 = &temp2;
21360 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21361 }
21362 {
21363 PyThreadState* __tstate = wxPyBeginAllowThreads();
21364 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21365
21366 wxPyEndAllowThreads(__tstate);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 {
21370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21371 }
21372 return resultobj;
21373 fail:
21374 return NULL;
21375 }
21376
21377
21378 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21381 wxColour *arg2 = 0 ;
21382 bool result;
21383 wxColour temp2 ;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "col", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21393 {
21394 arg2 = &temp2;
21395 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 {
21405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21406 }
21407 return resultobj;
21408 fail:
21409 return NULL;
21410 }
21411
21412
21413 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21414 PyObject *resultobj;
21415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21416 int arg2 ;
21417 wxListItem *result;
21418 PyObject * obj0 = 0 ;
21419 PyObject * obj1 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self",(char *) "col", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21427 arg2 = (int) SWIG_AsInt(obj1);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 {
21437 resultobj = wxPyMake_wxObject(result);
21438 }
21439 return resultobj;
21440 fail:
21441 return NULL;
21442 }
21443
21444
21445 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21446 PyObject *resultobj;
21447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21448 int arg2 ;
21449 wxListItem *arg3 = 0 ;
21450 bool result;
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 PyObject * obj2 = 0 ;
21454 char *kwnames[] = {
21455 (char *) "self",(char *) "col",(char *) "item", NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21461 arg2 = (int) SWIG_AsInt(obj1);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21464 SWIG_POINTER_EXCEPTION | 0)) == -1)
21465 SWIG_fail;
21466 if (arg3 == NULL) {
21467 PyErr_SetString(PyExc_TypeError,"null reference");
21468 SWIG_fail;
21469 }
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 {
21478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21479 }
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21489 int arg2 ;
21490 int result;
21491 PyObject * obj0 = 0 ;
21492 PyObject * obj1 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self",(char *) "col", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21500 arg2 = (int) SWIG_AsInt(obj1);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = SWIG_FromInt((int)result);
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21519 int arg2 ;
21520 int arg3 ;
21521 bool result;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 PyObject * obj2 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "col",(char *) "width", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21532 arg2 = (int) SWIG_AsInt(obj1);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 arg3 = (int) SWIG_AsInt(obj2);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21545 }
21546 return resultobj;
21547 fail:
21548 return NULL;
21549 }
21550
21551
21552 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21553 PyObject *resultobj;
21554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21555 int result;
21556 PyObject * obj0 = 0 ;
21557 char *kwnames[] = {
21558 (char *) "self", NULL
21559 };
21560
21561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 resultobj = SWIG_FromInt((int)result);
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21581 wxRect result;
21582 PyObject * obj0 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 {
21598 wxRect * resultptr;
21599 resultptr = new wxRect((wxRect &) result);
21600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21601 }
21602 return resultobj;
21603 fail:
21604 return NULL;
21605 }
21606
21607
21608 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj;
21610 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21611 long arg2 ;
21612 int arg3 = (int) 0 ;
21613 wxListItem *result;
21614 PyObject * obj0 = 0 ;
21615 PyObject * obj1 = 0 ;
21616 PyObject * obj2 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self",(char *) "itemId",(char *) "col", NULL
21619 };
21620
21621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21624 arg2 = (long) SWIG_AsLong(obj1);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 if (obj2) {
21627 arg3 = (int) SWIG_AsInt(obj2);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 {
21638 resultobj = wxPyMake_wxObject(result);
21639 }
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21649 wxListItem *arg2 = 0 ;
21650 bool result;
21651 PyObject * obj0 = 0 ;
21652 PyObject * obj1 = 0 ;
21653 char *kwnames[] = {
21654 (char *) "self",(char *) "info", NULL
21655 };
21656
21657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1)
21662 SWIG_fail;
21663 if (arg2 == NULL) {
21664 PyErr_SetString(PyExc_TypeError,"null reference");
21665 SWIG_fail;
21666 }
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (bool)(arg1)->SetItem(*arg2);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 {
21675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj;
21685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21686 long arg2 ;
21687 int arg3 ;
21688 wxString *arg4 = 0 ;
21689 int arg5 = (int) -1 ;
21690 long result;
21691 bool temp4 = False ;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
21694 PyObject * obj2 = 0 ;
21695 PyObject * obj3 = 0 ;
21696 PyObject * obj4 = 0 ;
21697 char *kwnames[] = {
21698 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21699 };
21700
21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21704 arg2 = (long) SWIG_AsLong(obj1);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 arg3 = (int) SWIG_AsInt(obj2);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 {
21709 arg4 = wxString_in_helper(obj3);
21710 if (arg4 == NULL) SWIG_fail;
21711 temp4 = True;
21712 }
21713 if (obj4) {
21714 arg5 = (int) SWIG_AsInt(obj4);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 resultobj = SWIG_FromLong((long)result);
21725 {
21726 if (temp4)
21727 delete arg4;
21728 }
21729 return resultobj;
21730 fail:
21731 {
21732 if (temp4)
21733 delete arg4;
21734 }
21735 return NULL;
21736 }
21737
21738
21739 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj;
21741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21742 long arg2 ;
21743 long arg3 ;
21744 int result;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 PyObject * obj2 = 0 ;
21748 char *kwnames[] = {
21749 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21750 };
21751
21752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21755 arg2 = (long) SWIG_AsLong(obj1);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 arg3 = (long) SWIG_AsLong(obj2);
21758 if (PyErr_Occurred()) SWIG_fail;
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
21766 resultobj = SWIG_FromInt((int)result);
21767 return resultobj;
21768 fail:
21769 return NULL;
21770 }
21771
21772
21773 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21774 PyObject *resultobj;
21775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21776 long arg2 ;
21777 long arg3 ;
21778 long arg4 ;
21779 bool result;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 PyObject * obj2 = 0 ;
21783 PyObject * obj3 = 0 ;
21784 char *kwnames[] = {
21785 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21791 arg2 = (long) SWIG_AsLong(obj1);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 arg3 = (long) SWIG_AsLong(obj2);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 arg4 = (long) SWIG_AsLong(obj3);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 {
21805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21806 }
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21816 long arg2 ;
21817 int arg3 ;
21818 int arg4 ;
21819 bool result;
21820 PyObject * obj0 = 0 ;
21821 PyObject * obj1 = 0 ;
21822 PyObject * obj2 = 0 ;
21823 PyObject * obj3 = 0 ;
21824 char *kwnames[] = {
21825 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21826 };
21827
21828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21831 arg2 = (long) SWIG_AsLong(obj1);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 arg3 = (int) SWIG_AsInt(obj2);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 arg4 = (int) SWIG_AsInt(obj3);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21846 }
21847 return resultobj;
21848 fail:
21849 return NULL;
21850 }
21851
21852
21853 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21856 long arg2 ;
21857 wxString result;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "item", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21867 arg2 = (long) SWIG_AsLong(obj1);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 {
21877 #if wxUSE_UNICODE
21878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21879 #else
21880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21881 #endif
21882 }
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21892 long arg2 ;
21893 wxString *arg3 = 0 ;
21894 bool temp3 = False ;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 PyObject * obj2 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "item",(char *) "str", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21905 arg2 = (long) SWIG_AsLong(obj1);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 {
21908 arg3 = wxString_in_helper(obj2);
21909 if (arg3 == NULL) SWIG_fail;
21910 temp3 = True;
21911 }
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 Py_INCREF(Py_None); resultobj = Py_None;
21920 {
21921 if (temp3)
21922 delete arg3;
21923 }
21924 return resultobj;
21925 fail:
21926 {
21927 if (temp3)
21928 delete arg3;
21929 }
21930 return NULL;
21931 }
21932
21933
21934 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21935 PyObject *resultobj;
21936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21937 long arg2 ;
21938 long result;
21939 PyObject * obj0 = 0 ;
21940 PyObject * obj1 = 0 ;
21941 char *kwnames[] = {
21942 (char *) "self",(char *) "item", NULL
21943 };
21944
21945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21948 arg2 = (long) SWIG_AsLong(obj1);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 resultobj = SWIG_FromLong((long)result);
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21967 long arg2 ;
21968 long arg3 ;
21969 bool result;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "item",(char *) "data", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 arg2 = (long) SWIG_AsLong(obj1);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 arg3 = (long) SWIG_AsLong(obj2);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 result = (bool)(arg1)->SetItemData(arg2,arg3);
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 {
21992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21993 }
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22003 long arg2 ;
22004 wxPoint result;
22005 PyObject * obj0 = 0 ;
22006 PyObject * obj1 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "self",(char *) "item", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22014 arg2 = (long) SWIG_AsLong(obj1);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 {
22024 wxPoint * resultptr;
22025 resultptr = new wxPoint((wxPoint &) result);
22026 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22027 }
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj;
22036 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22037 long arg2 ;
22038 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22039 wxRect result;
22040 PyObject * obj0 = 0 ;
22041 PyObject * obj1 = 0 ;
22042 PyObject * obj2 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "self",(char *) "item",(char *) "code", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22050 arg2 = (long) SWIG_AsLong(obj1);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 if (obj2) {
22053 arg3 = (int) SWIG_AsInt(obj2);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 {
22064 wxRect * resultptr;
22065 resultptr = new wxRect((wxRect &) result);
22066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22067 }
22068 return resultobj;
22069 fail:
22070 return NULL;
22071 }
22072
22073
22074 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22075 PyObject *resultobj;
22076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22077 long arg2 ;
22078 wxPoint *arg3 = 0 ;
22079 bool result;
22080 wxPoint temp3 ;
22081 PyObject * obj0 = 0 ;
22082 PyObject * obj1 = 0 ;
22083 PyObject * obj2 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "item",(char *) "pos", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 arg2 = (long) SWIG_AsLong(obj1);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 {
22094 arg3 = &temp3;
22095 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22096 }
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 {
22105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22106 }
22107 return resultobj;
22108 fail:
22109 return NULL;
22110 }
22111
22112
22113 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj;
22115 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22116 int result;
22117 PyObject * obj0 = 0 ;
22118 char *kwnames[] = {
22119 (char *) "self", NULL
22120 };
22121
22122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 resultobj = SWIG_FromInt((int)result);
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22142 int result;
22143 PyObject * obj0 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22151 {
22152 PyThreadState* __tstate = wxPyBeginAllowThreads();
22153 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22154
22155 wxPyEndAllowThreads(__tstate);
22156 if (PyErr_Occurred()) SWIG_fail;
22157 }
22158 resultobj = SWIG_FromInt((int)result);
22159 return resultobj;
22160 fail:
22161 return NULL;
22162 }
22163
22164
22165 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22166 PyObject *resultobj;
22167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22168 wxSize result;
22169 PyObject * obj0 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "self", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 {
22185 wxSize * resultptr;
22186 resultptr = new wxSize((wxSize &) result);
22187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22188 }
22189 return resultobj;
22190 fail:
22191 return NULL;
22192 }
22193
22194
22195 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22196 PyObject *resultobj;
22197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22198 int arg2 ;
22199 bool arg3 = (bool) False ;
22200 PyObject * obj0 = 0 ;
22201 PyObject * obj1 = 0 ;
22202 PyObject * obj2 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22210 arg2 = (int) SWIG_AsInt(obj1);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 if (obj2) {
22213 arg3 = (bool) SWIG_AsBool(obj2);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 (arg1)->SetItemSpacing(arg2,arg3);
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 Py_INCREF(Py_None); resultobj = Py_None;
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22233 int result;
22234 PyObject * obj0 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 resultobj = SWIG_FromInt((int)result);
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22259 wxColour result;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 {
22276 wxColour * resultptr;
22277 resultptr = new wxColour((wxColour &) result);
22278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22279 }
22280 return resultobj;
22281 fail:
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22289 wxColour *arg2 = 0 ;
22290 wxColour temp2 ;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "col", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22300 {
22301 arg2 = &temp2;
22302 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22303 }
22304 {
22305 PyThreadState* __tstate = wxPyBeginAllowThreads();
22306 (arg1)->SetTextColour((wxColour const &)*arg2);
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 Py_INCREF(Py_None); resultobj = Py_None;
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22319 PyObject *resultobj;
22320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22321 long result;
22322 PyObject * obj0 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 resultobj = SWIG_FromLong((long)result);
22338 return resultobj;
22339 fail:
22340 return NULL;
22341 }
22342
22343
22344 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22347 long arg2 ;
22348 bool arg3 = (bool) True ;
22349 PyObject * obj0 = 0 ;
22350 PyObject * obj1 = 0 ;
22351 PyObject * obj2 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "style",(char *) "add", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22359 arg2 = (long) SWIG_AsLong(obj1);
22360 if (PyErr_Occurred()) SWIG_fail;
22361 if (obj2) {
22362 arg3 = (bool) SWIG_AsBool(obj2);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 {
22366 PyThreadState* __tstate = wxPyBeginAllowThreads();
22367 (arg1)->SetSingleStyle(arg2,arg3);
22368
22369 wxPyEndAllowThreads(__tstate);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 }
22372 Py_INCREF(Py_None); resultobj = Py_None;
22373 return resultobj;
22374 fail:
22375 return NULL;
22376 }
22377
22378
22379 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22380 PyObject *resultobj;
22381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22382 long arg2 ;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "style", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22392 arg2 = (long) SWIG_AsLong(obj1);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->SetWindowStyleFlag(arg2);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22411 long arg2 ;
22412 int arg3 = (int) wxLIST_NEXT_ALL ;
22413 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22414 long result;
22415 PyObject * obj0 = 0 ;
22416 PyObject * obj1 = 0 ;
22417 PyObject * obj2 = 0 ;
22418 PyObject * obj3 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22426 arg2 = (long) SWIG_AsLong(obj1);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 if (obj2) {
22429 arg3 = (int) SWIG_AsInt(obj2);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 if (obj3) {
22433 arg4 = (int) SWIG_AsInt(obj3);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 resultobj = SWIG_FromLong((long)result);
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22453 int arg2 ;
22454 wxImageList *result;
22455 PyObject * obj0 = 0 ;
22456 PyObject * obj1 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self",(char *) "which", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 arg2 = (int) SWIG_AsInt(obj1);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 {
22474 resultobj = wxPyMake_wxObject(result);
22475 }
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22485 wxImageList *arg2 = (wxImageList *) 0 ;
22486 int arg3 ;
22487 PyObject * obj0 = 0 ;
22488 PyObject * obj1 = 0 ;
22489 PyObject * obj2 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self",(char *) "imageList",(char *) "which", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22499 arg3 = (int) SWIG_AsInt(obj2);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 (arg1)->SetImageList(arg2,arg3);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 Py_INCREF(Py_None); resultobj = Py_None;
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22518 wxImageList *arg2 = (wxImageList *) 0 ;
22519 int arg3 ;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 PyObject * obj2 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self",(char *) "imageList",(char *) "which", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22531 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22532 arg3 = (int) SWIG_AsInt(obj2);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 (arg1)->AssignImageList(arg2,arg3);
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 Py_INCREF(Py_None); resultobj = Py_None;
22542 return resultobj;
22543 fail:
22544 return NULL;
22545 }
22546
22547
22548 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj;
22550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22551 bool result;
22552 PyObject * obj0 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 {
22568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22569 }
22570 return resultobj;
22571 fail:
22572 return NULL;
22573 }
22574
22575
22576 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22577 PyObject *resultobj;
22578 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22579 bool result;
22580 PyObject * obj0 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 {
22596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22597 }
22598 return resultobj;
22599 fail:
22600 return NULL;
22601 }
22602
22603
22604 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22605 PyObject *resultobj;
22606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22607 long arg2 ;
22608 PyObject * obj0 = 0 ;
22609 PyObject * obj1 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self",(char *) "item", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22617 arg2 = (long) SWIG_AsLong(obj1);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 (arg1)->RefreshItem(arg2);
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 Py_INCREF(Py_None); resultobj = Py_None;
22627 return resultobj;
22628 fail:
22629 return NULL;
22630 }
22631
22632
22633 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22636 long arg2 ;
22637 long arg3 ;
22638 PyObject * obj0 = 0 ;
22639 PyObject * obj1 = 0 ;
22640 PyObject * obj2 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22648 arg2 = (long) SWIG_AsLong(obj1);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 arg3 = (long) SWIG_AsLong(obj2);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->RefreshItems(arg2,arg3);
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22669 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22670 bool result;
22671 PyObject * obj0 = 0 ;
22672 PyObject * obj1 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self",(char *) "flag", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22680 if (obj1) {
22681 arg2 = (int) SWIG_AsInt(obj1);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = (bool)(arg1)->Arrange(arg2);
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_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22703 long arg2 ;
22704 bool result;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self",(char *) "item", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",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 = (long) SWIG_AsLong(obj1);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 result = (bool)(arg1)->DeleteItem(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_DeleteAllItems(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_DeleteAllItems",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)->DeleteAllItems();
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_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22761 PyObject *resultobj;
22762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22763 int arg2 ;
22764 bool result;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self",(char *) "col", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22774 arg2 = (int) SWIG_AsInt(obj1);
22775 if (PyErr_Occurred()) SWIG_fail;
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = (bool)(arg1)->DeleteColumn(arg2);
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 {
22784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22785 }
22786 return resultobj;
22787 fail:
22788 return NULL;
22789 }
22790
22791
22792 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22793 PyObject *resultobj;
22794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22795 bool result;
22796 PyObject * obj0 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "self", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 result = (bool)(arg1)->DeleteAllColumns();
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 {
22812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22813 }
22814 return resultobj;
22815 fail:
22816 return NULL;
22817 }
22818
22819
22820 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 (arg1)->ClearAll();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 Py_INCREF(Py_None); resultobj = Py_None;
22839 return resultobj;
22840 fail:
22841 return NULL;
22842 }
22843
22844
22845 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22848 long arg2 ;
22849 PyObject * obj0 = 0 ;
22850 PyObject * obj1 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "self",(char *) "item", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22858 arg2 = (long) SWIG_AsLong(obj1);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 (arg1)->EditLabel(arg2);
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 Py_INCREF(Py_None); resultobj = Py_None;
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22877 long arg2 ;
22878 bool result;
22879 PyObject * obj0 = 0 ;
22880 PyObject * obj1 = 0 ;
22881 char *kwnames[] = {
22882 (char *) "self",(char *) "item", NULL
22883 };
22884
22885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22888 arg2 = (long) SWIG_AsLong(obj1);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 result = (bool)(arg1)->EnsureVisible(arg2);
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 {
22898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22899 }
22900 return resultobj;
22901 fail:
22902 return NULL;
22903 }
22904
22905
22906 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22907 PyObject *resultobj;
22908 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22909 long arg2 ;
22910 wxString *arg3 = 0 ;
22911 bool arg4 = (bool) False ;
22912 long result;
22913 bool temp3 = False ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 PyObject * obj2 = 0 ;
22917 PyObject * obj3 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22925 arg2 = (long) SWIG_AsLong(obj1);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 {
22928 arg3 = wxString_in_helper(obj2);
22929 if (arg3 == NULL) SWIG_fail;
22930 temp3 = True;
22931 }
22932 if (obj3) {
22933 arg4 = (bool) SWIG_AsBool(obj3);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = SWIG_FromLong((long)result);
22944 {
22945 if (temp3)
22946 delete arg3;
22947 }
22948 return resultobj;
22949 fail:
22950 {
22951 if (temp3)
22952 delete arg3;
22953 }
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22961 long arg2 ;
22962 long arg3 ;
22963 long result;
22964 PyObject * obj0 = 0 ;
22965 PyObject * obj1 = 0 ;
22966 PyObject * obj2 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self",(char *) "start",(char *) "data", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 arg2 = (long) SWIG_AsLong(obj1);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 arg3 = (long) SWIG_AsLong(obj2);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (long)(arg1)->FindItem(arg2,arg3);
22981
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 resultobj = SWIG_FromLong((long)result);
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj;
22994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22995 long arg2 ;
22996 wxPoint *arg3 = 0 ;
22997 int arg4 ;
22998 long result;
22999 wxPoint temp3 ;
23000 PyObject * obj0 = 0 ;
23001 PyObject * obj1 = 0 ;
23002 PyObject * obj2 = 0 ;
23003 PyObject * obj3 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 arg2 = (long) SWIG_AsLong(obj1);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 {
23014 arg3 = &temp3;
23015 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23016 }
23017 arg4 = (int) SWIG_AsInt(obj3);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23022
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 resultobj = SWIG_FromLong((long)result);
23027 return resultobj;
23028 fail:
23029 return NULL;
23030 }
23031
23032
23033 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23034 PyObject *resultobj;
23035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23036 wxPoint *arg2 = 0 ;
23037 int *arg3 = 0 ;
23038 long result;
23039 wxPoint temp2 ;
23040 int temp3 ;
23041 PyObject * obj0 = 0 ;
23042 PyObject * obj1 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "point", NULL
23045 };
23046
23047 arg3 = &temp3;
23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23051 {
23052 arg2 = &temp2;
23053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23054 }
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 resultobj = SWIG_FromLong((long)result);
23063 {
23064 PyObject *o = PyInt_FromLong((long) (*arg3));
23065 resultobj = t_output_helper(resultobj,o);
23066 }
23067 return resultobj;
23068 fail:
23069 return NULL;
23070 }
23071
23072
23073 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23074 PyObject *resultobj;
23075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23076 wxListItem *arg2 = 0 ;
23077 long result;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self",(char *) "info", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1)
23089 SWIG_fail;
23090 if (arg2 == NULL) {
23091 PyErr_SetString(PyExc_TypeError,"null reference");
23092 SWIG_fail;
23093 }
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (long)(arg1)->InsertItem(*arg2);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 resultobj = SWIG_FromLong((long)result);
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23111 long arg2 ;
23112 wxString *arg3 = 0 ;
23113 long result;
23114 bool temp3 = False ;
23115 PyObject * obj0 = 0 ;
23116 PyObject * obj1 = 0 ;
23117 PyObject * obj2 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self",(char *) "index",(char *) "label", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23125 arg2 = (long) SWIG_AsLong(obj1);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 {
23128 arg3 = wxString_in_helper(obj2);
23129 if (arg3 == NULL) SWIG_fail;
23130 temp3 = True;
23131 }
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23135
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 resultobj = SWIG_FromLong((long)result);
23140 {
23141 if (temp3)
23142 delete arg3;
23143 }
23144 return resultobj;
23145 fail:
23146 {
23147 if (temp3)
23148 delete arg3;
23149 }
23150 return NULL;
23151 }
23152
23153
23154 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj;
23156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23157 long arg2 ;
23158 int arg3 ;
23159 long result;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 PyObject * obj2 = 0 ;
23163 char *kwnames[] = {
23164 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23165 };
23166
23167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23170 arg2 = (long) SWIG_AsLong(obj1);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 arg3 = (int) SWIG_AsInt(obj2);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 {
23175 PyThreadState* __tstate = wxPyBeginAllowThreads();
23176 result = (long)(arg1)->InsertItem(arg2,arg3);
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 resultobj = SWIG_FromLong((long)result);
23182 return resultobj;
23183 fail:
23184 return NULL;
23185 }
23186
23187
23188 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23189 PyObject *resultobj;
23190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23191 long arg2 ;
23192 wxString *arg3 = 0 ;
23193 int arg4 ;
23194 long result;
23195 bool temp3 = False ;
23196 PyObject * obj0 = 0 ;
23197 PyObject * obj1 = 0 ;
23198 PyObject * obj2 = 0 ;
23199 PyObject * obj3 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23207 arg2 = (long) SWIG_AsLong(obj1);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 {
23210 arg3 = wxString_in_helper(obj2);
23211 if (arg3 == NULL) SWIG_fail;
23212 temp3 = True;
23213 }
23214 arg4 = (int) SWIG_AsInt(obj3);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 {
23217 PyThreadState* __tstate = wxPyBeginAllowThreads();
23218 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 resultobj = SWIG_FromLong((long)result);
23224 {
23225 if (temp3)
23226 delete arg3;
23227 }
23228 return resultobj;
23229 fail:
23230 {
23231 if (temp3)
23232 delete arg3;
23233 }
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23241 long arg2 ;
23242 wxListItem *arg3 = 0 ;
23243 long result;
23244 PyObject * obj0 = 0 ;
23245 PyObject * obj1 = 0 ;
23246 PyObject * obj2 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self",(char *) "col",(char *) "info", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23254 arg2 = (long) SWIG_AsLong(obj1);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23257 SWIG_POINTER_EXCEPTION | 0)) == -1)
23258 SWIG_fail;
23259 if (arg3 == NULL) {
23260 PyErr_SetString(PyExc_TypeError,"null reference");
23261 SWIG_fail;
23262 }
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23266
23267 wxPyEndAllowThreads(__tstate);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 resultobj = SWIG_FromLong((long)result);
23271 return resultobj;
23272 fail:
23273 return NULL;
23274 }
23275
23276
23277 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23278 PyObject *resultobj;
23279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23280 long arg2 ;
23281 wxString *arg3 = 0 ;
23282 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23283 int arg5 = (int) -1 ;
23284 long result;
23285 bool temp3 = False ;
23286 PyObject * obj0 = 0 ;
23287 PyObject * obj1 = 0 ;
23288 PyObject * obj2 = 0 ;
23289 PyObject * obj3 = 0 ;
23290 PyObject * obj4 = 0 ;
23291 char *kwnames[] = {
23292 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23293 };
23294
23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23298 arg2 = (long) SWIG_AsLong(obj1);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 {
23301 arg3 = wxString_in_helper(obj2);
23302 if (arg3 == NULL) SWIG_fail;
23303 temp3 = True;
23304 }
23305 if (obj3) {
23306 arg4 = (int) SWIG_AsInt(obj3);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 if (obj4) {
23310 arg5 = (int) SWIG_AsInt(obj4);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23316
23317 wxPyEndAllowThreads(__tstate);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 resultobj = SWIG_FromLong((long)result);
23321 {
23322 if (temp3)
23323 delete arg3;
23324 }
23325 return resultobj;
23326 fail:
23327 {
23328 if (temp3)
23329 delete arg3;
23330 }
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23338 long arg2 ;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "count", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23348 arg2 = (long) SWIG_AsLong(obj1);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 (arg1)->SetItemCount(arg2);
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 Py_INCREF(Py_None); resultobj = Py_None;
23358 return resultobj;
23359 fail:
23360 return NULL;
23361 }
23362
23363
23364 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23367 int arg2 ;
23368 int arg3 ;
23369 bool result;
23370 PyObject * obj0 = 0 ;
23371 PyObject * obj1 = 0 ;
23372 PyObject * obj2 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self",(char *) "dx",(char *) "dy", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23380 arg2 = (int) SWIG_AsInt(obj1);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 arg3 = (int) SWIG_AsInt(obj2);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 result = (bool)(arg1)->ScrollList(arg2,arg3);
23387
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 {
23392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23393 }
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23401 PyObject *resultobj;
23402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23403 long arg2 ;
23404 wxColour *arg3 = 0 ;
23405 wxColour temp3 ;
23406 PyObject * obj0 = 0 ;
23407 PyObject * obj1 = 0 ;
23408 PyObject * obj2 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "item",(char *) "col", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23416 arg2 = (long) SWIG_AsLong(obj1);
23417 if (PyErr_Occurred()) SWIG_fail;
23418 {
23419 arg3 = &temp3;
23420 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23421 }
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 Py_INCREF(Py_None); resultobj = Py_None;
23430 return resultobj;
23431 fail:
23432 return NULL;
23433 }
23434
23435
23436 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23437 PyObject *resultobj;
23438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23439 long arg2 ;
23440 wxColour result;
23441 PyObject * obj0 = 0 ;
23442 PyObject * obj1 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self",(char *) "item", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23450 arg2 = (long) SWIG_AsLong(obj1);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 wxColour * resultptr;
23461 resultptr = new wxColour((wxColour &) result);
23462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23463 }
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj;
23472 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23473 long arg2 ;
23474 wxColour *arg3 = 0 ;
23475 wxColour temp3 ;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 PyObject * obj2 = 0 ;
23479 char *kwnames[] = {
23480 (char *) "self",(char *) "item",(char *) "col", NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23486 arg2 = (long) SWIG_AsLong(obj1);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 {
23489 arg3 = &temp3;
23490 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23491 }
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23495
23496 wxPyEndAllowThreads(__tstate);
23497 if (PyErr_Occurred()) SWIG_fail;
23498 }
23499 Py_INCREF(Py_None); resultobj = Py_None;
23500 return resultobj;
23501 fail:
23502 return NULL;
23503 }
23504
23505
23506 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23507 PyObject *resultobj;
23508 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23509 long arg2 ;
23510 wxColour result;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "item", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23520 arg2 = (long) SWIG_AsLong(obj1);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 {
23530 wxColour * resultptr;
23531 resultptr = new wxColour((wxColour &) result);
23532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23533 }
23534 return resultobj;
23535 fail:
23536 return NULL;
23537 }
23538
23539
23540 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23541 PyObject *resultobj;
23542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23543 PyObject *arg2 = (PyObject *) 0 ;
23544 bool result;
23545 PyObject * obj0 = 0 ;
23546 PyObject * obj1 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self",(char *) "func", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23554 arg2 = obj1;
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 {
23563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23564 }
23565 return resultobj;
23566 fail:
23567 return NULL;
23568 }
23569
23570
23571 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23572 PyObject *resultobj;
23573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23574 wxWindow *result;
23575 PyObject * obj0 = 0 ;
23576 char *kwnames[] = {
23577 (char *) "self", NULL
23578 };
23579
23580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 {
23591 resultobj = wxPyMake_wxObject(result);
23592 }
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23602 wxVisualAttributes result;
23603 PyObject * obj0 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "variant", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23609 if (obj0) {
23610 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614 if (!wxPyCheckForApp()) SWIG_fail;
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 {
23622 wxVisualAttributes * resultptr;
23623 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23625 }
23626 return resultobj;
23627 fail:
23628 return NULL;
23629 }
23630
23631
23632 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23633 PyObject *obj;
23634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23635 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23636 Py_INCREF(obj);
23637 return Py_BuildValue((char *)"");
23638 }
23639 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23640 PyObject *resultobj;
23641 wxWindow *arg1 = (wxWindow *) 0 ;
23642 int arg2 = (int) -1 ;
23643 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23644 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23645 wxSize const &arg4_defvalue = wxDefaultSize ;
23646 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23647 long arg5 = (long) wxLC_REPORT ;
23648 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23649 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23650 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23651 wxString *arg7 = (wxString *) &arg7_defvalue ;
23652 wxListView *result;
23653 wxPoint temp3 ;
23654 wxSize temp4 ;
23655 bool temp7 = False ;
23656 PyObject * obj0 = 0 ;
23657 PyObject * obj1 = 0 ;
23658 PyObject * obj2 = 0 ;
23659 PyObject * obj3 = 0 ;
23660 PyObject * obj4 = 0 ;
23661 PyObject * obj5 = 0 ;
23662 PyObject * obj6 = 0 ;
23663 char *kwnames[] = {
23664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23670 if (obj1) {
23671 arg2 = (int) SWIG_AsInt(obj1);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 if (obj2) {
23675 {
23676 arg3 = &temp3;
23677 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23678 }
23679 }
23680 if (obj3) {
23681 {
23682 arg4 = &temp4;
23683 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23684 }
23685 }
23686 if (obj4) {
23687 arg5 = (long) SWIG_AsLong(obj4);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 if (obj5) {
23691 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23692 SWIG_POINTER_EXCEPTION | 0)) == -1)
23693 SWIG_fail;
23694 if (arg6 == NULL) {
23695 PyErr_SetString(PyExc_TypeError,"null reference");
23696 SWIG_fail;
23697 }
23698 }
23699 if (obj6) {
23700 {
23701 arg7 = wxString_in_helper(obj6);
23702 if (arg7 == NULL) SWIG_fail;
23703 temp7 = True;
23704 }
23705 }
23706 {
23707 if (!wxPyCheckForApp()) SWIG_fail;
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23715 {
23716 if (temp7)
23717 delete arg7;
23718 }
23719 return resultobj;
23720 fail:
23721 {
23722 if (temp7)
23723 delete arg7;
23724 }
23725 return NULL;
23726 }
23727
23728
23729 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23730 PyObject *resultobj;
23731 wxListView *result;
23732 char *kwnames[] = {
23733 NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23737 {
23738 if (!wxPyCheckForApp()) SWIG_fail;
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = (wxListView *)new wxListView();
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23746 return resultobj;
23747 fail:
23748 return NULL;
23749 }
23750
23751
23752 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23753 PyObject *resultobj;
23754 wxListView *arg1 = (wxListView *) 0 ;
23755 wxWindow *arg2 = (wxWindow *) 0 ;
23756 int arg3 = (int) -1 ;
23757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23759 wxSize const &arg5_defvalue = wxDefaultSize ;
23760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23761 long arg6 = (long) wxLC_REPORT ;
23762 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23763 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23764 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23765 wxString *arg8 = (wxString *) &arg8_defvalue ;
23766 bool result;
23767 wxPoint temp4 ;
23768 wxSize temp5 ;
23769 bool temp8 = False ;
23770 PyObject * obj0 = 0 ;
23771 PyObject * obj1 = 0 ;
23772 PyObject * obj2 = 0 ;
23773 PyObject * obj3 = 0 ;
23774 PyObject * obj4 = 0 ;
23775 PyObject * obj5 = 0 ;
23776 PyObject * obj6 = 0 ;
23777 PyObject * obj7 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23787 if (obj2) {
23788 arg3 = (int) SWIG_AsInt(obj2);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 if (obj3) {
23792 {
23793 arg4 = &temp4;
23794 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23795 }
23796 }
23797 if (obj4) {
23798 {
23799 arg5 = &temp5;
23800 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23801 }
23802 }
23803 if (obj5) {
23804 arg6 = (long) SWIG_AsLong(obj5);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 }
23807 if (obj6) {
23808 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23809 SWIG_POINTER_EXCEPTION | 0)) == -1)
23810 SWIG_fail;
23811 if (arg7 == NULL) {
23812 PyErr_SetString(PyExc_TypeError,"null reference");
23813 SWIG_fail;
23814 }
23815 }
23816 if (obj7) {
23817 {
23818 arg8 = wxString_in_helper(obj7);
23819 if (arg8 == NULL) SWIG_fail;
23820 temp8 = True;
23821 }
23822 }
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23826
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 {
23831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23832 }
23833 {
23834 if (temp8)
23835 delete arg8;
23836 }
23837 return resultobj;
23838 fail:
23839 {
23840 if (temp8)
23841 delete arg8;
23842 }
23843 return NULL;
23844 }
23845
23846
23847 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23848 PyObject *resultobj;
23849 wxListView *arg1 = (wxListView *) 0 ;
23850 long arg2 ;
23851 bool arg3 = (bool) True ;
23852 PyObject * obj0 = 0 ;
23853 PyObject * obj1 = 0 ;
23854 PyObject * obj2 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self",(char *) "n",(char *) "on", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23862 arg2 = (long) SWIG_AsLong(obj1);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 if (obj2) {
23865 arg3 = (bool) SWIG_AsBool(obj2);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 (arg1)->Select(arg2,arg3);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 Py_INCREF(Py_None); resultobj = Py_None;
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxListView *arg1 = (wxListView *) 0 ;
23885 long arg2 ;
23886 PyObject * obj0 = 0 ;
23887 PyObject * obj1 = 0 ;
23888 char *kwnames[] = {
23889 (char *) "self",(char *) "index", NULL
23890 };
23891
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23895 arg2 = (long) SWIG_AsLong(obj1);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->Focus(arg2);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxListView *arg1 = (wxListView *) 0 ;
23914 long result;
23915 PyObject * obj0 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "self", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 resultobj = SWIG_FromLong((long)result);
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj;
23939 wxListView *arg1 = (wxListView *) 0 ;
23940 long arg2 ;
23941 long result;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self",(char *) "item", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23951 arg2 = (long) SWIG_AsLong(obj1);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 resultobj = SWIG_FromLong((long)result);
23961 return resultobj;
23962 fail:
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxListView *arg1 = (wxListView *) 0 ;
23970 long result;
23971 PyObject * obj0 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 resultobj = SWIG_FromLong((long)result);
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxListView *arg1 = (wxListView *) 0 ;
23996 long arg2 ;
23997 bool result;
23998 PyObject * obj0 = 0 ;
23999 PyObject * obj1 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self",(char *) "index", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24007 arg2 = (long) SWIG_AsLong(obj1);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 result = (bool)(arg1)->IsSelected(arg2);
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 {
24017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24018 }
24019 return resultobj;
24020 fail:
24021 return NULL;
24022 }
24023
24024
24025 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24026 PyObject *resultobj;
24027 wxListView *arg1 = (wxListView *) 0 ;
24028 int arg2 ;
24029 int arg3 ;
24030 PyObject * obj0 = 0 ;
24031 PyObject * obj1 = 0 ;
24032 PyObject * obj2 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self",(char *) "col",(char *) "image", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24040 arg2 = (int) SWIG_AsInt(obj1);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 arg3 = (int) SWIG_AsInt(obj2);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 (arg1)->SetColumnImage(arg2,arg3);
24047
24048 wxPyEndAllowThreads(__tstate);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 }
24051 Py_INCREF(Py_None); resultobj = Py_None;
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxListView *arg1 = (wxListView *) 0 ;
24061 int arg2 ;
24062 PyObject * obj0 = 0 ;
24063 PyObject * obj1 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self",(char *) "col", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24071 arg2 = (int) SWIG_AsInt(obj1);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 (arg1)->ClearColumnImage(arg2);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 Py_INCREF(Py_None); resultobj = Py_None;
24081 return resultobj;
24082 fail:
24083 return NULL;
24084 }
24085
24086
24087 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
24088 PyObject *obj;
24089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24090 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24091 Py_INCREF(obj);
24092 return Py_BuildValue((char *)"");
24093 }
24094 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24095 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24096 return 1;
24097 }
24098
24099
24100 static PyObject *_wrap_TreeCtrlNameStr_get() {
24101 PyObject *pyobj;
24102
24103 {
24104 #if wxUSE_UNICODE
24105 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24106 #else
24107 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24108 #endif
24109 }
24110 return pyobj;
24111 }
24112
24113
24114 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24115 PyObject *resultobj;
24116 wxTreeItemId *result;
24117 char *kwnames[] = {
24118 NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24122 {
24123 PyThreadState* __tstate = wxPyBeginAllowThreads();
24124 result = (wxTreeItemId *)new wxTreeItemId();
24125
24126 wxPyEndAllowThreads(__tstate);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 }
24129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24130 return resultobj;
24131 fail:
24132 return NULL;
24133 }
24134
24135
24136 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24137 PyObject *resultobj;
24138 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24139 PyObject * obj0 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 delete arg1;
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 Py_INCREF(Py_None); resultobj = Py_None;
24155 return resultobj;
24156 fail:
24157 return NULL;
24158 }
24159
24160
24161 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24164 bool result;
24165 PyObject * obj0 = 0 ;
24166 char *kwnames[] = {
24167 (char *) "self", NULL
24168 };
24169
24170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 {
24181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24182 }
24183 return resultobj;
24184 fail:
24185 return NULL;
24186 }
24187
24188
24189 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj;
24191 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24192 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24193 bool result;
24194 PyObject * obj0 = 0 ;
24195 PyObject * obj1 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "other", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 {
24213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24214 }
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24224 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24225 bool result;
24226 PyObject * obj0 = 0 ;
24227 PyObject * obj1 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self",(char *) "other", NULL
24230 };
24231
24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24240
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 {
24245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24246 }
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj;
24255 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24256 void *arg2 = (void *) 0 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self",(char *) "m_pItem", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24266 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24267 if (arg1) (arg1)->m_pItem = arg2;
24268
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj;
24278 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24279 void *result;
24280 PyObject * obj0 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24288 result = (void *) ((arg1)->m_pItem);
24289
24290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24291 return resultobj;
24292 fail:
24293 return NULL;
24294 }
24295
24296
24297 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24298 PyObject *obj;
24299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24300 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24301 Py_INCREF(obj);
24302 return Py_BuildValue((char *)"");
24303 }
24304 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 PyObject *arg1 = (PyObject *) NULL ;
24307 wxPyTreeItemData *result;
24308 PyObject * obj0 = 0 ;
24309 char *kwnames[] = {
24310 (char *) "obj", NULL
24311 };
24312
24313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24314 if (obj0) {
24315 arg1 = obj0;
24316 }
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24332 PyObject *resultobj;
24333 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24334 PyObject *result;
24335 PyObject * obj0 = 0 ;
24336 char *kwnames[] = {
24337 (char *) "self", NULL
24338 };
24339
24340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24343 {
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 result = (PyObject *)(arg1)->GetData();
24346
24347 wxPyEndAllowThreads(__tstate);
24348 if (PyErr_Occurred()) SWIG_fail;
24349 }
24350 resultobj = result;
24351 return resultobj;
24352 fail:
24353 return NULL;
24354 }
24355
24356
24357 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj;
24359 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24360 PyObject *arg2 = (PyObject *) 0 ;
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self",(char *) "obj", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24370 arg2 = obj1;
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 (arg1)->SetData(arg2);
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 Py_INCREF(Py_None); resultobj = Py_None;
24379 return resultobj;
24380 fail:
24381 return NULL;
24382 }
24383
24384
24385 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj;
24387 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24388 wxTreeItemId *result;
24389 PyObject * obj0 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 {
24400 wxTreeItemId const &_result_ref = (arg1)->GetId();
24401 result = (wxTreeItemId *) &_result_ref;
24402 }
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24417 wxTreeItemId *arg2 = 0 ;
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "id", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24428 SWIG_POINTER_EXCEPTION | 0)) == -1)
24429 SWIG_fail;
24430 if (arg2 == NULL) {
24431 PyErr_SetString(PyExc_TypeError,"null reference");
24432 SWIG_fail;
24433 }
24434 {
24435 PyThreadState* __tstate = wxPyBeginAllowThreads();
24436 (arg1)->SetId((wxTreeItemId const &)*arg2);
24437
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 Py_INCREF(Py_None); resultobj = Py_None;
24442 return resultobj;
24443 fail:
24444 return NULL;
24445 }
24446
24447
24448 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj;
24450 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24451 PyObject * obj0 = 0 ;
24452 char *kwnames[] = {
24453 (char *) "self", NULL
24454 };
24455
24456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 wxPyTreeItemData_Destroy(arg1);
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 Py_INCREF(Py_None); resultobj = Py_None;
24467 return resultobj;
24468 fail:
24469 return NULL;
24470 }
24471
24472
24473 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24474 PyObject *obj;
24475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24476 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24477 Py_INCREF(obj);
24478 return Py_BuildValue((char *)"");
24479 }
24480 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24483 int arg2 = (int) 0 ;
24484 wxTreeEvent *result;
24485 PyObject * obj0 = 0 ;
24486 PyObject * obj1 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "commandType",(char *) "id", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24492 if (obj0) {
24493 arg1 = (wxEventType) SWIG_AsInt(obj0);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 if (obj1) {
24497 arg2 = (int) SWIG_AsInt(obj1);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24508 return resultobj;
24509 fail:
24510 return NULL;
24511 }
24512
24513
24514 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj;
24516 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24517 wxTreeItemId result;
24518 PyObject * obj0 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = ((wxTreeEvent const *)arg1)->GetItem();
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 {
24534 wxTreeItemId * resultptr;
24535 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24537 }
24538 return resultobj;
24539 fail:
24540 return NULL;
24541 }
24542
24543
24544 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj;
24546 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24547 wxTreeItemId *arg2 = 0 ;
24548 PyObject * obj0 = 0 ;
24549 PyObject * obj1 = 0 ;
24550 char *kwnames[] = {
24551 (char *) "self",(char *) "item", NULL
24552 };
24553
24554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24558 SWIG_POINTER_EXCEPTION | 0)) == -1)
24559 SWIG_fail;
24560 if (arg2 == NULL) {
24561 PyErr_SetString(PyExc_TypeError,"null reference");
24562 SWIG_fail;
24563 }
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 Py_INCREF(Py_None); resultobj = Py_None;
24572 return resultobj;
24573 fail:
24574 return NULL;
24575 }
24576
24577
24578 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj;
24580 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24581 wxTreeItemId result;
24582 PyObject * obj0 = 0 ;
24583 char *kwnames[] = {
24584 (char *) "self", NULL
24585 };
24586
24587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24590 {
24591 PyThreadState* __tstate = wxPyBeginAllowThreads();
24592 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24593
24594 wxPyEndAllowThreads(__tstate);
24595 if (PyErr_Occurred()) SWIG_fail;
24596 }
24597 {
24598 wxTreeItemId * resultptr;
24599 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24601 }
24602 return resultobj;
24603 fail:
24604 return NULL;
24605 }
24606
24607
24608 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24609 PyObject *resultobj;
24610 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24611 wxTreeItemId *arg2 = 0 ;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self",(char *) "item", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24622 SWIG_POINTER_EXCEPTION | 0)) == -1)
24623 SWIG_fail;
24624 if (arg2 == NULL) {
24625 PyErr_SetString(PyExc_TypeError,"null reference");
24626 SWIG_fail;
24627 }
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24631
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 Py_INCREF(Py_None); resultobj = Py_None;
24636 return resultobj;
24637 fail:
24638 return NULL;
24639 }
24640
24641
24642 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj;
24644 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24645 wxPoint result;
24646 PyObject * obj0 = 0 ;
24647 char *kwnames[] = {
24648 (char *) "self", NULL
24649 };
24650
24651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24654 {
24655 PyThreadState* __tstate = wxPyBeginAllowThreads();
24656 result = ((wxTreeEvent const *)arg1)->GetPoint();
24657
24658 wxPyEndAllowThreads(__tstate);
24659 if (PyErr_Occurred()) SWIG_fail;
24660 }
24661 {
24662 wxPoint * resultptr;
24663 resultptr = new wxPoint((wxPoint &) result);
24664 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24665 }
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24673 PyObject *resultobj;
24674 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24675 wxPoint *arg2 = 0 ;
24676 wxPoint temp2 ;
24677 PyObject * obj0 = 0 ;
24678 PyObject * obj1 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self",(char *) "pt", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 {
24687 arg2 = &temp2;
24688 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24689 }
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 (arg1)->SetPoint((wxPoint const &)*arg2);
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 Py_INCREF(Py_None); resultobj = Py_None;
24698 return resultobj;
24699 fail:
24700 return NULL;
24701 }
24702
24703
24704 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj;
24706 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24707 wxKeyEvent *result;
24708 PyObject * obj0 = 0 ;
24709 char *kwnames[] = {
24710 (char *) "self", NULL
24711 };
24712
24713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 {
24719 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24720 result = (wxKeyEvent *) &_result_ref;
24721 }
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24727 return resultobj;
24728 fail:
24729 return NULL;
24730 }
24731
24732
24733 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj;
24735 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24736 int result;
24737 PyObject * obj0 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "self", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 resultobj = SWIG_FromInt((int)result);
24753 return resultobj;
24754 fail:
24755 return NULL;
24756 }
24757
24758
24759 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24762 wxKeyEvent *arg2 = 0 ;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "evt", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24773 SWIG_POINTER_EXCEPTION | 0)) == -1)
24774 SWIG_fail;
24775 if (arg2 == NULL) {
24776 PyErr_SetString(PyExc_TypeError,"null reference");
24777 SWIG_fail;
24778 }
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 Py_INCREF(Py_None); resultobj = Py_None;
24787 return resultobj;
24788 fail:
24789 return NULL;
24790 }
24791
24792
24793 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj;
24795 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24796 wxString *result;
24797 PyObject * obj0 = 0 ;
24798 char *kwnames[] = {
24799 (char *) "self", NULL
24800 };
24801
24802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 {
24808 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24809 result = (wxString *) &_result_ref;
24810 }
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 {
24816 #if wxUSE_UNICODE
24817 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24818 #else
24819 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24820 #endif
24821 }
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24829 PyObject *resultobj;
24830 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24831 wxString *arg2 = 0 ;
24832 bool temp2 = False ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self",(char *) "label", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24842 {
24843 arg2 = wxString_in_helper(obj1);
24844 if (arg2 == NULL) SWIG_fail;
24845 temp2 = True;
24846 }
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->SetLabel((wxString const &)*arg2);
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 {
24856 if (temp2)
24857 delete arg2;
24858 }
24859 return resultobj;
24860 fail:
24861 {
24862 if (temp2)
24863 delete arg2;
24864 }
24865 return NULL;
24866 }
24867
24868
24869 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24870 PyObject *resultobj;
24871 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24872 bool result;
24873 PyObject * obj0 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 {
24889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24900 bool arg2 ;
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self",(char *) "editCancelled", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24910 arg2 = (bool) SWIG_AsBool(obj1);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->SetEditCanceled(arg2);
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923 }
24924
24925
24926 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj;
24928 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24929 wxString *arg2 = 0 ;
24930 bool temp2 = False ;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "toolTip", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24940 {
24941 arg2 = wxString_in_helper(obj1);
24942 if (arg2 == NULL) SWIG_fail;
24943 temp2 = True;
24944 }
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 (arg1)->SetToolTip((wxString const &)*arg2);
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 Py_INCREF(Py_None); resultobj = Py_None;
24953 {
24954 if (temp2)
24955 delete arg2;
24956 }
24957 return resultobj;
24958 fail:
24959 {
24960 if (temp2)
24961 delete arg2;
24962 }
24963 return NULL;
24964 }
24965
24966
24967 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24968 PyObject *obj;
24969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24971 Py_INCREF(obj);
24972 return Py_BuildValue((char *)"");
24973 }
24974 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj;
24976 wxWindow *arg1 = (wxWindow *) 0 ;
24977 int arg2 = (int) -1 ;
24978 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24979 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24980 wxSize const &arg4_defvalue = wxDefaultSize ;
24981 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24982 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24983 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24984 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24985 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24986 wxString *arg7 = (wxString *) &arg7_defvalue ;
24987 wxPyTreeCtrl *result;
24988 wxPoint temp3 ;
24989 wxSize temp4 ;
24990 bool temp7 = False ;
24991 PyObject * obj0 = 0 ;
24992 PyObject * obj1 = 0 ;
24993 PyObject * obj2 = 0 ;
24994 PyObject * obj3 = 0 ;
24995 PyObject * obj4 = 0 ;
24996 PyObject * obj5 = 0 ;
24997 PyObject * obj6 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25005 if (obj1) {
25006 arg2 = (int) SWIG_AsInt(obj1);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 if (obj2) {
25010 {
25011 arg3 = &temp3;
25012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25013 }
25014 }
25015 if (obj3) {
25016 {
25017 arg4 = &temp4;
25018 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25019 }
25020 }
25021 if (obj4) {
25022 arg5 = (long) SWIG_AsLong(obj4);
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
25025 if (obj5) {
25026 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25027 SWIG_POINTER_EXCEPTION | 0)) == -1)
25028 SWIG_fail;
25029 if (arg6 == NULL) {
25030 PyErr_SetString(PyExc_TypeError,"null reference");
25031 SWIG_fail;
25032 }
25033 }
25034 if (obj6) {
25035 {
25036 arg7 = wxString_in_helper(obj6);
25037 if (arg7 == NULL) SWIG_fail;
25038 temp7 = True;
25039 }
25040 }
25041 {
25042 if (!wxPyCheckForApp()) SWIG_fail;
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25045
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 {
25050 resultobj = wxPyMake_wxObject(result);
25051 }
25052 {
25053 if (temp7)
25054 delete arg7;
25055 }
25056 return resultobj;
25057 fail:
25058 {
25059 if (temp7)
25060 delete arg7;
25061 }
25062 return NULL;
25063 }
25064
25065
25066 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25067 PyObject *resultobj;
25068 wxPyTreeCtrl *result;
25069 char *kwnames[] = {
25070 NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25074 {
25075 if (!wxPyCheckForApp()) SWIG_fail;
25076 PyThreadState* __tstate = wxPyBeginAllowThreads();
25077 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25078
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 {
25083 resultobj = wxPyMake_wxObject(result);
25084 }
25085 return resultobj;
25086 fail:
25087 return NULL;
25088 }
25089
25090
25091 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25092 PyObject *resultobj;
25093 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25094 wxWindow *arg2 = (wxWindow *) 0 ;
25095 int arg3 = (int) -1 ;
25096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25098 wxSize const &arg5_defvalue = wxDefaultSize ;
25099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25100 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25101 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25102 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25103 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25104 wxString *arg8 = (wxString *) &arg8_defvalue ;
25105 bool result;
25106 wxPoint temp4 ;
25107 wxSize temp5 ;
25108 bool temp8 = False ;
25109 PyObject * obj0 = 0 ;
25110 PyObject * obj1 = 0 ;
25111 PyObject * obj2 = 0 ;
25112 PyObject * obj3 = 0 ;
25113 PyObject * obj4 = 0 ;
25114 PyObject * obj5 = 0 ;
25115 PyObject * obj6 = 0 ;
25116 PyObject * obj7 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25126 if (obj2) {
25127 arg3 = (int) SWIG_AsInt(obj2);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 if (obj3) {
25131 {
25132 arg4 = &temp4;
25133 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25134 }
25135 }
25136 if (obj4) {
25137 {
25138 arg5 = &temp5;
25139 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25140 }
25141 }
25142 if (obj5) {
25143 arg6 = (long) SWIG_AsLong(obj5);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
25146 if (obj6) {
25147 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25148 SWIG_POINTER_EXCEPTION | 0)) == -1)
25149 SWIG_fail;
25150 if (arg7 == NULL) {
25151 PyErr_SetString(PyExc_TypeError,"null reference");
25152 SWIG_fail;
25153 }
25154 }
25155 if (obj7) {
25156 {
25157 arg8 = wxString_in_helper(obj7);
25158 if (arg8 == NULL) SWIG_fail;
25159 temp8 = True;
25160 }
25161 }
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 {
25170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25171 }
25172 {
25173 if (temp8)
25174 delete arg8;
25175 }
25176 return resultobj;
25177 fail:
25178 {
25179 if (temp8)
25180 delete arg8;
25181 }
25182 return NULL;
25183 }
25184
25185
25186 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25189 PyObject *arg2 = (PyObject *) 0 ;
25190 PyObject *arg3 = (PyObject *) 0 ;
25191 PyObject * obj0 = 0 ;
25192 PyObject * obj1 = 0 ;
25193 PyObject * obj2 = 0 ;
25194 char *kwnames[] = {
25195 (char *) "self",(char *) "self",(char *) "_class", NULL
25196 };
25197
25198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25201 arg2 = obj1;
25202 arg3 = obj2;
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->_setCallbackInfo(arg2,arg3);
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 Py_INCREF(Py_None); resultobj = Py_None;
25211 return resultobj;
25212 fail:
25213 return NULL;
25214 }
25215
25216
25217 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25218 PyObject *resultobj;
25219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25220 size_t result;
25221 PyObject * obj0 = 0 ;
25222 char *kwnames[] = {
25223 (char *) "self", NULL
25224 };
25225
25226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25246 unsigned int result;
25247 PyObject * obj0 = 0 ;
25248 char *kwnames[] = {
25249 (char *) "self", NULL
25250 };
25251
25252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25258
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25263 return resultobj;
25264 fail:
25265 return NULL;
25266 }
25267
25268
25269 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25270 PyObject *resultobj;
25271 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25272 unsigned int arg2 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 char *kwnames[] = {
25276 (char *) "self",(char *) "indent", NULL
25277 };
25278
25279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25282 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 (arg1)->SetIndent(arg2);
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 Py_INCREF(Py_None); resultobj = Py_None;
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25301 unsigned int result;
25302 PyObject * obj0 = 0 ;
25303 char *kwnames[] = {
25304 (char *) "self", NULL
25305 };
25306
25307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25318 return resultobj;
25319 fail:
25320 return NULL;
25321 }
25322
25323
25324 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25325 PyObject *resultobj;
25326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25327 unsigned int arg2 ;
25328 PyObject * obj0 = 0 ;
25329 PyObject * obj1 = 0 ;
25330 char *kwnames[] = {
25331 (char *) "self",(char *) "spacing", NULL
25332 };
25333
25334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25337 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 (arg1)->SetSpacing(arg2);
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 Py_INCREF(Py_None); resultobj = Py_None;
25347 return resultobj;
25348 fail:
25349 return NULL;
25350 }
25351
25352
25353 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25356 wxImageList *result;
25357 PyObject * obj0 = 0 ;
25358 char *kwnames[] = {
25359 (char *) "self", NULL
25360 };
25361
25362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 {
25373 resultobj = wxPyMake_wxObject(result);
25374 }
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25384 wxImageList *result;
25385 PyObject * obj0 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "self", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 {
25401 resultobj = wxPyMake_wxObject(result);
25402 }
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25410 PyObject *resultobj;
25411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25412 wxImageList *arg2 = (wxImageList *) 0 ;
25413 PyObject * obj0 = 0 ;
25414 PyObject * obj1 = 0 ;
25415 char *kwnames[] = {
25416 (char *) "self",(char *) "imageList", NULL
25417 };
25418
25419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 (arg1)->SetImageList(arg2);
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 Py_INCREF(Py_None); resultobj = Py_None;
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj;
25440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25441 wxImageList *arg2 = (wxImageList *) 0 ;
25442 PyObject * obj0 = 0 ;
25443 PyObject * obj1 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self",(char *) "imageList", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->SetStateImageList(arg2);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 return resultobj;
25462 fail:
25463 return NULL;
25464 }
25465
25466
25467 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj;
25469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25470 wxImageList *arg2 = (wxImageList *) 0 ;
25471 PyObject * obj0 = 0 ;
25472 PyObject * obj1 = 0 ;
25473 char *kwnames[] = {
25474 (char *) "self",(char *) "imageList", NULL
25475 };
25476
25477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25481 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 (arg1)->AssignImageList(arg2);
25485
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 Py_INCREF(Py_None); resultobj = Py_None;
25490 return resultobj;
25491 fail:
25492 return NULL;
25493 }
25494
25495
25496 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj;
25498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25499 wxImageList *arg2 = (wxImageList *) 0 ;
25500 PyObject * obj0 = 0 ;
25501 PyObject * obj1 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "self",(char *) "imageList", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25510 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 (arg1)->AssignStateImageList(arg2);
25514
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 Py_INCREF(Py_None); resultobj = Py_None;
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25528 wxTreeItemId *arg2 = 0 ;
25529 wxString result;
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "self",(char *) "item", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25540 SWIG_POINTER_EXCEPTION | 0)) == -1)
25541 SWIG_fail;
25542 if (arg2 == NULL) {
25543 PyErr_SetString(PyExc_TypeError,"null reference");
25544 SWIG_fail;
25545 }
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 {
25554 #if wxUSE_UNICODE
25555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25556 #else
25557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25558 #endif
25559 }
25560 return resultobj;
25561 fail:
25562 return NULL;
25563 }
25564
25565
25566 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25567 PyObject *resultobj;
25568 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25569 wxTreeItemId *arg2 = 0 ;
25570 int arg3 = (int) wxTreeItemIcon_Normal ;
25571 int result;
25572 PyObject * obj0 = 0 ;
25573 PyObject * obj1 = 0 ;
25574 PyObject * obj2 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "self",(char *) "item",(char *) "which", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25583 SWIG_POINTER_EXCEPTION | 0)) == -1)
25584 SWIG_fail;
25585 if (arg2 == NULL) {
25586 PyErr_SetString(PyExc_TypeError,"null reference");
25587 SWIG_fail;
25588 }
25589 if (obj2) {
25590 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 resultobj = SWIG_FromInt((int)result);
25601 return resultobj;
25602 fail:
25603 return NULL;
25604 }
25605
25606
25607 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25608 PyObject *resultobj;
25609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25610 wxTreeItemId *arg2 = 0 ;
25611 wxPyTreeItemData *result;
25612 PyObject * obj0 = 0 ;
25613 PyObject * obj1 = 0 ;
25614 char *kwnames[] = {
25615 (char *) "self",(char *) "item", NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25622 SWIG_POINTER_EXCEPTION | 0)) == -1)
25623 SWIG_fail;
25624 if (arg2 == NULL) {
25625 PyErr_SetString(PyExc_TypeError,"null reference");
25626 SWIG_fail;
25627 }
25628 {
25629 PyThreadState* __tstate = wxPyBeginAllowThreads();
25630 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25631
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25636 return resultobj;
25637 fail:
25638 return NULL;
25639 }
25640
25641
25642 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25643 PyObject *resultobj;
25644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25645 wxTreeItemId *arg2 = 0 ;
25646 PyObject *result;
25647 PyObject * obj0 = 0 ;
25648 PyObject * obj1 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self",(char *) "item", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25657 SWIG_POINTER_EXCEPTION | 0)) == -1)
25658 SWIG_fail;
25659 if (arg2 == NULL) {
25660 PyErr_SetString(PyExc_TypeError,"null reference");
25661 SWIG_fail;
25662 }
25663 {
25664 PyThreadState* __tstate = wxPyBeginAllowThreads();
25665 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25666
25667 wxPyEndAllowThreads(__tstate);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 resultobj = result;
25671 return resultobj;
25672 fail:
25673 return NULL;
25674 }
25675
25676
25677 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25678 PyObject *resultobj;
25679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25680 wxTreeItemId *arg2 = 0 ;
25681 wxColour result;
25682 PyObject * obj0 = 0 ;
25683 PyObject * obj1 = 0 ;
25684 char *kwnames[] = {
25685 (char *) "self",(char *) "item", NULL
25686 };
25687
25688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25692 SWIG_POINTER_EXCEPTION | 0)) == -1)
25693 SWIG_fail;
25694 if (arg2 == NULL) {
25695 PyErr_SetString(PyExc_TypeError,"null reference");
25696 SWIG_fail;
25697 }
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 {
25706 wxColour * resultptr;
25707 resultptr = new wxColour((wxColour &) result);
25708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25709 }
25710 return resultobj;
25711 fail:
25712 return NULL;
25713 }
25714
25715
25716 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25717 PyObject *resultobj;
25718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25719 wxTreeItemId *arg2 = 0 ;
25720 wxColour result;
25721 PyObject * obj0 = 0 ;
25722 PyObject * obj1 = 0 ;
25723 char *kwnames[] = {
25724 (char *) "self",(char *) "item", NULL
25725 };
25726
25727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25731 SWIG_POINTER_EXCEPTION | 0)) == -1)
25732 SWIG_fail;
25733 if (arg2 == NULL) {
25734 PyErr_SetString(PyExc_TypeError,"null reference");
25735 SWIG_fail;
25736 }
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 {
25745 wxColour * resultptr;
25746 resultptr = new wxColour((wxColour &) result);
25747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25748 }
25749 return resultobj;
25750 fail:
25751 return NULL;
25752 }
25753
25754
25755 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25756 PyObject *resultobj;
25757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25758 wxTreeItemId *arg2 = 0 ;
25759 wxFont result;
25760 PyObject * obj0 = 0 ;
25761 PyObject * obj1 = 0 ;
25762 char *kwnames[] = {
25763 (char *) "self",(char *) "item", NULL
25764 };
25765
25766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25770 SWIG_POINTER_EXCEPTION | 0)) == -1)
25771 SWIG_fail;
25772 if (arg2 == NULL) {
25773 PyErr_SetString(PyExc_TypeError,"null reference");
25774 SWIG_fail;
25775 }
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25779
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 {
25784 wxFont * resultptr;
25785 resultptr = new wxFont((wxFont &) result);
25786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25787 }
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25795 PyObject *resultobj;
25796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25797 wxTreeItemId *arg2 = 0 ;
25798 wxString *arg3 = 0 ;
25799 bool temp3 = False ;
25800 PyObject * obj0 = 0 ;
25801 PyObject * obj1 = 0 ;
25802 PyObject * obj2 = 0 ;
25803 char *kwnames[] = {
25804 (char *) "self",(char *) "item",(char *) "text", NULL
25805 };
25806
25807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25811 SWIG_POINTER_EXCEPTION | 0)) == -1)
25812 SWIG_fail;
25813 if (arg2 == NULL) {
25814 PyErr_SetString(PyExc_TypeError,"null reference");
25815 SWIG_fail;
25816 }
25817 {
25818 arg3 = wxString_in_helper(obj2);
25819 if (arg3 == NULL) SWIG_fail;
25820 temp3 = True;
25821 }
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 Py_INCREF(Py_None); resultobj = Py_None;
25830 {
25831 if (temp3)
25832 delete arg3;
25833 }
25834 return resultobj;
25835 fail:
25836 {
25837 if (temp3)
25838 delete arg3;
25839 }
25840 return NULL;
25841 }
25842
25843
25844 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj;
25846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25847 wxTreeItemId *arg2 = 0 ;
25848 int arg3 ;
25849 int arg4 = (int) wxTreeItemIcon_Normal ;
25850 PyObject * obj0 = 0 ;
25851 PyObject * obj1 = 0 ;
25852 PyObject * obj2 = 0 ;
25853 PyObject * obj3 = 0 ;
25854 char *kwnames[] = {
25855 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25856 };
25857
25858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25862 SWIG_POINTER_EXCEPTION | 0)) == -1)
25863 SWIG_fail;
25864 if (arg2 == NULL) {
25865 PyErr_SetString(PyExc_TypeError,"null reference");
25866 SWIG_fail;
25867 }
25868 arg3 = (int) SWIG_AsInt(obj2);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 if (obj3) {
25871 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
25874 {
25875 PyThreadState* __tstate = wxPyBeginAllowThreads();
25876 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25877
25878 wxPyEndAllowThreads(__tstate);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 }
25881 Py_INCREF(Py_None); resultobj = Py_None;
25882 return resultobj;
25883 fail:
25884 return NULL;
25885 }
25886
25887
25888 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25889 PyObject *resultobj;
25890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25891 wxTreeItemId *arg2 = 0 ;
25892 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25893 PyObject * obj0 = 0 ;
25894 PyObject * obj1 = 0 ;
25895 PyObject * obj2 = 0 ;
25896 char *kwnames[] = {
25897 (char *) "self",(char *) "item",(char *) "data", NULL
25898 };
25899
25900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25904 SWIG_POINTER_EXCEPTION | 0)) == -1)
25905 SWIG_fail;
25906 if (arg2 == NULL) {
25907 PyErr_SetString(PyExc_TypeError,"null reference");
25908 SWIG_fail;
25909 }
25910 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 Py_INCREF(Py_None); resultobj = Py_None;
25920 return resultobj;
25921 fail:
25922 return NULL;
25923 }
25924
25925
25926 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25927 PyObject *resultobj;
25928 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25929 wxTreeItemId *arg2 = 0 ;
25930 PyObject *arg3 = (PyObject *) 0 ;
25931 PyObject * obj0 = 0 ;
25932 PyObject * obj1 = 0 ;
25933 PyObject * obj2 = 0 ;
25934 char *kwnames[] = {
25935 (char *) "self",(char *) "item",(char *) "obj", NULL
25936 };
25937
25938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25942 SWIG_POINTER_EXCEPTION | 0)) == -1)
25943 SWIG_fail;
25944 if (arg2 == NULL) {
25945 PyErr_SetString(PyExc_TypeError,"null reference");
25946 SWIG_fail;
25947 }
25948 arg3 = obj2;
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 Py_INCREF(Py_None); resultobj = Py_None;
25957 return resultobj;
25958 fail:
25959 return NULL;
25960 }
25961
25962
25963 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25964 PyObject *resultobj;
25965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25966 wxTreeItemId *arg2 = 0 ;
25967 bool arg3 = (bool) True ;
25968 PyObject * obj0 = 0 ;
25969 PyObject * obj1 = 0 ;
25970 PyObject * obj2 = 0 ;
25971 char *kwnames[] = {
25972 (char *) "self",(char *) "item",(char *) "has", NULL
25973 };
25974
25975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25979 SWIG_POINTER_EXCEPTION | 0)) == -1)
25980 SWIG_fail;
25981 if (arg2 == NULL) {
25982 PyErr_SetString(PyExc_TypeError,"null reference");
25983 SWIG_fail;
25984 }
25985 if (obj2) {
25986 arg3 = (bool) SWIG_AsBool(obj2);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25992
25993 wxPyEndAllowThreads(__tstate);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 Py_INCREF(Py_None); resultobj = Py_None;
25997 return resultobj;
25998 fail:
25999 return NULL;
26000 }
26001
26002
26003 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26004 PyObject *resultobj;
26005 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26006 wxTreeItemId *arg2 = 0 ;
26007 bool arg3 = (bool) True ;
26008 PyObject * obj0 = 0 ;
26009 PyObject * obj1 = 0 ;
26010 PyObject * obj2 = 0 ;
26011 char *kwnames[] = {
26012 (char *) "self",(char *) "item",(char *) "bold", NULL
26013 };
26014
26015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26019 SWIG_POINTER_EXCEPTION | 0)) == -1)
26020 SWIG_fail;
26021 if (arg2 == NULL) {
26022 PyErr_SetString(PyExc_TypeError,"null reference");
26023 SWIG_fail;
26024 }
26025 if (obj2) {
26026 arg3 = (bool) SWIG_AsBool(obj2);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 }
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26032
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 Py_INCREF(Py_None); resultobj = Py_None;
26037 return resultobj;
26038 fail:
26039 return NULL;
26040 }
26041
26042
26043 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26044 PyObject *resultobj;
26045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26046 wxTreeItemId *arg2 = 0 ;
26047 wxColour *arg3 = 0 ;
26048 wxColour temp3 ;
26049 PyObject * obj0 = 0 ;
26050 PyObject * obj1 = 0 ;
26051 PyObject * obj2 = 0 ;
26052 char *kwnames[] = {
26053 (char *) "self",(char *) "item",(char *) "col", NULL
26054 };
26055
26056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1)
26061 SWIG_fail;
26062 if (arg2 == NULL) {
26063 PyErr_SetString(PyExc_TypeError,"null reference");
26064 SWIG_fail;
26065 }
26066 {
26067 arg3 = &temp3;
26068 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26069 }
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 Py_INCREF(Py_None); resultobj = Py_None;
26078 return resultobj;
26079 fail:
26080 return NULL;
26081 }
26082
26083
26084 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26087 wxTreeItemId *arg2 = 0 ;
26088 wxColour *arg3 = 0 ;
26089 wxColour temp3 ;
26090 PyObject * obj0 = 0 ;
26091 PyObject * obj1 = 0 ;
26092 PyObject * obj2 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "item",(char *) "col", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26101 SWIG_POINTER_EXCEPTION | 0)) == -1)
26102 SWIG_fail;
26103 if (arg2 == NULL) {
26104 PyErr_SetString(PyExc_TypeError,"null reference");
26105 SWIG_fail;
26106 }
26107 {
26108 arg3 = &temp3;
26109 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26110 }
26111 {
26112 PyThreadState* __tstate = wxPyBeginAllowThreads();
26113 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26114
26115 wxPyEndAllowThreads(__tstate);
26116 if (PyErr_Occurred()) SWIG_fail;
26117 }
26118 Py_INCREF(Py_None); resultobj = Py_None;
26119 return resultobj;
26120 fail:
26121 return NULL;
26122 }
26123
26124
26125 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26126 PyObject *resultobj;
26127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26128 wxTreeItemId *arg2 = 0 ;
26129 wxFont *arg3 = 0 ;
26130 PyObject * obj0 = 0 ;
26131 PyObject * obj1 = 0 ;
26132 PyObject * obj2 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "self",(char *) "item",(char *) "font", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26141 SWIG_POINTER_EXCEPTION | 0)) == -1)
26142 SWIG_fail;
26143 if (arg2 == NULL) {
26144 PyErr_SetString(PyExc_TypeError,"null reference");
26145 SWIG_fail;
26146 }
26147 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26148 SWIG_POINTER_EXCEPTION | 0)) == -1)
26149 SWIG_fail;
26150 if (arg3 == NULL) {
26151 PyErr_SetString(PyExc_TypeError,"null reference");
26152 SWIG_fail;
26153 }
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
26156 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26157
26158 wxPyEndAllowThreads(__tstate);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 }
26161 Py_INCREF(Py_None); resultobj = Py_None;
26162 return resultobj;
26163 fail:
26164 return NULL;
26165 }
26166
26167
26168 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26169 PyObject *resultobj;
26170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26171 wxTreeItemId *arg2 = 0 ;
26172 bool result;
26173 PyObject * obj0 = 0 ;
26174 PyObject * obj1 = 0 ;
26175 char *kwnames[] = {
26176 (char *) "self",(char *) "item", NULL
26177 };
26178
26179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26183 SWIG_POINTER_EXCEPTION | 0)) == -1)
26184 SWIG_fail;
26185 if (arg2 == NULL) {
26186 PyErr_SetString(PyExc_TypeError,"null reference");
26187 SWIG_fail;
26188 }
26189 {
26190 PyThreadState* __tstate = wxPyBeginAllowThreads();
26191 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26192
26193 wxPyEndAllowThreads(__tstate);
26194 if (PyErr_Occurred()) SWIG_fail;
26195 }
26196 {
26197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26198 }
26199 return resultobj;
26200 fail:
26201 return NULL;
26202 }
26203
26204
26205 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj;
26207 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26208 wxTreeItemId *arg2 = 0 ;
26209 bool result;
26210 PyObject * obj0 = 0 ;
26211 PyObject * obj1 = 0 ;
26212 char *kwnames[] = {
26213 (char *) "self",(char *) "item", NULL
26214 };
26215
26216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26220 SWIG_POINTER_EXCEPTION | 0)) == -1)
26221 SWIG_fail;
26222 if (arg2 == NULL) {
26223 PyErr_SetString(PyExc_TypeError,"null reference");
26224 SWIG_fail;
26225 }
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 {
26234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26235 }
26236 return resultobj;
26237 fail:
26238 return NULL;
26239 }
26240
26241
26242 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26243 PyObject *resultobj;
26244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26245 wxTreeItemId *arg2 = 0 ;
26246 bool result;
26247 PyObject * obj0 = 0 ;
26248 PyObject * obj1 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self",(char *) "item", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26257 SWIG_POINTER_EXCEPTION | 0)) == -1)
26258 SWIG_fail;
26259 if (arg2 == NULL) {
26260 PyErr_SetString(PyExc_TypeError,"null reference");
26261 SWIG_fail;
26262 }
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26266
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 {
26271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26272 }
26273 return resultobj;
26274 fail:
26275 return NULL;
26276 }
26277
26278
26279 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26280 PyObject *resultobj;
26281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26282 wxTreeItemId *arg2 = 0 ;
26283 bool result;
26284 PyObject * obj0 = 0 ;
26285 PyObject * obj1 = 0 ;
26286 char *kwnames[] = {
26287 (char *) "self",(char *) "item", NULL
26288 };
26289
26290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26294 SWIG_POINTER_EXCEPTION | 0)) == -1)
26295 SWIG_fail;
26296 if (arg2 == NULL) {
26297 PyErr_SetString(PyExc_TypeError,"null reference");
26298 SWIG_fail;
26299 }
26300 {
26301 PyThreadState* __tstate = wxPyBeginAllowThreads();
26302 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26303
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 {
26308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26309 }
26310 return resultobj;
26311 fail:
26312 return NULL;
26313 }
26314
26315
26316 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26317 PyObject *resultobj;
26318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26319 wxTreeItemId *arg2 = 0 ;
26320 bool result;
26321 PyObject * obj0 = 0 ;
26322 PyObject * obj1 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "item", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26331 SWIG_POINTER_EXCEPTION | 0)) == -1)
26332 SWIG_fail;
26333 if (arg2 == NULL) {
26334 PyErr_SetString(PyExc_TypeError,"null reference");
26335 SWIG_fail;
26336 }
26337 {
26338 PyThreadState* __tstate = wxPyBeginAllowThreads();
26339 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26340
26341 wxPyEndAllowThreads(__tstate);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 }
26344 {
26345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26346 }
26347 return resultobj;
26348 fail:
26349 return NULL;
26350 }
26351
26352
26353 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26354 PyObject *resultobj;
26355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26356 wxTreeItemId *arg2 = 0 ;
26357 bool arg3 = (bool) True ;
26358 size_t result;
26359 PyObject * obj0 = 0 ;
26360 PyObject * obj1 = 0 ;
26361 PyObject * obj2 = 0 ;
26362 char *kwnames[] = {
26363 (char *) "self",(char *) "item",(char *) "recursively", NULL
26364 };
26365
26366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26370 SWIG_POINTER_EXCEPTION | 0)) == -1)
26371 SWIG_fail;
26372 if (arg2 == NULL) {
26373 PyErr_SetString(PyExc_TypeError,"null reference");
26374 SWIG_fail;
26375 }
26376 if (obj2) {
26377 arg3 = (bool) SWIG_AsBool(obj2);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 {
26381 PyThreadState* __tstate = wxPyBeginAllowThreads();
26382 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26383
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26388 return resultobj;
26389 fail:
26390 return NULL;
26391 }
26392
26393
26394 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26395 PyObject *resultobj;
26396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26397 wxTreeItemId result;
26398 PyObject * obj0 = 0 ;
26399 char *kwnames[] = {
26400 (char *) "self", NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 {
26414 wxTreeItemId * resultptr;
26415 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26417 }
26418 return resultobj;
26419 fail:
26420 return NULL;
26421 }
26422
26423
26424 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26425 PyObject *resultobj;
26426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26427 wxTreeItemId result;
26428 PyObject * obj0 = 0 ;
26429 char *kwnames[] = {
26430 (char *) "self", NULL
26431 };
26432
26433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 {
26444 wxTreeItemId * resultptr;
26445 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26447 }
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26457 PyObject *result;
26458 PyObject * obj0 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26466 {
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26469
26470 wxPyEndAllowThreads(__tstate);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 }
26473 resultobj = result;
26474 return resultobj;
26475 fail:
26476 return NULL;
26477 }
26478
26479
26480 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26481 PyObject *resultobj;
26482 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26483 wxTreeItemId *arg2 = 0 ;
26484 wxTreeItemId result;
26485 PyObject * obj0 = 0 ;
26486 PyObject * obj1 = 0 ;
26487 char *kwnames[] = {
26488 (char *) "self",(char *) "item", NULL
26489 };
26490
26491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26495 SWIG_POINTER_EXCEPTION | 0)) == -1)
26496 SWIG_fail;
26497 if (arg2 == NULL) {
26498 PyErr_SetString(PyExc_TypeError,"null reference");
26499 SWIG_fail;
26500 }
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26504
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 {
26509 wxTreeItemId * resultptr;
26510 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26512 }
26513 return resultobj;
26514 fail:
26515 return NULL;
26516 }
26517
26518
26519 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26520 PyObject *resultobj;
26521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26522 wxTreeItemId *arg2 = 0 ;
26523 PyObject *result;
26524 PyObject * obj0 = 0 ;
26525 PyObject * obj1 = 0 ;
26526 char *kwnames[] = {
26527 (char *) "self",(char *) "item", NULL
26528 };
26529
26530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26534 SWIG_POINTER_EXCEPTION | 0)) == -1)
26535 SWIG_fail;
26536 if (arg2 == NULL) {
26537 PyErr_SetString(PyExc_TypeError,"null reference");
26538 SWIG_fail;
26539 }
26540 {
26541 PyThreadState* __tstate = wxPyBeginAllowThreads();
26542 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26543
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 resultobj = result;
26548 return resultobj;
26549 fail:
26550 return NULL;
26551 }
26552
26553
26554 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26555 PyObject *resultobj;
26556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26557 wxTreeItemId *arg2 = 0 ;
26558 void *arg3 = (void *) 0 ;
26559 PyObject *result;
26560 PyObject * obj0 = 0 ;
26561 PyObject * obj1 = 0 ;
26562 PyObject * obj2 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self",(char *) "item",(char *) "cookie", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26571 SWIG_POINTER_EXCEPTION | 0)) == -1)
26572 SWIG_fail;
26573 if (arg2 == NULL) {
26574 PyErr_SetString(PyExc_TypeError,"null reference");
26575 SWIG_fail;
26576 }
26577 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26578 {
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26581
26582 wxPyEndAllowThreads(__tstate);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 resultobj = result;
26586 return resultobj;
26587 fail:
26588 return NULL;
26589 }
26590
26591
26592 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26593 PyObject *resultobj;
26594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26595 wxTreeItemId *arg2 = 0 ;
26596 wxTreeItemId result;
26597 PyObject * obj0 = 0 ;
26598 PyObject * obj1 = 0 ;
26599 char *kwnames[] = {
26600 (char *) "self",(char *) "item", NULL
26601 };
26602
26603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26607 SWIG_POINTER_EXCEPTION | 0)) == -1)
26608 SWIG_fail;
26609 if (arg2 == NULL) {
26610 PyErr_SetString(PyExc_TypeError,"null reference");
26611 SWIG_fail;
26612 }
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 {
26621 wxTreeItemId * resultptr;
26622 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26624 }
26625 return resultobj;
26626 fail:
26627 return NULL;
26628 }
26629
26630
26631 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj;
26633 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26634 wxTreeItemId *arg2 = 0 ;
26635 wxTreeItemId result;
26636 PyObject * obj0 = 0 ;
26637 PyObject * obj1 = 0 ;
26638 char *kwnames[] = {
26639 (char *) "self",(char *) "item", NULL
26640 };
26641
26642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26646 SWIG_POINTER_EXCEPTION | 0)) == -1)
26647 SWIG_fail;
26648 if (arg2 == NULL) {
26649 PyErr_SetString(PyExc_TypeError,"null reference");
26650 SWIG_fail;
26651 }
26652 {
26653 PyThreadState* __tstate = wxPyBeginAllowThreads();
26654 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26655
26656 wxPyEndAllowThreads(__tstate);
26657 if (PyErr_Occurred()) SWIG_fail;
26658 }
26659 {
26660 wxTreeItemId * resultptr;
26661 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26663 }
26664 return resultobj;
26665 fail:
26666 return NULL;
26667 }
26668
26669
26670 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26671 PyObject *resultobj;
26672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26673 wxTreeItemId *arg2 = 0 ;
26674 wxTreeItemId result;
26675 PyObject * obj0 = 0 ;
26676 PyObject * obj1 = 0 ;
26677 char *kwnames[] = {
26678 (char *) "self",(char *) "item", NULL
26679 };
26680
26681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26685 SWIG_POINTER_EXCEPTION | 0)) == -1)
26686 SWIG_fail;
26687 if (arg2 == NULL) {
26688 PyErr_SetString(PyExc_TypeError,"null reference");
26689 SWIG_fail;
26690 }
26691 {
26692 PyThreadState* __tstate = wxPyBeginAllowThreads();
26693 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26694
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 {
26699 wxTreeItemId * resultptr;
26700 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26702 }
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj;
26711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26712 wxTreeItemId result;
26713 PyObject * obj0 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self", NULL
26716 };
26717
26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26724
26725 wxPyEndAllowThreads(__tstate);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 }
26728 {
26729 wxTreeItemId * resultptr;
26730 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26732 }
26733 return resultobj;
26734 fail:
26735 return NULL;
26736 }
26737
26738
26739 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj;
26741 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26742 wxTreeItemId *arg2 = 0 ;
26743 wxTreeItemId result;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 char *kwnames[] = {
26747 (char *) "self",(char *) "item", NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26754 SWIG_POINTER_EXCEPTION | 0)) == -1)
26755 SWIG_fail;
26756 if (arg2 == NULL) {
26757 PyErr_SetString(PyExc_TypeError,"null reference");
26758 SWIG_fail;
26759 }
26760 {
26761 PyThreadState* __tstate = wxPyBeginAllowThreads();
26762 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26763
26764 wxPyEndAllowThreads(__tstate);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 }
26767 {
26768 wxTreeItemId * resultptr;
26769 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26771 }
26772 return resultobj;
26773 fail:
26774 return NULL;
26775 }
26776
26777
26778 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26779 PyObject *resultobj;
26780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26781 wxTreeItemId *arg2 = 0 ;
26782 wxTreeItemId result;
26783 PyObject * obj0 = 0 ;
26784 PyObject * obj1 = 0 ;
26785 char *kwnames[] = {
26786 (char *) "self",(char *) "item", NULL
26787 };
26788
26789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26793 SWIG_POINTER_EXCEPTION | 0)) == -1)
26794 SWIG_fail;
26795 if (arg2 == NULL) {
26796 PyErr_SetString(PyExc_TypeError,"null reference");
26797 SWIG_fail;
26798 }
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 {
26807 wxTreeItemId * resultptr;
26808 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26810 }
26811 return resultobj;
26812 fail:
26813 return NULL;
26814 }
26815
26816
26817 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26818 PyObject *resultobj;
26819 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26820 wxString *arg2 = 0 ;
26821 int arg3 = (int) -1 ;
26822 int arg4 = (int) -1 ;
26823 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26824 wxTreeItemId result;
26825 bool temp2 = False ;
26826 PyObject * obj0 = 0 ;
26827 PyObject * obj1 = 0 ;
26828 PyObject * obj2 = 0 ;
26829 PyObject * obj3 = 0 ;
26830 PyObject * obj4 = 0 ;
26831 char *kwnames[] = {
26832 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26833 };
26834
26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26838 {
26839 arg2 = wxString_in_helper(obj1);
26840 if (arg2 == NULL) SWIG_fail;
26841 temp2 = True;
26842 }
26843 if (obj2) {
26844 arg3 = (int) SWIG_AsInt(obj2);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 }
26847 if (obj3) {
26848 arg4 = (int) SWIG_AsInt(obj3);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 }
26851 if (obj4) {
26852 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26854 }
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 {
26863 wxTreeItemId * resultptr;
26864 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26866 }
26867 {
26868 if (temp2)
26869 delete arg2;
26870 }
26871 return resultobj;
26872 fail:
26873 {
26874 if (temp2)
26875 delete arg2;
26876 }
26877 return NULL;
26878 }
26879
26880
26881 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26882 PyObject *resultobj;
26883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26884 wxTreeItemId *arg2 = 0 ;
26885 wxString *arg3 = 0 ;
26886 int arg4 = (int) -1 ;
26887 int arg5 = (int) -1 ;
26888 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26889 wxTreeItemId result;
26890 bool temp3 = False ;
26891 PyObject * obj0 = 0 ;
26892 PyObject * obj1 = 0 ;
26893 PyObject * obj2 = 0 ;
26894 PyObject * obj3 = 0 ;
26895 PyObject * obj4 = 0 ;
26896 PyObject * obj5 = 0 ;
26897 char *kwnames[] = {
26898 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26899 };
26900
26901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26905 SWIG_POINTER_EXCEPTION | 0)) == -1)
26906 SWIG_fail;
26907 if (arg2 == NULL) {
26908 PyErr_SetString(PyExc_TypeError,"null reference");
26909 SWIG_fail;
26910 }
26911 {
26912 arg3 = wxString_in_helper(obj2);
26913 if (arg3 == NULL) SWIG_fail;
26914 temp3 = True;
26915 }
26916 if (obj3) {
26917 arg4 = (int) SWIG_AsInt(obj3);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 if (obj4) {
26921 arg5 = (int) SWIG_AsInt(obj4);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 if (obj5) {
26925 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26927 }
26928 {
26929 PyThreadState* __tstate = wxPyBeginAllowThreads();
26930 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26931
26932 wxPyEndAllowThreads(__tstate);
26933 if (PyErr_Occurred()) SWIG_fail;
26934 }
26935 {
26936 wxTreeItemId * resultptr;
26937 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26939 }
26940 {
26941 if (temp3)
26942 delete arg3;
26943 }
26944 return resultobj;
26945 fail:
26946 {
26947 if (temp3)
26948 delete arg3;
26949 }
26950 return NULL;
26951 }
26952
26953
26954 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26955 PyObject *resultobj;
26956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26957 wxTreeItemId *arg2 = 0 ;
26958 wxTreeItemId *arg3 = 0 ;
26959 wxString *arg4 = 0 ;
26960 int arg5 = (int) -1 ;
26961 int arg6 = (int) -1 ;
26962 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26963 wxTreeItemId result;
26964 bool temp4 = False ;
26965 PyObject * obj0 = 0 ;
26966 PyObject * obj1 = 0 ;
26967 PyObject * obj2 = 0 ;
26968 PyObject * obj3 = 0 ;
26969 PyObject * obj4 = 0 ;
26970 PyObject * obj5 = 0 ;
26971 PyObject * obj6 = 0 ;
26972 char *kwnames[] = {
26973 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26974 };
26975
26976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26980 SWIG_POINTER_EXCEPTION | 0)) == -1)
26981 SWIG_fail;
26982 if (arg2 == NULL) {
26983 PyErr_SetString(PyExc_TypeError,"null reference");
26984 SWIG_fail;
26985 }
26986 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26987 SWIG_POINTER_EXCEPTION | 0)) == -1)
26988 SWIG_fail;
26989 if (arg3 == NULL) {
26990 PyErr_SetString(PyExc_TypeError,"null reference");
26991 SWIG_fail;
26992 }
26993 {
26994 arg4 = wxString_in_helper(obj3);
26995 if (arg4 == NULL) SWIG_fail;
26996 temp4 = True;
26997 }
26998 if (obj4) {
26999 arg5 = (int) SWIG_AsInt(obj4);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 if (obj5) {
27003 arg6 = (int) SWIG_AsInt(obj5);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 if (obj6) {
27007 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27009 }
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
27012 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27013
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
27017 {
27018 wxTreeItemId * resultptr;
27019 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27021 }
27022 {
27023 if (temp4)
27024 delete arg4;
27025 }
27026 return resultobj;
27027 fail:
27028 {
27029 if (temp4)
27030 delete arg4;
27031 }
27032 return NULL;
27033 }
27034
27035
27036 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
27037 PyObject *resultobj;
27038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27039 wxTreeItemId *arg2 = 0 ;
27040 size_t arg3 ;
27041 wxString *arg4 = 0 ;
27042 int arg5 = (int) -1 ;
27043 int arg6 = (int) -1 ;
27044 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27045 wxTreeItemId result;
27046 bool temp4 = False ;
27047 PyObject * obj0 = 0 ;
27048 PyObject * obj1 = 0 ;
27049 PyObject * obj2 = 0 ;
27050 PyObject * obj3 = 0 ;
27051 PyObject * obj4 = 0 ;
27052 PyObject * obj5 = 0 ;
27053 PyObject * obj6 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27062 SWIG_POINTER_EXCEPTION | 0)) == -1)
27063 SWIG_fail;
27064 if (arg2 == NULL) {
27065 PyErr_SetString(PyExc_TypeError,"null reference");
27066 SWIG_fail;
27067 }
27068 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27069 if (PyErr_Occurred()) SWIG_fail;
27070 {
27071 arg4 = wxString_in_helper(obj3);
27072 if (arg4 == NULL) SWIG_fail;
27073 temp4 = True;
27074 }
27075 if (obj4) {
27076 arg5 = (int) SWIG_AsInt(obj4);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
27079 if (obj5) {
27080 arg6 = (int) SWIG_AsInt(obj5);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 if (obj6) {
27084 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27086 }
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27090
27091 wxPyEndAllowThreads(__tstate);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 }
27094 {
27095 wxTreeItemId * resultptr;
27096 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27098 }
27099 {
27100 if (temp4)
27101 delete arg4;
27102 }
27103 return resultobj;
27104 fail:
27105 {
27106 if (temp4)
27107 delete arg4;
27108 }
27109 return NULL;
27110 }
27111
27112
27113 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27114 PyObject *resultobj;
27115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27116 wxTreeItemId *arg2 = 0 ;
27117 wxString *arg3 = 0 ;
27118 int arg4 = (int) -1 ;
27119 int arg5 = (int) -1 ;
27120 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27121 wxTreeItemId result;
27122 bool temp3 = False ;
27123 PyObject * obj0 = 0 ;
27124 PyObject * obj1 = 0 ;
27125 PyObject * obj2 = 0 ;
27126 PyObject * obj3 = 0 ;
27127 PyObject * obj4 = 0 ;
27128 PyObject * obj5 = 0 ;
27129 char *kwnames[] = {
27130 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27131 };
27132
27133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27137 SWIG_POINTER_EXCEPTION | 0)) == -1)
27138 SWIG_fail;
27139 if (arg2 == NULL) {
27140 PyErr_SetString(PyExc_TypeError,"null reference");
27141 SWIG_fail;
27142 }
27143 {
27144 arg3 = wxString_in_helper(obj2);
27145 if (arg3 == NULL) SWIG_fail;
27146 temp3 = True;
27147 }
27148 if (obj3) {
27149 arg4 = (int) SWIG_AsInt(obj3);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 if (obj4) {
27153 arg5 = (int) SWIG_AsInt(obj4);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 if (obj5) {
27157 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27159 }
27160 {
27161 PyThreadState* __tstate = wxPyBeginAllowThreads();
27162 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27163
27164 wxPyEndAllowThreads(__tstate);
27165 if (PyErr_Occurred()) SWIG_fail;
27166 }
27167 {
27168 wxTreeItemId * resultptr;
27169 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27171 }
27172 {
27173 if (temp3)
27174 delete arg3;
27175 }
27176 return resultobj;
27177 fail:
27178 {
27179 if (temp3)
27180 delete arg3;
27181 }
27182 return NULL;
27183 }
27184
27185
27186 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27187 PyObject *resultobj;
27188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27189 wxTreeItemId *arg2 = 0 ;
27190 PyObject * obj0 = 0 ;
27191 PyObject * obj1 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self",(char *) "item", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27200 SWIG_POINTER_EXCEPTION | 0)) == -1)
27201 SWIG_fail;
27202 if (arg2 == NULL) {
27203 PyErr_SetString(PyExc_TypeError,"null reference");
27204 SWIG_fail;
27205 }
27206 {
27207 PyThreadState* __tstate = wxPyBeginAllowThreads();
27208 (arg1)->Delete((wxTreeItemId const &)*arg2);
27209
27210 wxPyEndAllowThreads(__tstate);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 }
27213 Py_INCREF(Py_None); resultobj = Py_None;
27214 return resultobj;
27215 fail:
27216 return NULL;
27217 }
27218
27219
27220 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27221 PyObject *resultobj;
27222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27223 wxTreeItemId *arg2 = 0 ;
27224 PyObject * obj0 = 0 ;
27225 PyObject * obj1 = 0 ;
27226 char *kwnames[] = {
27227 (char *) "self",(char *) "item", NULL
27228 };
27229
27230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27234 SWIG_POINTER_EXCEPTION | 0)) == -1)
27235 SWIG_fail;
27236 if (arg2 == NULL) {
27237 PyErr_SetString(PyExc_TypeError,"null reference");
27238 SWIG_fail;
27239 }
27240 {
27241 PyThreadState* __tstate = wxPyBeginAllowThreads();
27242 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27243
27244 wxPyEndAllowThreads(__tstate);
27245 if (PyErr_Occurred()) SWIG_fail;
27246 }
27247 Py_INCREF(Py_None); resultobj = Py_None;
27248 return resultobj;
27249 fail:
27250 return NULL;
27251 }
27252
27253
27254 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27255 PyObject *resultobj;
27256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 (arg1)->DeleteAllItems();
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 Py_INCREF(Py_None); resultobj = Py_None;
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27282 wxTreeItemId *arg2 = 0 ;
27283 PyObject * obj0 = 0 ;
27284 PyObject * obj1 = 0 ;
27285 char *kwnames[] = {
27286 (char *) "self",(char *) "item", NULL
27287 };
27288
27289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27293 SWIG_POINTER_EXCEPTION | 0)) == -1)
27294 SWIG_fail;
27295 if (arg2 == NULL) {
27296 PyErr_SetString(PyExc_TypeError,"null reference");
27297 SWIG_fail;
27298 }
27299 {
27300 PyThreadState* __tstate = wxPyBeginAllowThreads();
27301 (arg1)->Expand((wxTreeItemId const &)*arg2);
27302
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 Py_INCREF(Py_None); resultobj = Py_None;
27307 return resultobj;
27308 fail:
27309 return NULL;
27310 }
27311
27312
27313 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj;
27315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27316 wxTreeItemId *arg2 = 0 ;
27317 PyObject * obj0 = 0 ;
27318 PyObject * obj1 = 0 ;
27319 char *kwnames[] = {
27320 (char *) "self",(char *) "item", NULL
27321 };
27322
27323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27327 SWIG_POINTER_EXCEPTION | 0)) == -1)
27328 SWIG_fail;
27329 if (arg2 == NULL) {
27330 PyErr_SetString(PyExc_TypeError,"null reference");
27331 SWIG_fail;
27332 }
27333 {
27334 PyThreadState* __tstate = wxPyBeginAllowThreads();
27335 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27336
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
27340 Py_INCREF(Py_None); resultobj = Py_None;
27341 return resultobj;
27342 fail:
27343 return NULL;
27344 }
27345
27346
27347 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27348 PyObject *resultobj;
27349 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27350 wxTreeItemId *arg2 = 0 ;
27351 PyObject * obj0 = 0 ;
27352 PyObject * obj1 = 0 ;
27353 char *kwnames[] = {
27354 (char *) "self",(char *) "item", NULL
27355 };
27356
27357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27361 SWIG_POINTER_EXCEPTION | 0)) == -1)
27362 SWIG_fail;
27363 if (arg2 == NULL) {
27364 PyErr_SetString(PyExc_TypeError,"null reference");
27365 SWIG_fail;
27366 }
27367 {
27368 PyThreadState* __tstate = wxPyBeginAllowThreads();
27369 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27370
27371 wxPyEndAllowThreads(__tstate);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 }
27374 Py_INCREF(Py_None); resultobj = Py_None;
27375 return resultobj;
27376 fail:
27377 return NULL;
27378 }
27379
27380
27381 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27382 PyObject *resultobj;
27383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27384 wxTreeItemId *arg2 = 0 ;
27385 PyObject * obj0 = 0 ;
27386 PyObject * obj1 = 0 ;
27387 char *kwnames[] = {
27388 (char *) "self",(char *) "item", NULL
27389 };
27390
27391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27395 SWIG_POINTER_EXCEPTION | 0)) == -1)
27396 SWIG_fail;
27397 if (arg2 == NULL) {
27398 PyErr_SetString(PyExc_TypeError,"null reference");
27399 SWIG_fail;
27400 }
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27404
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 Py_INCREF(Py_None); resultobj = Py_None;
27409 return resultobj;
27410 fail:
27411 return NULL;
27412 }
27413
27414
27415 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj;
27417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27418 PyObject * obj0 = 0 ;
27419 char *kwnames[] = {
27420 (char *) "self", NULL
27421 };
27422
27423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27426 {
27427 PyThreadState* __tstate = wxPyBeginAllowThreads();
27428 (arg1)->Unselect();
27429
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 Py_INCREF(Py_None); resultobj = Py_None;
27434 return resultobj;
27435 fail:
27436 return NULL;
27437 }
27438
27439
27440 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27441 PyObject *resultobj;
27442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27443 wxTreeItemId *arg2 = 0 ;
27444 PyObject * obj0 = 0 ;
27445 PyObject * obj1 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self",(char *) "item", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) 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 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 Py_INCREF(Py_None); resultobj = Py_None;
27468 return resultobj;
27469 fail:
27470 return NULL;
27471 }
27472
27473
27474 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj;
27476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27477 PyObject * obj0 = 0 ;
27478 char *kwnames[] = {
27479 (char *) "self", NULL
27480 };
27481
27482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 (arg1)->UnselectAll();
27488
27489 wxPyEndAllowThreads(__tstate);
27490 if (PyErr_Occurred()) SWIG_fail;
27491 }
27492 Py_INCREF(Py_None); resultobj = Py_None;
27493 return resultobj;
27494 fail:
27495 return NULL;
27496 }
27497
27498
27499 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27500 PyObject *resultobj;
27501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27502 wxTreeItemId *arg2 = 0 ;
27503 bool arg3 = (bool) True ;
27504 PyObject * obj0 = 0 ;
27505 PyObject * obj1 = 0 ;
27506 PyObject * obj2 = 0 ;
27507 char *kwnames[] = {
27508 (char *) "self",(char *) "item",(char *) "select", NULL
27509 };
27510
27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27515 SWIG_POINTER_EXCEPTION | 0)) == -1)
27516 SWIG_fail;
27517 if (arg2 == NULL) {
27518 PyErr_SetString(PyExc_TypeError,"null reference");
27519 SWIG_fail;
27520 }
27521 if (obj2) {
27522 arg3 = (bool) SWIG_AsBool(obj2);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 Py_INCREF(Py_None); resultobj = Py_None;
27533 return resultobj;
27534 fail:
27535 return NULL;
27536 }
27537
27538
27539 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27542 wxTreeItemId *arg2 = 0 ;
27543 PyObject * obj0 = 0 ;
27544 PyObject * obj1 = 0 ;
27545 char *kwnames[] = {
27546 (char *) "self",(char *) "item", NULL
27547 };
27548
27549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27553 SWIG_POINTER_EXCEPTION | 0)) == -1)
27554 SWIG_fail;
27555 if (arg2 == NULL) {
27556 PyErr_SetString(PyExc_TypeError,"null reference");
27557 SWIG_fail;
27558 }
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 Py_INCREF(Py_None); resultobj = Py_None;
27567 return resultobj;
27568 fail:
27569 return NULL;
27570 }
27571
27572
27573 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27574 PyObject *resultobj;
27575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27576 wxTreeItemId *arg2 = 0 ;
27577 PyObject * obj0 = 0 ;
27578 PyObject * obj1 = 0 ;
27579 char *kwnames[] = {
27580 (char *) "self",(char *) "item", NULL
27581 };
27582
27583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1)
27588 SWIG_fail;
27589 if (arg2 == NULL) {
27590 PyErr_SetString(PyExc_TypeError,"null reference");
27591 SWIG_fail;
27592 }
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27596
27597 wxPyEndAllowThreads(__tstate);
27598 if (PyErr_Occurred()) SWIG_fail;
27599 }
27600 Py_INCREF(Py_None); resultobj = Py_None;
27601 return resultobj;
27602 fail:
27603 return NULL;
27604 }
27605
27606
27607 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27608 PyObject *resultobj;
27609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27610 wxTreeItemId *arg2 = 0 ;
27611 PyObject * obj0 = 0 ;
27612 PyObject * obj1 = 0 ;
27613 char *kwnames[] = {
27614 (char *) "self",(char *) "item", NULL
27615 };
27616
27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27621 SWIG_POINTER_EXCEPTION | 0)) == -1)
27622 SWIG_fail;
27623 if (arg2 == NULL) {
27624 PyErr_SetString(PyExc_TypeError,"null reference");
27625 SWIG_fail;
27626 }
27627 {
27628 PyThreadState* __tstate = wxPyBeginAllowThreads();
27629 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27630
27631 wxPyEndAllowThreads(__tstate);
27632 if (PyErr_Occurred()) SWIG_fail;
27633 }
27634 Py_INCREF(Py_None); resultobj = Py_None;
27635 return resultobj;
27636 fail:
27637 return NULL;
27638 }
27639
27640
27641 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27642 PyObject *resultobj;
27643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27644 wxTreeItemId *arg2 = 0 ;
27645 PyObject * obj0 = 0 ;
27646 PyObject * obj1 = 0 ;
27647 char *kwnames[] = {
27648 (char *) "self",(char *) "item", NULL
27649 };
27650
27651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27655 SWIG_POINTER_EXCEPTION | 0)) == -1)
27656 SWIG_fail;
27657 if (arg2 == NULL) {
27658 PyErr_SetString(PyExc_TypeError,"null reference");
27659 SWIG_fail;
27660 }
27661 {
27662 PyThreadState* __tstate = wxPyBeginAllowThreads();
27663 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27664
27665 wxPyEndAllowThreads(__tstate);
27666 if (PyErr_Occurred()) SWIG_fail;
27667 }
27668 Py_INCREF(Py_None); resultobj = Py_None;
27669 return resultobj;
27670 fail:
27671 return NULL;
27672 }
27673
27674
27675 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27676 PyObject *resultobj;
27677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27678 wxTextCtrl *result;
27679 PyObject * obj0 = 0 ;
27680 char *kwnames[] = {
27681 (char *) "self", NULL
27682 };
27683
27684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27687 {
27688 PyThreadState* __tstate = wxPyBeginAllowThreads();
27689 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27690
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 {
27695 resultobj = wxPyMake_wxObject(result);
27696 }
27697 return resultobj;
27698 fail:
27699 return NULL;
27700 }
27701
27702
27703 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27704 PyObject *resultobj;
27705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27706 wxTreeItemId *arg2 = 0 ;
27707 PyObject * obj0 = 0 ;
27708 PyObject * obj1 = 0 ;
27709 char *kwnames[] = {
27710 (char *) "self",(char *) "item", NULL
27711 };
27712
27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27717 SWIG_POINTER_EXCEPTION | 0)) == -1)
27718 SWIG_fail;
27719 if (arg2 == NULL) {
27720 PyErr_SetString(PyExc_TypeError,"null reference");
27721 SWIG_fail;
27722 }
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27726
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
27730 Py_INCREF(Py_None); resultobj = Py_None;
27731 return resultobj;
27732 fail:
27733 return NULL;
27734 }
27735
27736
27737 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27738 PyObject *resultobj;
27739 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27740 wxPoint *arg2 = 0 ;
27741 int *arg3 = 0 ;
27742 wxTreeItemId result;
27743 wxPoint temp2 ;
27744 int temp3 ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self",(char *) "point", NULL
27749 };
27750
27751 arg3 = &temp3;
27752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27755 {
27756 arg2 = &temp2;
27757 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27758 }
27759 {
27760 PyThreadState* __tstate = wxPyBeginAllowThreads();
27761 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27762
27763 wxPyEndAllowThreads(__tstate);
27764 if (PyErr_Occurred()) SWIG_fail;
27765 }
27766 {
27767 wxTreeItemId * resultptr;
27768 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27770 }
27771 {
27772 PyObject *o = PyInt_FromLong((long) (*arg3));
27773 resultobj = t_output_helper(resultobj,o);
27774 }
27775 return resultobj;
27776 fail:
27777 return NULL;
27778 }
27779
27780
27781 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27784 wxTreeItemId *arg2 = 0 ;
27785 bool arg3 = (bool) False ;
27786 PyObject *result;
27787 PyObject * obj0 = 0 ;
27788 PyObject * obj1 = 0 ;
27789 PyObject * obj2 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27798 SWIG_POINTER_EXCEPTION | 0)) == -1)
27799 SWIG_fail;
27800 if (arg2 == NULL) {
27801 PyErr_SetString(PyExc_TypeError,"null reference");
27802 SWIG_fail;
27803 }
27804 if (obj2) {
27805 arg3 = (bool) SWIG_AsBool(obj2);
27806 if (PyErr_Occurred()) SWIG_fail;
27807 }
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27811
27812 wxPyEndAllowThreads(__tstate);
27813 if (PyErr_Occurred()) SWIG_fail;
27814 }
27815 resultobj = result;
27816 return resultobj;
27817 fail:
27818 return NULL;
27819 }
27820
27821
27822 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27823 PyObject *resultobj;
27824 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27825 wxVisualAttributes result;
27826 PyObject * obj0 = 0 ;
27827 char *kwnames[] = {
27828 (char *) "variant", NULL
27829 };
27830
27831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27832 if (obj0) {
27833 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 {
27837 if (!wxPyCheckForApp()) SWIG_fail;
27838 PyThreadState* __tstate = wxPyBeginAllowThreads();
27839 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27840
27841 wxPyEndAllowThreads(__tstate);
27842 if (PyErr_Occurred()) SWIG_fail;
27843 }
27844 {
27845 wxVisualAttributes * resultptr;
27846 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27848 }
27849 return resultobj;
27850 fail:
27851 return NULL;
27852 }
27853
27854
27855 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27856 PyObject *obj;
27857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27858 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27859 Py_INCREF(obj);
27860 return Py_BuildValue((char *)"");
27861 }
27862 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27863 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27864 return 1;
27865 }
27866
27867
27868 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27869 PyObject *pyobj;
27870
27871 {
27872 #if wxUSE_UNICODE
27873 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27874 #else
27875 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27876 #endif
27877 }
27878 return pyobj;
27879 }
27880
27881
27882 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27883 PyObject *resultobj;
27884 wxWindow *arg1 = (wxWindow *) 0 ;
27885 int arg2 = (int) (int)-1 ;
27886 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27887 wxString *arg3 = (wxString *) &arg3_defvalue ;
27888 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27889 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27890 wxSize const &arg5_defvalue = wxDefaultSize ;
27891 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27892 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27893 wxString const &arg7_defvalue = wxPyEmptyString ;
27894 wxString *arg7 = (wxString *) &arg7_defvalue ;
27895 int arg8 = (int) 0 ;
27896 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27897 wxString *arg9 = (wxString *) &arg9_defvalue ;
27898 wxGenericDirCtrl *result;
27899 bool temp3 = False ;
27900 wxPoint temp4 ;
27901 wxSize temp5 ;
27902 bool temp7 = False ;
27903 bool temp9 = False ;
27904 PyObject * obj0 = 0 ;
27905 PyObject * obj1 = 0 ;
27906 PyObject * obj2 = 0 ;
27907 PyObject * obj3 = 0 ;
27908 PyObject * obj4 = 0 ;
27909 PyObject * obj5 = 0 ;
27910 PyObject * obj6 = 0 ;
27911 PyObject * obj7 = 0 ;
27912 PyObject * obj8 = 0 ;
27913 char *kwnames[] = {
27914 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27915 };
27916
27917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27920 if (obj1) {
27921 arg2 = (int const) SWIG_AsInt(obj1);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 }
27924 if (obj2) {
27925 {
27926 arg3 = wxString_in_helper(obj2);
27927 if (arg3 == NULL) SWIG_fail;
27928 temp3 = True;
27929 }
27930 }
27931 if (obj3) {
27932 {
27933 arg4 = &temp4;
27934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27935 }
27936 }
27937 if (obj4) {
27938 {
27939 arg5 = &temp5;
27940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27941 }
27942 }
27943 if (obj5) {
27944 arg6 = (long) SWIG_AsLong(obj5);
27945 if (PyErr_Occurred()) SWIG_fail;
27946 }
27947 if (obj6) {
27948 {
27949 arg7 = wxString_in_helper(obj6);
27950 if (arg7 == NULL) SWIG_fail;
27951 temp7 = True;
27952 }
27953 }
27954 if (obj7) {
27955 arg8 = (int) SWIG_AsInt(obj7);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 if (obj8) {
27959 {
27960 arg9 = wxString_in_helper(obj8);
27961 if (arg9 == NULL) SWIG_fail;
27962 temp9 = True;
27963 }
27964 }
27965 {
27966 if (!wxPyCheckForApp()) SWIG_fail;
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27969
27970 wxPyEndAllowThreads(__tstate);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 }
27973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27974 {
27975 if (temp3)
27976 delete arg3;
27977 }
27978 {
27979 if (temp7)
27980 delete arg7;
27981 }
27982 {
27983 if (temp9)
27984 delete arg9;
27985 }
27986 return resultobj;
27987 fail:
27988 {
27989 if (temp3)
27990 delete arg3;
27991 }
27992 {
27993 if (temp7)
27994 delete arg7;
27995 }
27996 {
27997 if (temp9)
27998 delete arg9;
27999 }
28000 return NULL;
28001 }
28002
28003
28004 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28005 PyObject *resultobj;
28006 wxGenericDirCtrl *result;
28007 char *kwnames[] = {
28008 NULL
28009 };
28010
28011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28012 {
28013 if (!wxPyCheckForApp()) SWIG_fail;
28014 PyThreadState* __tstate = wxPyBeginAllowThreads();
28015 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28016
28017 wxPyEndAllowThreads(__tstate);
28018 if (PyErr_Occurred()) SWIG_fail;
28019 }
28020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28021 return resultobj;
28022 fail:
28023 return NULL;
28024 }
28025
28026
28027 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28028 PyObject *resultobj;
28029 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28030 wxWindow *arg2 = (wxWindow *) 0 ;
28031 int arg3 = (int) (int)-1 ;
28032 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28033 wxString *arg4 = (wxString *) &arg4_defvalue ;
28034 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28035 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28036 wxSize const &arg6_defvalue = wxDefaultSize ;
28037 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28038 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28039 wxString const &arg8_defvalue = wxPyEmptyString ;
28040 wxString *arg8 = (wxString *) &arg8_defvalue ;
28041 int arg9 = (int) 0 ;
28042 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28043 wxString *arg10 = (wxString *) &arg10_defvalue ;
28044 bool result;
28045 bool temp4 = False ;
28046 wxPoint temp5 ;
28047 wxSize temp6 ;
28048 bool temp8 = False ;
28049 bool temp10 = False ;
28050 PyObject * obj0 = 0 ;
28051 PyObject * obj1 = 0 ;
28052 PyObject * obj2 = 0 ;
28053 PyObject * obj3 = 0 ;
28054 PyObject * obj4 = 0 ;
28055 PyObject * obj5 = 0 ;
28056 PyObject * obj6 = 0 ;
28057 PyObject * obj7 = 0 ;
28058 PyObject * obj8 = 0 ;
28059 PyObject * obj9 = 0 ;
28060 char *kwnames[] = {
28061 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28062 };
28063
28064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28069 if (obj2) {
28070 arg3 = (int const) SWIG_AsInt(obj2);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 if (obj3) {
28074 {
28075 arg4 = wxString_in_helper(obj3);
28076 if (arg4 == NULL) SWIG_fail;
28077 temp4 = True;
28078 }
28079 }
28080 if (obj4) {
28081 {
28082 arg5 = &temp5;
28083 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28084 }
28085 }
28086 if (obj5) {
28087 {
28088 arg6 = &temp6;
28089 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28090 }
28091 }
28092 if (obj6) {
28093 arg7 = (long) SWIG_AsLong(obj6);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 if (obj7) {
28097 {
28098 arg8 = wxString_in_helper(obj7);
28099 if (arg8 == NULL) SWIG_fail;
28100 temp8 = True;
28101 }
28102 }
28103 if (obj8) {
28104 arg9 = (int) SWIG_AsInt(obj8);
28105 if (PyErr_Occurred()) SWIG_fail;
28106 }
28107 if (obj9) {
28108 {
28109 arg10 = wxString_in_helper(obj9);
28110 if (arg10 == NULL) SWIG_fail;
28111 temp10 = True;
28112 }
28113 }
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 {
28122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28123 }
28124 {
28125 if (temp4)
28126 delete arg4;
28127 }
28128 {
28129 if (temp8)
28130 delete arg8;
28131 }
28132 {
28133 if (temp10)
28134 delete arg10;
28135 }
28136 return resultobj;
28137 fail:
28138 {
28139 if (temp4)
28140 delete arg4;
28141 }
28142 {
28143 if (temp8)
28144 delete arg8;
28145 }
28146 {
28147 if (temp10)
28148 delete arg10;
28149 }
28150 return NULL;
28151 }
28152
28153
28154 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28155 PyObject *resultobj;
28156 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28157 wxString *arg2 = 0 ;
28158 bool result;
28159 bool temp2 = False ;
28160 PyObject * obj0 = 0 ;
28161 PyObject * obj1 = 0 ;
28162 char *kwnames[] = {
28163 (char *) "self",(char *) "path", NULL
28164 };
28165
28166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28169 {
28170 arg2 = wxString_in_helper(obj1);
28171 if (arg2 == NULL) SWIG_fail;
28172 temp2 = True;
28173 }
28174 {
28175 PyThreadState* __tstate = wxPyBeginAllowThreads();
28176 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28177
28178 wxPyEndAllowThreads(__tstate);
28179 if (PyErr_Occurred()) SWIG_fail;
28180 }
28181 {
28182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28183 }
28184 {
28185 if (temp2)
28186 delete arg2;
28187 }
28188 return resultobj;
28189 fail:
28190 {
28191 if (temp2)
28192 delete arg2;
28193 }
28194 return NULL;
28195 }
28196
28197
28198 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28199 PyObject *resultobj;
28200 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28201 wxString result;
28202 PyObject * obj0 = 0 ;
28203 char *kwnames[] = {
28204 (char *) "self", NULL
28205 };
28206
28207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28213
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 {
28218 #if wxUSE_UNICODE
28219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28220 #else
28221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28222 #endif
28223 }
28224 return resultobj;
28225 fail:
28226 return NULL;
28227 }
28228
28229
28230 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28231 PyObject *resultobj;
28232 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28233 wxString *arg2 = 0 ;
28234 bool temp2 = False ;
28235 PyObject * obj0 = 0 ;
28236 PyObject * obj1 = 0 ;
28237 char *kwnames[] = {
28238 (char *) "self",(char *) "path", NULL
28239 };
28240
28241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28244 {
28245 arg2 = wxString_in_helper(obj1);
28246 if (arg2 == NULL) SWIG_fail;
28247 temp2 = True;
28248 }
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 (arg1)->SetDefaultPath((wxString const &)*arg2);
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 Py_INCREF(Py_None); resultobj = Py_None;
28257 {
28258 if (temp2)
28259 delete arg2;
28260 }
28261 return resultobj;
28262 fail:
28263 {
28264 if (temp2)
28265 delete arg2;
28266 }
28267 return NULL;
28268 }
28269
28270
28271 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28272 PyObject *resultobj;
28273 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28274 wxString result;
28275 PyObject * obj0 = 0 ;
28276 char *kwnames[] = {
28277 (char *) "self", NULL
28278 };
28279
28280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28283 {
28284 PyThreadState* __tstate = wxPyBeginAllowThreads();
28285 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28286
28287 wxPyEndAllowThreads(__tstate);
28288 if (PyErr_Occurred()) SWIG_fail;
28289 }
28290 {
28291 #if wxUSE_UNICODE
28292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28293 #else
28294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28295 #endif
28296 }
28297 return resultobj;
28298 fail:
28299 return NULL;
28300 }
28301
28302
28303 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28306 wxString result;
28307 PyObject * obj0 = 0 ;
28308 char *kwnames[] = {
28309 (char *) "self", NULL
28310 };
28311
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28318
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 {
28323 #if wxUSE_UNICODE
28324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28325 #else
28326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28327 #endif
28328 }
28329 return resultobj;
28330 fail:
28331 return NULL;
28332 }
28333
28334
28335 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28336 PyObject *resultobj;
28337 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28338 wxString *arg2 = 0 ;
28339 bool temp2 = False ;
28340 PyObject * obj0 = 0 ;
28341 PyObject * obj1 = 0 ;
28342 char *kwnames[] = {
28343 (char *) "self",(char *) "path", NULL
28344 };
28345
28346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28349 {
28350 arg2 = wxString_in_helper(obj1);
28351 if (arg2 == NULL) SWIG_fail;
28352 temp2 = True;
28353 }
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 (arg1)->SetPath((wxString const &)*arg2);
28357
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 Py_INCREF(Py_None); resultobj = Py_None;
28362 {
28363 if (temp2)
28364 delete arg2;
28365 }
28366 return resultobj;
28367 fail:
28368 {
28369 if (temp2)
28370 delete arg2;
28371 }
28372 return NULL;
28373 }
28374
28375
28376 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28377 PyObject *resultobj;
28378 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28379 bool arg2 ;
28380 PyObject * obj0 = 0 ;
28381 PyObject * obj1 = 0 ;
28382 char *kwnames[] = {
28383 (char *) "self",(char *) "show", NULL
28384 };
28385
28386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28389 arg2 = (bool) SWIG_AsBool(obj1);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 (arg1)->ShowHidden(arg2);
28394
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 Py_INCREF(Py_None); resultobj = Py_None;
28399 return resultobj;
28400 fail:
28401 return NULL;
28402 }
28403
28404
28405 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj;
28407 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28408 bool result;
28409 PyObject * obj0 = 0 ;
28410 char *kwnames[] = {
28411 (char *) "self", NULL
28412 };
28413
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 result = (bool)(arg1)->GetShowHidden();
28420
28421 wxPyEndAllowThreads(__tstate);
28422 if (PyErr_Occurred()) SWIG_fail;
28423 }
28424 {
28425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28426 }
28427 return resultobj;
28428 fail:
28429 return NULL;
28430 }
28431
28432
28433 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28434 PyObject *resultobj;
28435 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28436 wxString result;
28437 PyObject * obj0 = 0 ;
28438 char *kwnames[] = {
28439 (char *) "self", NULL
28440 };
28441
28442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28445 {
28446 PyThreadState* __tstate = wxPyBeginAllowThreads();
28447 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28448
28449 wxPyEndAllowThreads(__tstate);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 }
28452 {
28453 #if wxUSE_UNICODE
28454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28455 #else
28456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28457 #endif
28458 }
28459 return resultobj;
28460 fail:
28461 return NULL;
28462 }
28463
28464
28465 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28466 PyObject *resultobj;
28467 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28468 wxString *arg2 = 0 ;
28469 bool temp2 = False ;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "filter", NULL
28474 };
28475
28476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28479 {
28480 arg2 = wxString_in_helper(obj1);
28481 if (arg2 == NULL) SWIG_fail;
28482 temp2 = True;
28483 }
28484 {
28485 PyThreadState* __tstate = wxPyBeginAllowThreads();
28486 (arg1)->SetFilter((wxString const &)*arg2);
28487
28488 wxPyEndAllowThreads(__tstate);
28489 if (PyErr_Occurred()) SWIG_fail;
28490 }
28491 Py_INCREF(Py_None); resultobj = Py_None;
28492 {
28493 if (temp2)
28494 delete arg2;
28495 }
28496 return resultobj;
28497 fail:
28498 {
28499 if (temp2)
28500 delete arg2;
28501 }
28502 return NULL;
28503 }
28504
28505
28506 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28507 PyObject *resultobj;
28508 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28509 int result;
28510 PyObject * obj0 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "self", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28521
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 resultobj = SWIG_FromInt((int)result);
28526 return resultobj;
28527 fail:
28528 return NULL;
28529 }
28530
28531
28532 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28533 PyObject *resultobj;
28534 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28535 int arg2 ;
28536 PyObject * obj0 = 0 ;
28537 PyObject * obj1 = 0 ;
28538 char *kwnames[] = {
28539 (char *) "self",(char *) "n", NULL
28540 };
28541
28542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28545 arg2 = (int) SWIG_AsInt(obj1);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 (arg1)->SetFilterIndex(arg2);
28550
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
28554 Py_INCREF(Py_None); resultobj = Py_None;
28555 return resultobj;
28556 fail:
28557 return NULL;
28558 }
28559
28560
28561 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28562 PyObject *resultobj;
28563 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28564 wxTreeItemId result;
28565 PyObject * obj0 = 0 ;
28566 char *kwnames[] = {
28567 (char *) "self", NULL
28568 };
28569
28570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 result = (arg1)->GetRootId();
28576
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 {
28581 wxTreeItemId * resultptr;
28582 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28584 }
28585 return resultobj;
28586 fail:
28587 return NULL;
28588 }
28589
28590
28591 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28592 PyObject *resultobj;
28593 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28594 wxPyTreeCtrl *result;
28595 PyObject * obj0 = 0 ;
28596 char *kwnames[] = {
28597 (char *) "self", NULL
28598 };
28599
28600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 {
28611 resultobj = wxPyMake_wxObject(result);
28612 }
28613 return resultobj;
28614 fail:
28615 return NULL;
28616 }
28617
28618
28619 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28620 PyObject *resultobj;
28621 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28622 wxDirFilterListCtrl *result;
28623 PyObject * obj0 = 0 ;
28624 char *kwnames[] = {
28625 (char *) "self", NULL
28626 };
28627
28628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28631 {
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28634
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28639 return resultobj;
28640 fail:
28641 return NULL;
28642 }
28643
28644
28645 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28646 PyObject *resultobj;
28647 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28648 wxTreeItemId arg2 ;
28649 wxString *arg3 = 0 ;
28650 bool *arg4 = 0 ;
28651 wxTreeItemId result;
28652 wxTreeItemId *argp2 ;
28653 bool temp3 = False ;
28654 bool temp4 ;
28655 PyObject * obj0 = 0 ;
28656 PyObject * obj1 = 0 ;
28657 PyObject * obj2 = 0 ;
28658 char *kwnames[] = {
28659 (char *) "self",(char *) "parentId",(char *) "path", NULL
28660 };
28661
28662 arg4 = &temp4;
28663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28666 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28667 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28668 arg2 = *argp2;
28669 {
28670 arg3 = wxString_in_helper(obj2);
28671 if (arg3 == NULL) SWIG_fail;
28672 temp3 = True;
28673 }
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28677
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
28681 {
28682 wxTreeItemId * resultptr;
28683 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28685 }
28686 {
28687 PyObject *o = PyInt_FromLong((long) (*arg4));
28688 resultobj = t_output_helper(resultobj,o);
28689 }
28690 {
28691 if (temp3)
28692 delete arg3;
28693 }
28694 return resultobj;
28695 fail:
28696 {
28697 if (temp3)
28698 delete arg3;
28699 }
28700 return NULL;
28701 }
28702
28703
28704 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj;
28706 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28707 PyObject * obj0 = 0 ;
28708 char *kwnames[] = {
28709 (char *) "self", NULL
28710 };
28711
28712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 (arg1)->DoResize();
28718
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 Py_INCREF(Py_None); resultobj = Py_None;
28723 return resultobj;
28724 fail:
28725 return NULL;
28726 }
28727
28728
28729 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28730 PyObject *resultobj;
28731 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28732 PyObject * obj0 = 0 ;
28733 char *kwnames[] = {
28734 (char *) "self", NULL
28735 };
28736
28737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28740 {
28741 PyThreadState* __tstate = wxPyBeginAllowThreads();
28742 (arg1)->ReCreateTree();
28743
28744 wxPyEndAllowThreads(__tstate);
28745 if (PyErr_Occurred()) SWIG_fail;
28746 }
28747 Py_INCREF(Py_None); resultobj = Py_None;
28748 return resultobj;
28749 fail:
28750 return NULL;
28751 }
28752
28753
28754 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28755 PyObject *obj;
28756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28757 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28758 Py_INCREF(obj);
28759 return Py_BuildValue((char *)"");
28760 }
28761 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28762 PyObject *resultobj;
28763 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28764 int arg2 = (int) (int)-1 ;
28765 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28766 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28767 wxSize const &arg4_defvalue = wxDefaultSize ;
28768 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28769 long arg5 = (long) 0 ;
28770 wxDirFilterListCtrl *result;
28771 wxPoint temp3 ;
28772 wxSize temp4 ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 PyObject * obj2 = 0 ;
28776 PyObject * obj3 = 0 ;
28777 PyObject * obj4 = 0 ;
28778 char *kwnames[] = {
28779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28780 };
28781
28782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28785 if (obj1) {
28786 arg2 = (int const) SWIG_AsInt(obj1);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 if (obj2) {
28790 {
28791 arg3 = &temp3;
28792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28793 }
28794 }
28795 if (obj3) {
28796 {
28797 arg4 = &temp4;
28798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28799 }
28800 }
28801 if (obj4) {
28802 arg5 = (long) SWIG_AsLong(obj4);
28803 if (PyErr_Occurred()) SWIG_fail;
28804 }
28805 {
28806 if (!wxPyCheckForApp()) SWIG_fail;
28807 PyThreadState* __tstate = wxPyBeginAllowThreads();
28808 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28809
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28814 return resultobj;
28815 fail:
28816 return NULL;
28817 }
28818
28819
28820 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28821 PyObject *resultobj;
28822 wxDirFilterListCtrl *result;
28823 char *kwnames[] = {
28824 NULL
28825 };
28826
28827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28828 {
28829 if (!wxPyCheckForApp()) SWIG_fail;
28830 PyThreadState* __tstate = wxPyBeginAllowThreads();
28831 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28832
28833 wxPyEndAllowThreads(__tstate);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28837 return resultobj;
28838 fail:
28839 return NULL;
28840 }
28841
28842
28843 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28844 PyObject *resultobj;
28845 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28846 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
28847 int arg3 = (int) (int)-1 ;
28848 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28849 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28850 wxSize const &arg5_defvalue = wxDefaultSize ;
28851 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28852 long arg6 = (long) 0 ;
28853 bool result;
28854 wxPoint temp4 ;
28855 wxSize temp5 ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 PyObject * obj2 = 0 ;
28859 PyObject * obj3 = 0 ;
28860 PyObject * obj4 = 0 ;
28861 PyObject * obj5 = 0 ;
28862 char *kwnames[] = {
28863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28864 };
28865
28866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28871 if (obj2) {
28872 arg3 = (int const) SWIG_AsInt(obj2);
28873 if (PyErr_Occurred()) SWIG_fail;
28874 }
28875 if (obj3) {
28876 {
28877 arg4 = &temp4;
28878 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28879 }
28880 }
28881 if (obj4) {
28882 {
28883 arg5 = &temp5;
28884 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28885 }
28886 }
28887 if (obj5) {
28888 arg6 = (long) SWIG_AsLong(obj5);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 {
28892 PyThreadState* __tstate = wxPyBeginAllowThreads();
28893 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28894
28895 wxPyEndAllowThreads(__tstate);
28896 if (PyErr_Occurred()) SWIG_fail;
28897 }
28898 {
28899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28900 }
28901 return resultobj;
28902 fail:
28903 return NULL;
28904 }
28905
28906
28907 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28908 PyObject *resultobj;
28909 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28910 wxString *arg2 = 0 ;
28911 int arg3 ;
28912 bool temp2 = False ;
28913 PyObject * obj0 = 0 ;
28914 PyObject * obj1 = 0 ;
28915 PyObject * obj2 = 0 ;
28916 char *kwnames[] = {
28917 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28918 };
28919
28920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28923 {
28924 arg2 = wxString_in_helper(obj1);
28925 if (arg2 == NULL) SWIG_fail;
28926 temp2 = True;
28927 }
28928 arg3 = (int) SWIG_AsInt(obj2);
28929 if (PyErr_Occurred()) SWIG_fail;
28930 {
28931 PyThreadState* __tstate = wxPyBeginAllowThreads();
28932 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28933
28934 wxPyEndAllowThreads(__tstate);
28935 if (PyErr_Occurred()) SWIG_fail;
28936 }
28937 Py_INCREF(Py_None); resultobj = Py_None;
28938 {
28939 if (temp2)
28940 delete arg2;
28941 }
28942 return resultobj;
28943 fail:
28944 {
28945 if (temp2)
28946 delete arg2;
28947 }
28948 return NULL;
28949 }
28950
28951
28952 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28953 PyObject *obj;
28954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28955 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28956 Py_INCREF(obj);
28957 return Py_BuildValue((char *)"");
28958 }
28959 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28960 PyObject *resultobj;
28961 wxWindow *arg1 = (wxWindow *) 0 ;
28962 int arg2 = (int) (int)-1 ;
28963 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28964 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28965 wxSize const &arg4_defvalue = wxDefaultSize ;
28966 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28967 long arg5 = (long) 0 ;
28968 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28969 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28970 wxString const &arg7_defvalue = wxPyControlNameStr ;
28971 wxString *arg7 = (wxString *) &arg7_defvalue ;
28972 wxPyControl *result;
28973 wxPoint temp3 ;
28974 wxSize temp4 ;
28975 bool temp7 = False ;
28976 PyObject * obj0 = 0 ;
28977 PyObject * obj1 = 0 ;
28978 PyObject * obj2 = 0 ;
28979 PyObject * obj3 = 0 ;
28980 PyObject * obj4 = 0 ;
28981 PyObject * obj5 = 0 ;
28982 PyObject * obj6 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28990 if (obj1) {
28991 arg2 = (int const) SWIG_AsInt(obj1);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 if (obj2) {
28995 {
28996 arg3 = &temp3;
28997 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28998 }
28999 }
29000 if (obj3) {
29001 {
29002 arg4 = &temp4;
29003 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29004 }
29005 }
29006 if (obj4) {
29007 arg5 = (long) SWIG_AsLong(obj4);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 if (obj5) {
29011 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29012 SWIG_POINTER_EXCEPTION | 0)) == -1)
29013 SWIG_fail;
29014 if (arg6 == NULL) {
29015 PyErr_SetString(PyExc_TypeError,"null reference");
29016 SWIG_fail;
29017 }
29018 }
29019 if (obj6) {
29020 {
29021 arg7 = wxString_in_helper(obj6);
29022 if (arg7 == NULL) SWIG_fail;
29023 temp7 = True;
29024 }
29025 }
29026 {
29027 if (!wxPyCheckForApp()) SWIG_fail;
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29030
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29035 {
29036 if (temp7)
29037 delete arg7;
29038 }
29039 return resultobj;
29040 fail:
29041 {
29042 if (temp7)
29043 delete arg7;
29044 }
29045 return NULL;
29046 }
29047
29048
29049 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29050 PyObject *resultobj;
29051 wxPyControl *result;
29052 char *kwnames[] = {
29053 NULL
29054 };
29055
29056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29057 {
29058 if (!wxPyCheckForApp()) SWIG_fail;
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 result = (wxPyControl *)new wxPyControl();
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29066 return resultobj;
29067 fail:
29068 return NULL;
29069 }
29070
29071
29072 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29073 PyObject *resultobj;
29074 wxPyControl *arg1 = (wxPyControl *) 0 ;
29075 PyObject *arg2 = (PyObject *) 0 ;
29076 PyObject *arg3 = (PyObject *) 0 ;
29077 PyObject * obj0 = 0 ;
29078 PyObject * obj1 = 0 ;
29079 PyObject * obj2 = 0 ;
29080 char *kwnames[] = {
29081 (char *) "self",(char *) "self",(char *) "_class", NULL
29082 };
29083
29084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29087 arg2 = obj1;
29088 arg3 = obj2;
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 (arg1)->_setCallbackInfo(arg2,arg3);
29092
29093 wxPyEndAllowThreads(__tstate);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 }
29096 Py_INCREF(Py_None); resultobj = Py_None;
29097 return resultobj;
29098 fail:
29099 return NULL;
29100 }
29101
29102
29103 static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29104 PyObject *resultobj;
29105 wxPyControl *arg1 = (wxPyControl *) 0 ;
29106 wxSize *arg2 = 0 ;
29107 wxSize temp2 ;
29108 PyObject * obj0 = 0 ;
29109 PyObject * obj1 = 0 ;
29110 char *kwnames[] = {
29111 (char *) "self",(char *) "size", NULL
29112 };
29113
29114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29117 {
29118 arg2 = &temp2;
29119 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29120 }
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 (arg1)->SetBestSize((wxSize const &)*arg2);
29124
29125 wxPyEndAllowThreads(__tstate);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 Py_INCREF(Py_None); resultobj = Py_None;
29129 return resultobj;
29130 fail:
29131 return NULL;
29132 }
29133
29134
29135 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29136 PyObject *resultobj;
29137 wxPyControl *arg1 = (wxPyControl *) 0 ;
29138 int arg2 ;
29139 int arg3 ;
29140 int arg4 ;
29141 int arg5 ;
29142 PyObject * obj0 = 0 ;
29143 PyObject * obj1 = 0 ;
29144 PyObject * obj2 = 0 ;
29145 PyObject * obj3 = 0 ;
29146 PyObject * obj4 = 0 ;
29147 char *kwnames[] = {
29148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29149 };
29150
29151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29154 arg2 = (int) SWIG_AsInt(obj1);
29155 if (PyErr_Occurred()) SWIG_fail;
29156 arg3 = (int) SWIG_AsInt(obj2);
29157 if (PyErr_Occurred()) SWIG_fail;
29158 arg4 = (int) SWIG_AsInt(obj3);
29159 if (PyErr_Occurred()) SWIG_fail;
29160 arg5 = (int) SWIG_AsInt(obj4);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29165
29166 wxPyEndAllowThreads(__tstate);
29167 if (PyErr_Occurred()) SWIG_fail;
29168 }
29169 Py_INCREF(Py_None); resultobj = Py_None;
29170 return resultobj;
29171 fail:
29172 return NULL;
29173 }
29174
29175
29176 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29177 PyObject *resultobj;
29178 wxPyControl *arg1 = (wxPyControl *) 0 ;
29179 int arg2 ;
29180 int arg3 ;
29181 int arg4 ;
29182 int arg5 ;
29183 int arg6 = (int) wxSIZE_AUTO ;
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
29186 PyObject * obj2 = 0 ;
29187 PyObject * obj3 = 0 ;
29188 PyObject * obj4 = 0 ;
29189 PyObject * obj5 = 0 ;
29190 char *kwnames[] = {
29191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29192 };
29193
29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29197 arg2 = (int) SWIG_AsInt(obj1);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 arg3 = (int) SWIG_AsInt(obj2);
29200 if (PyErr_Occurred()) SWIG_fail;
29201 arg4 = (int) SWIG_AsInt(obj3);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 arg5 = (int) SWIG_AsInt(obj4);
29204 if (PyErr_Occurred()) SWIG_fail;
29205 if (obj5) {
29206 arg6 = (int) SWIG_AsInt(obj5);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 {
29210 PyThreadState* __tstate = wxPyBeginAllowThreads();
29211 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29212
29213 wxPyEndAllowThreads(__tstate);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 Py_INCREF(Py_None); resultobj = Py_None;
29217 return resultobj;
29218 fail:
29219 return NULL;
29220 }
29221
29222
29223 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29224 PyObject *resultobj;
29225 wxPyControl *arg1 = (wxPyControl *) 0 ;
29226 int arg2 ;
29227 int arg3 ;
29228 PyObject * obj0 = 0 ;
29229 PyObject * obj1 = 0 ;
29230 PyObject * obj2 = 0 ;
29231 char *kwnames[] = {
29232 (char *) "self",(char *) "width",(char *) "height", NULL
29233 };
29234
29235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29238 arg2 = (int) SWIG_AsInt(obj1);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 arg3 = (int) SWIG_AsInt(obj2);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 {
29243 PyThreadState* __tstate = wxPyBeginAllowThreads();
29244 (arg1)->base_DoSetClientSize(arg2,arg3);
29245
29246 wxPyEndAllowThreads(__tstate);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 }
29249 Py_INCREF(Py_None); resultobj = Py_None;
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29257 PyObject *resultobj;
29258 wxPyControl *arg1 = (wxPyControl *) 0 ;
29259 int arg2 ;
29260 int arg3 ;
29261 PyObject * obj0 = 0 ;
29262 PyObject * obj1 = 0 ;
29263 PyObject * obj2 = 0 ;
29264 char *kwnames[] = {
29265 (char *) "self",(char *) "x",(char *) "y", NULL
29266 };
29267
29268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29271 arg2 = (int) SWIG_AsInt(obj1);
29272 if (PyErr_Occurred()) SWIG_fail;
29273 arg3 = (int) SWIG_AsInt(obj2);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 {
29276 PyThreadState* __tstate = wxPyBeginAllowThreads();
29277 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29278
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 Py_INCREF(Py_None); resultobj = Py_None;
29283 return resultobj;
29284 fail:
29285 return NULL;
29286 }
29287
29288
29289 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29290 PyObject *resultobj;
29291 wxPyControl *arg1 = (wxPyControl *) 0 ;
29292 int *arg2 = (int *) 0 ;
29293 int *arg3 = (int *) 0 ;
29294 int temp2 ;
29295 int temp3 ;
29296 PyObject * obj0 = 0 ;
29297 char *kwnames[] = {
29298 (char *) "self", NULL
29299 };
29300
29301 arg2 = &temp2;
29302 arg3 = &temp3;
29303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29306 {
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
29308 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29309
29310 wxPyEndAllowThreads(__tstate);
29311 if (PyErr_Occurred()) SWIG_fail;
29312 }
29313 Py_INCREF(Py_None); resultobj = Py_None;
29314 {
29315 PyObject *o = PyInt_FromLong((long) (*arg2));
29316 resultobj = t_output_helper(resultobj,o);
29317 }
29318 {
29319 PyObject *o = PyInt_FromLong((long) (*arg3));
29320 resultobj = t_output_helper(resultobj,o);
29321 }
29322 return resultobj;
29323 fail:
29324 return NULL;
29325 }
29326
29327
29328 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29329 PyObject *resultobj;
29330 wxPyControl *arg1 = (wxPyControl *) 0 ;
29331 int *arg2 = (int *) 0 ;
29332 int *arg3 = (int *) 0 ;
29333 int temp2 ;
29334 int temp3 ;
29335 PyObject * obj0 = 0 ;
29336 char *kwnames[] = {
29337 (char *) "self", NULL
29338 };
29339
29340 arg2 = &temp2;
29341 arg3 = &temp3;
29342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29345 {
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29348
29349 wxPyEndAllowThreads(__tstate);
29350 if (PyErr_Occurred()) SWIG_fail;
29351 }
29352 Py_INCREF(Py_None); resultobj = Py_None;
29353 {
29354 PyObject *o = PyInt_FromLong((long) (*arg2));
29355 resultobj = t_output_helper(resultobj,o);
29356 }
29357 {
29358 PyObject *o = PyInt_FromLong((long) (*arg3));
29359 resultobj = t_output_helper(resultobj,o);
29360 }
29361 return resultobj;
29362 fail:
29363 return NULL;
29364 }
29365
29366
29367 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29368 PyObject *resultobj;
29369 wxPyControl *arg1 = (wxPyControl *) 0 ;
29370 int *arg2 = (int *) 0 ;
29371 int *arg3 = (int *) 0 ;
29372 int temp2 ;
29373 int temp3 ;
29374 PyObject * obj0 = 0 ;
29375 char *kwnames[] = {
29376 (char *) "self", NULL
29377 };
29378
29379 arg2 = &temp2;
29380 arg3 = &temp3;
29381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29384 {
29385 PyThreadState* __tstate = wxPyBeginAllowThreads();
29386 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29387
29388 wxPyEndAllowThreads(__tstate);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 }
29391 Py_INCREF(Py_None); resultobj = Py_None;
29392 {
29393 PyObject *o = PyInt_FromLong((long) (*arg2));
29394 resultobj = t_output_helper(resultobj,o);
29395 }
29396 {
29397 PyObject *o = PyInt_FromLong((long) (*arg3));
29398 resultobj = t_output_helper(resultobj,o);
29399 }
29400 return resultobj;
29401 fail:
29402 return NULL;
29403 }
29404
29405
29406 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29407 PyObject *resultobj;
29408 wxPyControl *arg1 = (wxPyControl *) 0 ;
29409 wxSize result;
29410 PyObject * obj0 = 0 ;
29411 char *kwnames[] = {
29412 (char *) "self", NULL
29413 };
29414
29415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29418 {
29419 PyThreadState* __tstate = wxPyBeginAllowThreads();
29420 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29421
29422 wxPyEndAllowThreads(__tstate);
29423 if (PyErr_Occurred()) SWIG_fail;
29424 }
29425 {
29426 wxSize * resultptr;
29427 resultptr = new wxSize((wxSize &) result);
29428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29429 }
29430 return resultobj;
29431 fail:
29432 return NULL;
29433 }
29434
29435
29436 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29437 PyObject *resultobj;
29438 wxPyControl *arg1 = (wxPyControl *) 0 ;
29439 wxSize result;
29440 PyObject * obj0 = 0 ;
29441 char *kwnames[] = {
29442 (char *) "self", NULL
29443 };
29444
29445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29448 {
29449 PyThreadState* __tstate = wxPyBeginAllowThreads();
29450 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29451
29452 wxPyEndAllowThreads(__tstate);
29453 if (PyErr_Occurred()) SWIG_fail;
29454 }
29455 {
29456 wxSize * resultptr;
29457 resultptr = new wxSize((wxSize &) result);
29458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29459 }
29460 return resultobj;
29461 fail:
29462 return NULL;
29463 }
29464
29465
29466 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29467 PyObject *resultobj;
29468 wxPyControl *arg1 = (wxPyControl *) 0 ;
29469 PyObject * obj0 = 0 ;
29470 char *kwnames[] = {
29471 (char *) "self", NULL
29472 };
29473
29474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29477 {
29478 PyThreadState* __tstate = wxPyBeginAllowThreads();
29479 (arg1)->base_InitDialog();
29480
29481 wxPyEndAllowThreads(__tstate);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 Py_INCREF(Py_None); resultobj = Py_None;
29485 return resultobj;
29486 fail:
29487 return NULL;
29488 }
29489
29490
29491 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29492 PyObject *resultobj;
29493 wxPyControl *arg1 = (wxPyControl *) 0 ;
29494 bool result;
29495 PyObject * obj0 = 0 ;
29496 char *kwnames[] = {
29497 (char *) "self", NULL
29498 };
29499
29500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29503 {
29504 PyThreadState* __tstate = wxPyBeginAllowThreads();
29505 result = (bool)(arg1)->base_TransferDataToWindow();
29506
29507 wxPyEndAllowThreads(__tstate);
29508 if (PyErr_Occurred()) SWIG_fail;
29509 }
29510 {
29511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29512 }
29513 return resultobj;
29514 fail:
29515 return NULL;
29516 }
29517
29518
29519 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29520 PyObject *resultobj;
29521 wxPyControl *arg1 = (wxPyControl *) 0 ;
29522 bool result;
29523 PyObject * obj0 = 0 ;
29524 char *kwnames[] = {
29525 (char *) "self", NULL
29526 };
29527
29528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29531 {
29532 PyThreadState* __tstate = wxPyBeginAllowThreads();
29533 result = (bool)(arg1)->base_TransferDataFromWindow();
29534
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 {
29539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29540 }
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29548 PyObject *resultobj;
29549 wxPyControl *arg1 = (wxPyControl *) 0 ;
29550 bool result;
29551 PyObject * obj0 = 0 ;
29552 char *kwnames[] = {
29553 (char *) "self", NULL
29554 };
29555
29556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29559 {
29560 PyThreadState* __tstate = wxPyBeginAllowThreads();
29561 result = (bool)(arg1)->base_Validate();
29562
29563 wxPyEndAllowThreads(__tstate);
29564 if (PyErr_Occurred()) SWIG_fail;
29565 }
29566 {
29567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29568 }
29569 return resultobj;
29570 fail:
29571 return NULL;
29572 }
29573
29574
29575 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29576 PyObject *resultobj;
29577 wxPyControl *arg1 = (wxPyControl *) 0 ;
29578 bool result;
29579 PyObject * obj0 = 0 ;
29580 char *kwnames[] = {
29581 (char *) "self", NULL
29582 };
29583
29584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29587 {
29588 PyThreadState* __tstate = wxPyBeginAllowThreads();
29589 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29590
29591 wxPyEndAllowThreads(__tstate);
29592 if (PyErr_Occurred()) SWIG_fail;
29593 }
29594 {
29595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29596 }
29597 return resultobj;
29598 fail:
29599 return NULL;
29600 }
29601
29602
29603 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29604 PyObject *resultobj;
29605 wxPyControl *arg1 = (wxPyControl *) 0 ;
29606 bool result;
29607 PyObject * obj0 = 0 ;
29608 char *kwnames[] = {
29609 (char *) "self", NULL
29610 };
29611
29612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29615 {
29616 PyThreadState* __tstate = wxPyBeginAllowThreads();
29617 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29618
29619 wxPyEndAllowThreads(__tstate);
29620 if (PyErr_Occurred()) SWIG_fail;
29621 }
29622 {
29623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29624 }
29625 return resultobj;
29626 fail:
29627 return NULL;
29628 }
29629
29630
29631 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29632 PyObject *resultobj;
29633 wxPyControl *arg1 = (wxPyControl *) 0 ;
29634 wxSize result;
29635 PyObject * obj0 = 0 ;
29636 char *kwnames[] = {
29637 (char *) "self", NULL
29638 };
29639
29640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29643 {
29644 PyThreadState* __tstate = wxPyBeginAllowThreads();
29645 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29646
29647 wxPyEndAllowThreads(__tstate);
29648 if (PyErr_Occurred()) SWIG_fail;
29649 }
29650 {
29651 wxSize * resultptr;
29652 resultptr = new wxSize((wxSize &) result);
29653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29654 }
29655 return resultobj;
29656 fail:
29657 return NULL;
29658 }
29659
29660
29661 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29662 PyObject *resultobj;
29663 wxPyControl *arg1 = (wxPyControl *) 0 ;
29664 wxWindow *arg2 = (wxWindow *) 0 ;
29665 PyObject * obj0 = 0 ;
29666 PyObject * obj1 = 0 ;
29667 char *kwnames[] = {
29668 (char *) "self",(char *) "child", NULL
29669 };
29670
29671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29676 {
29677 PyThreadState* __tstate = wxPyBeginAllowThreads();
29678 (arg1)->base_AddChild(arg2);
29679
29680 wxPyEndAllowThreads(__tstate);
29681 if (PyErr_Occurred()) SWIG_fail;
29682 }
29683 Py_INCREF(Py_None); resultobj = Py_None;
29684 return resultobj;
29685 fail:
29686 return NULL;
29687 }
29688
29689
29690 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29691 PyObject *resultobj;
29692 wxPyControl *arg1 = (wxPyControl *) 0 ;
29693 wxWindow *arg2 = (wxWindow *) 0 ;
29694 PyObject * obj0 = 0 ;
29695 PyObject * obj1 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self",(char *) "child", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 (arg1)->base_RemoveChild(arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 Py_INCREF(Py_None); resultobj = Py_None;
29713 return resultobj;
29714 fail:
29715 return NULL;
29716 }
29717
29718
29719 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29720 PyObject *resultobj;
29721 wxPyControl *arg1 = (wxPyControl *) 0 ;
29722 bool result;
29723 PyObject * obj0 = 0 ;
29724 char *kwnames[] = {
29725 (char *) "self", NULL
29726 };
29727
29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
29734
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
29739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744 }
29745
29746
29747 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29748 PyObject *resultobj;
29749 wxPyControl *arg1 = (wxPyControl *) 0 ;
29750 wxColour *arg2 = 0 ;
29751 wxColour temp2 ;
29752 PyObject * obj0 = 0 ;
29753 PyObject * obj1 = 0 ;
29754 char *kwnames[] = {
29755 (char *) "self",(char *) "c", NULL
29756 };
29757
29758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29761 {
29762 arg2 = &temp2;
29763 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29764 }
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29768
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 Py_INCREF(Py_None); resultobj = Py_None;
29773 return resultobj;
29774 fail:
29775 return NULL;
29776 }
29777
29778
29779 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj;
29781 wxPyControl *arg1 = (wxPyControl *) 0 ;
29782 wxVisualAttributes result;
29783 PyObject * obj0 = 0 ;
29784 char *kwnames[] = {
29785 (char *) "self", NULL
29786 };
29787
29788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29791 {
29792 PyThreadState* __tstate = wxPyBeginAllowThreads();
29793 result = (arg1)->base_GetDefaultAttributes();
29794
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 {
29799 wxVisualAttributes * resultptr;
29800 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29802 }
29803 return resultobj;
29804 fail:
29805 return NULL;
29806 }
29807
29808
29809 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29810 PyObject *obj;
29811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29812 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29813 Py_INCREF(obj);
29814 return Py_BuildValue((char *)"");
29815 }
29816 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29817 PyObject *resultobj;
29818 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
29819 int arg2 = (int) 0 ;
29820 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29821 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29822 wxHelpEvent *result;
29823 wxPoint temp3 ;
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 PyObject * obj2 = 0 ;
29827 char *kwnames[] = {
29828 (char *) "type",(char *) "winid",(char *) "pt", NULL
29829 };
29830
29831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29832 if (obj0) {
29833 arg1 = (wxEventType) SWIG_AsInt(obj0);
29834 if (PyErr_Occurred()) SWIG_fail;
29835 }
29836 if (obj1) {
29837 arg2 = (int) SWIG_AsInt(obj1);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 }
29840 if (obj2) {
29841 {
29842 arg3 = &temp3;
29843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29844 }
29845 }
29846 {
29847 PyThreadState* __tstate = wxPyBeginAllowThreads();
29848 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29849
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
29854 return resultobj;
29855 fail:
29856 return NULL;
29857 }
29858
29859
29860 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj;
29862 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29863 wxPoint result;
29864 PyObject * obj0 = 0 ;
29865 char *kwnames[] = {
29866 (char *) "self", NULL
29867 };
29868
29869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",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 result = ((wxHelpEvent const *)arg1)->GetPosition();
29875
29876 wxPyEndAllowThreads(__tstate);
29877 if (PyErr_Occurred()) SWIG_fail;
29878 }
29879 {
29880 wxPoint * resultptr;
29881 resultptr = new wxPoint((wxPoint &) result);
29882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29883 }
29884 return resultobj;
29885 fail:
29886 return NULL;
29887 }
29888
29889
29890 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29891 PyObject *resultobj;
29892 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29893 wxPoint *arg2 = 0 ;
29894 wxPoint temp2 ;
29895 PyObject * obj0 = 0 ;
29896 PyObject * obj1 = 0 ;
29897 char *kwnames[] = {
29898 (char *) "self",(char *) "pos", NULL
29899 };
29900
29901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
29902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29904 {
29905 arg2 = &temp2;
29906 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29907 }
29908 {
29909 PyThreadState* __tstate = wxPyBeginAllowThreads();
29910 (arg1)->SetPosition((wxPoint const &)*arg2);
29911
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 Py_INCREF(Py_None); resultobj = Py_None;
29916 return resultobj;
29917 fail:
29918 return NULL;
29919 }
29920
29921
29922 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29923 PyObject *resultobj;
29924 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29925 wxString *result;
29926 PyObject * obj0 = 0 ;
29927 char *kwnames[] = {
29928 (char *) "self", NULL
29929 };
29930
29931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
29932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29934 {
29935 PyThreadState* __tstate = wxPyBeginAllowThreads();
29936 {
29937 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29938 result = (wxString *) &_result_ref;
29939 }
29940
29941 wxPyEndAllowThreads(__tstate);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 }
29944 {
29945 #if wxUSE_UNICODE
29946 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29947 #else
29948 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29949 #endif
29950 }
29951 return resultobj;
29952 fail:
29953 return NULL;
29954 }
29955
29956
29957 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29958 PyObject *resultobj;
29959 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29960 wxString *arg2 = 0 ;
29961 bool temp2 = False ;
29962 PyObject * obj0 = 0 ;
29963 PyObject * obj1 = 0 ;
29964 char *kwnames[] = {
29965 (char *) "self",(char *) "link", NULL
29966 };
29967
29968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29971 {
29972 arg2 = wxString_in_helper(obj1);
29973 if (arg2 == NULL) SWIG_fail;
29974 temp2 = True;
29975 }
29976 {
29977 PyThreadState* __tstate = wxPyBeginAllowThreads();
29978 (arg1)->SetLink((wxString const &)*arg2);
29979
29980 wxPyEndAllowThreads(__tstate);
29981 if (PyErr_Occurred()) SWIG_fail;
29982 }
29983 Py_INCREF(Py_None); resultobj = Py_None;
29984 {
29985 if (temp2)
29986 delete arg2;
29987 }
29988 return resultobj;
29989 fail:
29990 {
29991 if (temp2)
29992 delete arg2;
29993 }
29994 return NULL;
29995 }
29996
29997
29998 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29999 PyObject *resultobj;
30000 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30001 wxString *result;
30002 PyObject * obj0 = 0 ;
30003 char *kwnames[] = {
30004 (char *) "self", NULL
30005 };
30006
30007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30010 {
30011 PyThreadState* __tstate = wxPyBeginAllowThreads();
30012 {
30013 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30014 result = (wxString *) &_result_ref;
30015 }
30016
30017 wxPyEndAllowThreads(__tstate);
30018 if (PyErr_Occurred()) SWIG_fail;
30019 }
30020 {
30021 #if wxUSE_UNICODE
30022 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30023 #else
30024 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30025 #endif
30026 }
30027 return resultobj;
30028 fail:
30029 return NULL;
30030 }
30031
30032
30033 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30034 PyObject *resultobj;
30035 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30036 wxString *arg2 = 0 ;
30037 bool temp2 = False ;
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
30040 char *kwnames[] = {
30041 (char *) "self",(char *) "target", NULL
30042 };
30043
30044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30047 {
30048 arg2 = wxString_in_helper(obj1);
30049 if (arg2 == NULL) SWIG_fail;
30050 temp2 = True;
30051 }
30052 {
30053 PyThreadState* __tstate = wxPyBeginAllowThreads();
30054 (arg1)->SetTarget((wxString const &)*arg2);
30055
30056 wxPyEndAllowThreads(__tstate);
30057 if (PyErr_Occurred()) SWIG_fail;
30058 }
30059 Py_INCREF(Py_None); resultobj = Py_None;
30060 {
30061 if (temp2)
30062 delete arg2;
30063 }
30064 return resultobj;
30065 fail:
30066 {
30067 if (temp2)
30068 delete arg2;
30069 }
30070 return NULL;
30071 }
30072
30073
30074 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30075 PyObject *obj;
30076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30077 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30078 Py_INCREF(obj);
30079 return Py_BuildValue((char *)"");
30080 }
30081 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30082 PyObject *resultobj;
30083 wxWindow *arg1 = (wxWindow *) NULL ;
30084 bool arg2 = (bool) True ;
30085 wxContextHelp *result;
30086 PyObject * obj0 = 0 ;
30087 PyObject * obj1 = 0 ;
30088 char *kwnames[] = {
30089 (char *) "window",(char *) "doNow", NULL
30090 };
30091
30092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30093 if (obj0) {
30094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30096 }
30097 if (obj1) {
30098 arg2 = (bool) SWIG_AsBool(obj1);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
30101 {
30102 if (!wxPyCheckForApp()) SWIG_fail;
30103 PyThreadState* __tstate = wxPyBeginAllowThreads();
30104 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30105
30106 wxPyEndAllowThreads(__tstate);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 }
30109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30110 return resultobj;
30111 fail:
30112 return NULL;
30113 }
30114
30115
30116 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30117 PyObject *resultobj;
30118 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30119 PyObject * obj0 = 0 ;
30120 char *kwnames[] = {
30121 (char *) "self", NULL
30122 };
30123
30124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30127 {
30128 PyThreadState* __tstate = wxPyBeginAllowThreads();
30129 delete arg1;
30130
30131 wxPyEndAllowThreads(__tstate);
30132 if (PyErr_Occurred()) SWIG_fail;
30133 }
30134 Py_INCREF(Py_None); resultobj = Py_None;
30135 return resultobj;
30136 fail:
30137 return NULL;
30138 }
30139
30140
30141 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30142 PyObject *resultobj;
30143 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30144 wxWindow *arg2 = (wxWindow *) NULL ;
30145 bool result;
30146 PyObject * obj0 = 0 ;
30147 PyObject * obj1 = 0 ;
30148 char *kwnames[] = {
30149 (char *) "self",(char *) "window", NULL
30150 };
30151
30152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30155 if (obj1) {
30156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30158 }
30159 {
30160 PyThreadState* __tstate = wxPyBeginAllowThreads();
30161 result = (bool)(arg1)->BeginContextHelp(arg2);
30162
30163 wxPyEndAllowThreads(__tstate);
30164 if (PyErr_Occurred()) SWIG_fail;
30165 }
30166 {
30167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30168 }
30169 return resultobj;
30170 fail:
30171 return NULL;
30172 }
30173
30174
30175 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30176 PyObject *resultobj;
30177 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30178 bool result;
30179 PyObject * obj0 = 0 ;
30180 char *kwnames[] = {
30181 (char *) "self", NULL
30182 };
30183
30184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30187 {
30188 PyThreadState* __tstate = wxPyBeginAllowThreads();
30189 result = (bool)(arg1)->EndContextHelp();
30190
30191 wxPyEndAllowThreads(__tstate);
30192 if (PyErr_Occurred()) SWIG_fail;
30193 }
30194 {
30195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30196 }
30197 return resultobj;
30198 fail:
30199 return NULL;
30200 }
30201
30202
30203 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30204 PyObject *obj;
30205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30206 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30207 Py_INCREF(obj);
30208 return Py_BuildValue((char *)"");
30209 }
30210 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30211 PyObject *resultobj;
30212 wxWindow *arg1 = (wxWindow *) 0 ;
30213 int arg2 = (int) wxID_CONTEXT_HELP ;
30214 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30215 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30216 wxSize const &arg4_defvalue = wxDefaultSize ;
30217 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30218 long arg5 = (long) wxBU_AUTODRAW ;
30219 wxContextHelpButton *result;
30220 wxPoint temp3 ;
30221 wxSize temp4 ;
30222 PyObject * obj0 = 0 ;
30223 PyObject * obj1 = 0 ;
30224 PyObject * obj2 = 0 ;
30225 PyObject * obj3 = 0 ;
30226 PyObject * obj4 = 0 ;
30227 char *kwnames[] = {
30228 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30229 };
30230
30231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30234 if (obj1) {
30235 arg2 = (int) SWIG_AsInt(obj1);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 if (obj2) {
30239 {
30240 arg3 = &temp3;
30241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30242 }
30243 }
30244 if (obj3) {
30245 {
30246 arg4 = &temp4;
30247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30248 }
30249 }
30250 if (obj4) {
30251 arg5 = (long) SWIG_AsLong(obj4);
30252 if (PyErr_Occurred()) SWIG_fail;
30253 }
30254 {
30255 if (!wxPyCheckForApp()) SWIG_fail;
30256 PyThreadState* __tstate = wxPyBeginAllowThreads();
30257 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30258
30259 wxPyEndAllowThreads(__tstate);
30260 if (PyErr_Occurred()) SWIG_fail;
30261 }
30262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30263 return resultobj;
30264 fail:
30265 return NULL;
30266 }
30267
30268
30269 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30270 PyObject *obj;
30271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30272 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30273 Py_INCREF(obj);
30274 return Py_BuildValue((char *)"");
30275 }
30276 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30277 PyObject *resultobj;
30278 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30279 wxHelpProvider *result;
30280 PyObject * obj0 = 0 ;
30281 char *kwnames[] = {
30282 (char *) "helpProvider", NULL
30283 };
30284
30285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30288 {
30289 PyThreadState* __tstate = wxPyBeginAllowThreads();
30290 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30291
30292 wxPyEndAllowThreads(__tstate);
30293 if (PyErr_Occurred()) SWIG_fail;
30294 }
30295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30296 return resultobj;
30297 fail:
30298 return NULL;
30299 }
30300
30301
30302 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30303 PyObject *resultobj;
30304 wxHelpProvider *result;
30305 char *kwnames[] = {
30306 NULL
30307 };
30308
30309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30310 {
30311 PyThreadState* __tstate = wxPyBeginAllowThreads();
30312 result = (wxHelpProvider *)wxHelpProvider::Get();
30313
30314 wxPyEndAllowThreads(__tstate);
30315 if (PyErr_Occurred()) SWIG_fail;
30316 }
30317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30318 return resultobj;
30319 fail:
30320 return NULL;
30321 }
30322
30323
30324 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30325 PyObject *resultobj;
30326 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30327 wxWindow *arg2 = (wxWindow *) 0 ;
30328 wxString result;
30329 PyObject * obj0 = 0 ;
30330 PyObject * obj1 = 0 ;
30331 char *kwnames[] = {
30332 (char *) "self",(char *) "window", NULL
30333 };
30334
30335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30340 {
30341 PyThreadState* __tstate = wxPyBeginAllowThreads();
30342 result = (arg1)->GetHelp((wxWindow const *)arg2);
30343
30344 wxPyEndAllowThreads(__tstate);
30345 if (PyErr_Occurred()) SWIG_fail;
30346 }
30347 {
30348 #if wxUSE_UNICODE
30349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30350 #else
30351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30352 #endif
30353 }
30354 return resultobj;
30355 fail:
30356 return NULL;
30357 }
30358
30359
30360 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30361 PyObject *resultobj;
30362 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30363 wxWindow *arg2 = (wxWindow *) 0 ;
30364 bool result;
30365 PyObject * obj0 = 0 ;
30366 PyObject * obj1 = 0 ;
30367 char *kwnames[] = {
30368 (char *) "self",(char *) "window", NULL
30369 };
30370
30371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30376 {
30377 PyThreadState* __tstate = wxPyBeginAllowThreads();
30378 result = (bool)(arg1)->ShowHelp(arg2);
30379
30380 wxPyEndAllowThreads(__tstate);
30381 if (PyErr_Occurred()) SWIG_fail;
30382 }
30383 {
30384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30385 }
30386 return resultobj;
30387 fail:
30388 return NULL;
30389 }
30390
30391
30392 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30393 PyObject *resultobj;
30394 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30395 wxWindow *arg2 = (wxWindow *) 0 ;
30396 wxString *arg3 = 0 ;
30397 bool temp3 = False ;
30398 PyObject * obj0 = 0 ;
30399 PyObject * obj1 = 0 ;
30400 PyObject * obj2 = 0 ;
30401 char *kwnames[] = {
30402 (char *) "self",(char *) "window",(char *) "text", NULL
30403 };
30404
30405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30410 {
30411 arg3 = wxString_in_helper(obj2);
30412 if (arg3 == NULL) SWIG_fail;
30413 temp3 = True;
30414 }
30415 {
30416 PyThreadState* __tstate = wxPyBeginAllowThreads();
30417 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30418
30419 wxPyEndAllowThreads(__tstate);
30420 if (PyErr_Occurred()) SWIG_fail;
30421 }
30422 Py_INCREF(Py_None); resultobj = Py_None;
30423 {
30424 if (temp3)
30425 delete arg3;
30426 }
30427 return resultobj;
30428 fail:
30429 {
30430 if (temp3)
30431 delete arg3;
30432 }
30433 return NULL;
30434 }
30435
30436
30437 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30438 PyObject *resultobj;
30439 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30440 int arg2 ;
30441 wxString *arg3 = 0 ;
30442 bool temp3 = False ;
30443 PyObject * obj0 = 0 ;
30444 PyObject * obj1 = 0 ;
30445 PyObject * obj2 = 0 ;
30446 char *kwnames[] = {
30447 (char *) "self",(char *) "id",(char *) "text", NULL
30448 };
30449
30450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30453 arg2 = (int) SWIG_AsInt(obj1);
30454 if (PyErr_Occurred()) SWIG_fail;
30455 {
30456 arg3 = wxString_in_helper(obj2);
30457 if (arg3 == NULL) SWIG_fail;
30458 temp3 = True;
30459 }
30460 {
30461 PyThreadState* __tstate = wxPyBeginAllowThreads();
30462 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30463
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 Py_INCREF(Py_None); resultobj = Py_None;
30468 {
30469 if (temp3)
30470 delete arg3;
30471 }
30472 return resultobj;
30473 fail:
30474 {
30475 if (temp3)
30476 delete arg3;
30477 }
30478 return NULL;
30479 }
30480
30481
30482 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30483 PyObject *resultobj;
30484 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30485 wxWindow *arg2 = (wxWindow *) 0 ;
30486 PyObject * obj0 = 0 ;
30487 PyObject * obj1 = 0 ;
30488 char *kwnames[] = {
30489 (char *) "self",(char *) "window", NULL
30490 };
30491
30492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30497 {
30498 PyThreadState* __tstate = wxPyBeginAllowThreads();
30499 (arg1)->RemoveHelp(arg2);
30500
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 Py_INCREF(Py_None); resultobj = Py_None;
30505 return resultobj;
30506 fail:
30507 return NULL;
30508 }
30509
30510
30511 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30512 PyObject *resultobj;
30513 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30514 PyObject * obj0 = 0 ;
30515 char *kwnames[] = {
30516 (char *) "self", NULL
30517 };
30518
30519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30522 {
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 wxHelpProvider_Destroy(arg1);
30525
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 Py_INCREF(Py_None); resultobj = Py_None;
30530 return resultobj;
30531 fail:
30532 return NULL;
30533 }
30534
30535
30536 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30537 PyObject *obj;
30538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30539 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30540 Py_INCREF(obj);
30541 return Py_BuildValue((char *)"");
30542 }
30543 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30544 PyObject *resultobj;
30545 wxSimpleHelpProvider *result;
30546 char *kwnames[] = {
30547 NULL
30548 };
30549
30550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30551 {
30552 PyThreadState* __tstate = wxPyBeginAllowThreads();
30553 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30554
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30559 return resultobj;
30560 fail:
30561 return NULL;
30562 }
30563
30564
30565 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30566 PyObject *obj;
30567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30568 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30569 Py_INCREF(obj);
30570 return Py_BuildValue((char *)"");
30571 }
30572 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30573 PyObject *resultobj;
30574 wxBitmap *arg1 = 0 ;
30575 wxCursor const &arg2_defvalue = wxNullCursor ;
30576 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30577 wxGenericDragImage *result;
30578 PyObject * obj0 = 0 ;
30579 PyObject * obj1 = 0 ;
30580 char *kwnames[] = {
30581 (char *) "image",(char *) "cursor", NULL
30582 };
30583
30584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30586 SWIG_POINTER_EXCEPTION | 0)) == -1)
30587 SWIG_fail;
30588 if (arg1 == NULL) {
30589 PyErr_SetString(PyExc_TypeError,"null reference");
30590 SWIG_fail;
30591 }
30592 if (obj1) {
30593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30594 SWIG_POINTER_EXCEPTION | 0)) == -1)
30595 SWIG_fail;
30596 if (arg2 == NULL) {
30597 PyErr_SetString(PyExc_TypeError,"null reference");
30598 SWIG_fail;
30599 }
30600 }
30601 {
30602 if (!wxPyCheckForApp()) SWIG_fail;
30603 PyThreadState* __tstate = wxPyBeginAllowThreads();
30604 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30605
30606 wxPyEndAllowThreads(__tstate);
30607 if (PyErr_Occurred()) SWIG_fail;
30608 }
30609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30610 return resultobj;
30611 fail:
30612 return NULL;
30613 }
30614
30615
30616 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30617 PyObject *resultobj;
30618 wxIcon *arg1 = 0 ;
30619 wxCursor const &arg2_defvalue = wxNullCursor ;
30620 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30621 wxGenericDragImage *result;
30622 PyObject * obj0 = 0 ;
30623 PyObject * obj1 = 0 ;
30624 char *kwnames[] = {
30625 (char *) "image",(char *) "cursor", NULL
30626 };
30627
30628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30630 SWIG_POINTER_EXCEPTION | 0)) == -1)
30631 SWIG_fail;
30632 if (arg1 == NULL) {
30633 PyErr_SetString(PyExc_TypeError,"null reference");
30634 SWIG_fail;
30635 }
30636 if (obj1) {
30637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30638 SWIG_POINTER_EXCEPTION | 0)) == -1)
30639 SWIG_fail;
30640 if (arg2 == NULL) {
30641 PyErr_SetString(PyExc_TypeError,"null reference");
30642 SWIG_fail;
30643 }
30644 }
30645 {
30646 if (!wxPyCheckForApp()) SWIG_fail;
30647 PyThreadState* __tstate = wxPyBeginAllowThreads();
30648 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30649
30650 wxPyEndAllowThreads(__tstate);
30651 if (PyErr_Occurred()) SWIG_fail;
30652 }
30653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30654 return resultobj;
30655 fail:
30656 return NULL;
30657 }
30658
30659
30660 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30661 PyObject *resultobj;
30662 wxString *arg1 = 0 ;
30663 wxCursor const &arg2_defvalue = wxNullCursor ;
30664 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30665 wxGenericDragImage *result;
30666 bool temp1 = False ;
30667 PyObject * obj0 = 0 ;
30668 PyObject * obj1 = 0 ;
30669 char *kwnames[] = {
30670 (char *) "str",(char *) "cursor", NULL
30671 };
30672
30673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30674 {
30675 arg1 = wxString_in_helper(obj0);
30676 if (arg1 == NULL) SWIG_fail;
30677 temp1 = True;
30678 }
30679 if (obj1) {
30680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30681 SWIG_POINTER_EXCEPTION | 0)) == -1)
30682 SWIG_fail;
30683 if (arg2 == NULL) {
30684 PyErr_SetString(PyExc_TypeError,"null reference");
30685 SWIG_fail;
30686 }
30687 }
30688 {
30689 if (!wxPyCheckForApp()) SWIG_fail;
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30692
30693 wxPyEndAllowThreads(__tstate);
30694 if (PyErr_Occurred()) SWIG_fail;
30695 }
30696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30697 {
30698 if (temp1)
30699 delete arg1;
30700 }
30701 return resultobj;
30702 fail:
30703 {
30704 if (temp1)
30705 delete arg1;
30706 }
30707 return NULL;
30708 }
30709
30710
30711 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30712 PyObject *resultobj;
30713 wxPyTreeCtrl *arg1 = 0 ;
30714 wxTreeItemId *arg2 = 0 ;
30715 wxGenericDragImage *result;
30716 PyObject * obj0 = 0 ;
30717 PyObject * obj1 = 0 ;
30718 char *kwnames[] = {
30719 (char *) "treeCtrl",(char *) "id", NULL
30720 };
30721
30722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30724 SWIG_POINTER_EXCEPTION | 0)) == -1)
30725 SWIG_fail;
30726 if (arg1 == NULL) {
30727 PyErr_SetString(PyExc_TypeError,"null reference");
30728 SWIG_fail;
30729 }
30730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30731 SWIG_POINTER_EXCEPTION | 0)) == -1)
30732 SWIG_fail;
30733 if (arg2 == NULL) {
30734 PyErr_SetString(PyExc_TypeError,"null reference");
30735 SWIG_fail;
30736 }
30737 {
30738 if (!wxPyCheckForApp()) SWIG_fail;
30739 PyThreadState* __tstate = wxPyBeginAllowThreads();
30740 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30741
30742 wxPyEndAllowThreads(__tstate);
30743 if (PyErr_Occurred()) SWIG_fail;
30744 }
30745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30746 return resultobj;
30747 fail:
30748 return NULL;
30749 }
30750
30751
30752 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30753 PyObject *resultobj;
30754 wxPyListCtrl *arg1 = 0 ;
30755 long arg2 ;
30756 wxGenericDragImage *result;
30757 PyObject * obj0 = 0 ;
30758 PyObject * obj1 = 0 ;
30759 char *kwnames[] = {
30760 (char *) "listCtrl",(char *) "id", NULL
30761 };
30762
30763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
30764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30765 SWIG_POINTER_EXCEPTION | 0)) == -1)
30766 SWIG_fail;
30767 if (arg1 == NULL) {
30768 PyErr_SetString(PyExc_TypeError,"null reference");
30769 SWIG_fail;
30770 }
30771 arg2 = (long) SWIG_AsLong(obj1);
30772 if (PyErr_Occurred()) SWIG_fail;
30773 {
30774 if (!wxPyCheckForApp()) SWIG_fail;
30775 PyThreadState* __tstate = wxPyBeginAllowThreads();
30776 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30777
30778 wxPyEndAllowThreads(__tstate);
30779 if (PyErr_Occurred()) SWIG_fail;
30780 }
30781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30782 return resultobj;
30783 fail:
30784 return NULL;
30785 }
30786
30787
30788 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj;
30790 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30791 PyObject * obj0 = 0 ;
30792 char *kwnames[] = {
30793 (char *) "self", NULL
30794 };
30795
30796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
30797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30799 {
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 delete arg1;
30802
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 Py_INCREF(Py_None); resultobj = Py_None;
30807 return resultobj;
30808 fail:
30809 return NULL;
30810 }
30811
30812
30813 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30814 PyObject *resultobj;
30815 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30816 wxBitmap *arg2 = (wxBitmap *) 0 ;
30817 PyObject * obj0 = 0 ;
30818 PyObject * obj1 = 0 ;
30819 char *kwnames[] = {
30820 (char *) "self",(char *) "bitmap", NULL
30821 };
30822
30823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
30824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30828 {
30829 PyThreadState* __tstate = wxPyBeginAllowThreads();
30830 (arg1)->SetBackingBitmap(arg2);
30831
30832 wxPyEndAllowThreads(__tstate);
30833 if (PyErr_Occurred()) SWIG_fail;
30834 }
30835 Py_INCREF(Py_None); resultobj = Py_None;
30836 return resultobj;
30837 fail:
30838 return NULL;
30839 }
30840
30841
30842 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj;
30844 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30845 wxPoint *arg2 = 0 ;
30846 wxWindow *arg3 = (wxWindow *) 0 ;
30847 bool arg4 = (bool) False ;
30848 wxRect *arg5 = (wxRect *) NULL ;
30849 bool result;
30850 wxPoint temp2 ;
30851 PyObject * obj0 = 0 ;
30852 PyObject * obj1 = 0 ;
30853 PyObject * obj2 = 0 ;
30854 PyObject * obj3 = 0 ;
30855 PyObject * obj4 = 0 ;
30856 char *kwnames[] = {
30857 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30858 };
30859
30860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30863 {
30864 arg2 = &temp2;
30865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30866 }
30867 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30869 if (obj3) {
30870 arg4 = (bool) SWIG_AsBool(obj3);
30871 if (PyErr_Occurred()) SWIG_fail;
30872 }
30873 if (obj4) {
30874 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30876 }
30877 {
30878 PyThreadState* __tstate = wxPyBeginAllowThreads();
30879 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30880
30881 wxPyEndAllowThreads(__tstate);
30882 if (PyErr_Occurred()) SWIG_fail;
30883 }
30884 {
30885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30886 }
30887 return resultobj;
30888 fail:
30889 return NULL;
30890 }
30891
30892
30893 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30894 PyObject *resultobj;
30895 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30896 wxPoint *arg2 = 0 ;
30897 wxWindow *arg3 = (wxWindow *) 0 ;
30898 wxWindow *arg4 = (wxWindow *) 0 ;
30899 bool result;
30900 wxPoint temp2 ;
30901 PyObject * obj0 = 0 ;
30902 PyObject * obj1 = 0 ;
30903 PyObject * obj2 = 0 ;
30904 PyObject * obj3 = 0 ;
30905 char *kwnames[] = {
30906 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30907 };
30908
30909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30912 {
30913 arg2 = &temp2;
30914 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30915 }
30916 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30918 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30920 {
30921 PyThreadState* __tstate = wxPyBeginAllowThreads();
30922 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30923
30924 wxPyEndAllowThreads(__tstate);
30925 if (PyErr_Occurred()) SWIG_fail;
30926 }
30927 {
30928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30929 }
30930 return resultobj;
30931 fail:
30932 return NULL;
30933 }
30934
30935
30936 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30937 PyObject *resultobj;
30938 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30939 bool result;
30940 PyObject * obj0 = 0 ;
30941 char *kwnames[] = {
30942 (char *) "self", NULL
30943 };
30944
30945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
30946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30948 {
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = (bool)(arg1)->EndDrag();
30951
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 {
30956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30957 }
30958 return resultobj;
30959 fail:
30960 return NULL;
30961 }
30962
30963
30964 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30965 PyObject *resultobj;
30966 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30967 wxPoint *arg2 = 0 ;
30968 bool result;
30969 wxPoint temp2 ;
30970 PyObject * obj0 = 0 ;
30971 PyObject * obj1 = 0 ;
30972 char *kwnames[] = {
30973 (char *) "self",(char *) "pt", NULL
30974 };
30975
30976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30979 {
30980 arg2 = &temp2;
30981 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30982 }
30983 {
30984 PyThreadState* __tstate = wxPyBeginAllowThreads();
30985 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30986
30987 wxPyEndAllowThreads(__tstate);
30988 if (PyErr_Occurred()) SWIG_fail;
30989 }
30990 {
30991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30992 }
30993 return resultobj;
30994 fail:
30995 return NULL;
30996 }
30997
30998
30999 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31000 PyObject *resultobj;
31001 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31002 bool result;
31003 PyObject * obj0 = 0 ;
31004 char *kwnames[] = {
31005 (char *) "self", NULL
31006 };
31007
31008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 result = (bool)(arg1)->Show();
31014
31015 wxPyEndAllowThreads(__tstate);
31016 if (PyErr_Occurred()) SWIG_fail;
31017 }
31018 {
31019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31020 }
31021 return resultobj;
31022 fail:
31023 return NULL;
31024 }
31025
31026
31027 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31028 PyObject *resultobj;
31029 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31030 bool result;
31031 PyObject * obj0 = 0 ;
31032 char *kwnames[] = {
31033 (char *) "self", NULL
31034 };
31035
31036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 result = (bool)(arg1)->Hide();
31042
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 {
31047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31048 }
31049 return resultobj;
31050 fail:
31051 return NULL;
31052 }
31053
31054
31055 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
31056 PyObject *resultobj;
31057 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31058 wxPoint *arg2 = 0 ;
31059 wxRect result;
31060 wxPoint temp2 ;
31061 PyObject * obj0 = 0 ;
31062 PyObject * obj1 = 0 ;
31063 char *kwnames[] = {
31064 (char *) "self",(char *) "pos", NULL
31065 };
31066
31067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31070 {
31071 arg2 = &temp2;
31072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31073 }
31074 {
31075 PyThreadState* __tstate = wxPyBeginAllowThreads();
31076 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31077
31078 wxPyEndAllowThreads(__tstate);
31079 if (PyErr_Occurred()) SWIG_fail;
31080 }
31081 {
31082 wxRect * resultptr;
31083 resultptr = new wxRect((wxRect &) result);
31084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31085 }
31086 return resultobj;
31087 fail:
31088 return NULL;
31089 }
31090
31091
31092 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31093 PyObject *resultobj;
31094 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31095 wxDC *arg2 = 0 ;
31096 wxPoint *arg3 = 0 ;
31097 bool result;
31098 wxPoint temp3 ;
31099 PyObject * obj0 = 0 ;
31100 PyObject * obj1 = 0 ;
31101 PyObject * obj2 = 0 ;
31102 char *kwnames[] = {
31103 (char *) "self",(char *) "dc",(char *) "pos", NULL
31104 };
31105
31106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31110 SWIG_POINTER_EXCEPTION | 0)) == -1)
31111 SWIG_fail;
31112 if (arg2 == NULL) {
31113 PyErr_SetString(PyExc_TypeError,"null reference");
31114 SWIG_fail;
31115 }
31116 {
31117 arg3 = &temp3;
31118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31119 }
31120 {
31121 PyThreadState* __tstate = wxPyBeginAllowThreads();
31122 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31123
31124 wxPyEndAllowThreads(__tstate);
31125 if (PyErr_Occurred()) SWIG_fail;
31126 }
31127 {
31128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31129 }
31130 return resultobj;
31131 fail:
31132 return NULL;
31133 }
31134
31135
31136 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31137 PyObject *resultobj;
31138 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31139 wxDC *arg2 = 0 ;
31140 wxMemoryDC *arg3 = 0 ;
31141 wxRect *arg4 = 0 ;
31142 wxRect *arg5 = 0 ;
31143 bool result;
31144 wxRect temp4 ;
31145 wxRect temp5 ;
31146 PyObject * obj0 = 0 ;
31147 PyObject * obj1 = 0 ;
31148 PyObject * obj2 = 0 ;
31149 PyObject * obj3 = 0 ;
31150 PyObject * obj4 = 0 ;
31151 char *kwnames[] = {
31152 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31153 };
31154
31155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31159 SWIG_POINTER_EXCEPTION | 0)) == -1)
31160 SWIG_fail;
31161 if (arg2 == NULL) {
31162 PyErr_SetString(PyExc_TypeError,"null reference");
31163 SWIG_fail;
31164 }
31165 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31166 SWIG_POINTER_EXCEPTION | 0)) == -1)
31167 SWIG_fail;
31168 if (arg3 == NULL) {
31169 PyErr_SetString(PyExc_TypeError,"null reference");
31170 SWIG_fail;
31171 }
31172 {
31173 arg4 = &temp4;
31174 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31175 }
31176 {
31177 arg5 = &temp5;
31178 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31179 }
31180 {
31181 PyThreadState* __tstate = wxPyBeginAllowThreads();
31182 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31183
31184 wxPyEndAllowThreads(__tstate);
31185 if (PyErr_Occurred()) SWIG_fail;
31186 }
31187 {
31188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31189 }
31190 return resultobj;
31191 fail:
31192 return NULL;
31193 }
31194
31195
31196 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31197 PyObject *resultobj;
31198 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31199 wxPoint *arg2 = 0 ;
31200 wxPoint *arg3 = 0 ;
31201 bool arg4 ;
31202 bool arg5 ;
31203 bool result;
31204 wxPoint temp2 ;
31205 wxPoint temp3 ;
31206 PyObject * obj0 = 0 ;
31207 PyObject * obj1 = 0 ;
31208 PyObject * obj2 = 0 ;
31209 PyObject * obj3 = 0 ;
31210 PyObject * obj4 = 0 ;
31211 char *kwnames[] = {
31212 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31213 };
31214
31215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31218 {
31219 arg2 = &temp2;
31220 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31221 }
31222 {
31223 arg3 = &temp3;
31224 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31225 }
31226 arg4 = (bool) SWIG_AsBool(obj3);
31227 if (PyErr_Occurred()) SWIG_fail;
31228 arg5 = (bool) SWIG_AsBool(obj4);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 {
31231 PyThreadState* __tstate = wxPyBeginAllowThreads();
31232 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31233
31234 wxPyEndAllowThreads(__tstate);
31235 if (PyErr_Occurred()) SWIG_fail;
31236 }
31237 {
31238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31239 }
31240 return resultobj;
31241 fail:
31242 return NULL;
31243 }
31244
31245
31246 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31247 PyObject *obj;
31248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31249 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31250 Py_INCREF(obj);
31251 return Py_BuildValue((char *)"");
31252 }
31253 static PyMethodDef SwigMethods[] = {
31254 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31255 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31256 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31257 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31258 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31259 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31260 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31261 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31262 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31263 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31264 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31265 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31266 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31267 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31268 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31269 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31270 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31271 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31272 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31273 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31274 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31275 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31276 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31277 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31278 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31279 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31280 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31281 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31282 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31283 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31284 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
31286 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31287 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31288 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31289 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31290 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31291 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31292 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
31294 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31296 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31301 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31302 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31303 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31304 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31305 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31306 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31307 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31308 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31313 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31314 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
31315 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31316 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31317 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31318 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31319 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31320 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31321 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31322 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31323 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31324 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31325 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31326 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31327 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31328 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31331 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31333 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31336 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31337 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31338 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31339 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31341 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31343 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31344 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31345 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
31346 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31348 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31350 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31351 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31356 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31357 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31358 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31359 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31360 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31361 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31363 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31364 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31365 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31370 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31371 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31372 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31375 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31376 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31377 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31378 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31379 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31380 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31382 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31383 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31384 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31385 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31387 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
31388 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31390 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31392 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31393 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31394 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31397 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31399 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31400 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31401 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31403 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31404 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31405 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31406 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31407 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31408 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31412 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31415 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31416 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31417 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31418 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31419 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31423 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31424 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31426 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31429 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31430 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31431 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31436 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31438 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31439 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31440 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31441 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31442 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31443 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31445 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31446 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31447 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31448 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31452 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31454 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31458 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31459 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31462 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31463 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31464 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31465 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31466 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31468 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31470 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31472 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31473 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31474 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31475 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31476 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31477 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31478 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31480 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31481 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31482 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31483 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31484 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31489 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31490 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31503 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31509 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31515 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31517 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31518 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31519 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31537 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31544 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
31568 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31570 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31573 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31578 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31599 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31605 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31615 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31617 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31622 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31624 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31629 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31634 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31664 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31709 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31715 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31727 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31779 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31806 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31858 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31865 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31877 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31889 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31897 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31904 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31920 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31934 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31950 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31956 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31963 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31995 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32000 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
32002 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
32003 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
32004 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
32011 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32012 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32013 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
32015 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
32016 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
32017 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32020 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
32022 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
32023 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
32024 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32025 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
32026 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
32031 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
32032 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
32033 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32034 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
32035 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
32036 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
32037 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
32038 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
32039 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
32040 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
32041 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
32042 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
32043 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32044 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
32045 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
32046 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32047 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
32048 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
32049 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
32050 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
32051 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
32052 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
32053 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
32054 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
32055 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
32056 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32057 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32058 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
32059 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
32060 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32061 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32062 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32063 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32064 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32065 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32066 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32067 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32068 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
32069 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
32070 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32071 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32072 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32073 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
32074 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32075 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32076 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32077 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32078 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32079 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32080 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32081 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32082 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32083 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32084 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32085 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32086 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32087 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32088 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32089 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32090 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32091 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
32092 { NULL, NULL }
32093 };
32094
32095
32096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32097
32098 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32099 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32100 }
32101 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32102 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32103 }
32104 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32105 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32106 }
32107 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32108 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32109 }
32110 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32111 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32112 }
32113 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32114 return (void *)((wxSizer *) ((wxGridSizer *) x));
32115 }
32116 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32117 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32118 }
32119 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32120 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32121 }
32122 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32123 return (void *)((wxSizer *) ((wxPySizer *) x));
32124 }
32125 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32126 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32127 }
32128 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32130 }
32131 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32132 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32133 }
32134 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32135 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32136 }
32137 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32138 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32139 }
32140 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32141 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32142 }
32143 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32144 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32145 }
32146 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32147 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32148 }
32149 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32150 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32151 }
32152 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32154 }
32155 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32157 }
32158 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32159 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32160 }
32161 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32162 return (void *)((wxEvent *) ((wxPyEvent *) x));
32163 }
32164 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32166 }
32167 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32168 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32169 }
32170 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32171 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32172 }
32173 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32174 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32175 }
32176 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32178 }
32179 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32180 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32181 }
32182 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32184 }
32185 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32186 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32187 }
32188 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32189 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32190 }
32191 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32192 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32193 }
32194 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32195 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32196 }
32197 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32198 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32199 }
32200 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32201 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32202 }
32203 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32204 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32205 }
32206 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32207 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32208 }
32209 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32210 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32211 }
32212 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32213 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32214 }
32215 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32216 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32217 }
32218 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32219 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32220 }
32221 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32222 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32223 }
32224 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32225 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32226 }
32227 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32228 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32229 }
32230 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32231 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32232 }
32233 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32234 return (void *)((wxEvent *) ((wxShowEvent *) x));
32235 }
32236 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32237 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32238 }
32239 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32241 }
32242 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32244 }
32245 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32246 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32247 }
32248 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32249 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32250 }
32251 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32252 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32253 }
32254 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32255 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32256 }
32257 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32258 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32259 }
32260 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32261 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32262 }
32263 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32264 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32265 }
32266 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32267 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32268 }
32269 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32270 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32271 }
32272 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32273 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32274 }
32275 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32276 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32277 }
32278 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32279 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32280 }
32281 static void *_p_wxListBoxTo_p_wxControl(void *x) {
32282 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32283 }
32284 static void *_p_wxChoiceTo_p_wxControl(void *x) {
32285 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32286 }
32287 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32288 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32289 }
32290 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32291 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32292 }
32293 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32294 return (void *)((wxControl *) ((wxComboBox *) x));
32295 }
32296 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32297 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32298 }
32299 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32300 return (void *)((wxControl *) ((wxStaticBox *) x));
32301 }
32302 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32303 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32304 }
32305 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32306 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32307 }
32308 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32309 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32310 }
32311 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32312 return (void *)((wxControl *) ((wxScrollBar *) x));
32313 }
32314 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32315 return (void *)((wxControl *) ((wxBookCtrl *) x));
32316 }
32317 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32318 return (void *)((wxControl *) ((wxRadioButton *) x));
32319 }
32320 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32321 return (void *)((wxControl *) ((wxToggleButton *) x));
32322 }
32323 static void *_p_wxGaugeTo_p_wxControl(void *x) {
32324 return (void *)((wxControl *) ((wxGauge *) x));
32325 }
32326 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32327 return (void *)((wxControl *) ((wxToolBarBase *) x));
32328 }
32329 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32330 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32331 }
32332 static void *_p_wxButtonTo_p_wxControl(void *x) {
32333 return (void *)((wxControl *) ((wxButton *) x));
32334 }
32335 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32336 return (void *)((wxControl *) ((wxSpinButton *) x));
32337 }
32338 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32339 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32340 }
32341 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32342 return (void *)((wxControl *) ((wxControlWithItems *) x));
32343 }
32344 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32345 return (void *)((wxControl *) ((wxRadioBox *) x));
32346 }
32347 static void *_p_wxNotebookTo_p_wxControl(void *x) {
32348 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32349 }
32350 static void *_p_wxListbookTo_p_wxControl(void *x) {
32351 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32352 }
32353 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32354 return (void *)((wxControl *) ((wxCheckBox *) x));
32355 }
32356 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32357 return (void *)((wxControl *) ((wxTextCtrl *) x));
32358 }
32359 static void *_p_wxListViewTo_p_wxControl(void *x) {
32360 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32361 }
32362 static void *_p_wxSliderTo_p_wxControl(void *x) {
32363 return (void *)((wxControl *) ((wxSlider *) x));
32364 }
32365 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32366 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32367 }
32368 static void *_p_wxPyControlTo_p_wxControl(void *x) {
32369 return (void *)((wxControl *) ((wxPyControl *) x));
32370 }
32371 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32372 return (void *)((wxControl *) ((wxStaticLine *) x));
32373 }
32374 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32375 return (void *)((wxControl *) ((wxStaticText *) x));
32376 }
32377 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32378 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32379 }
32380 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32381 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32382 }
32383 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32384 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32385 }
32386 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32387 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32388 }
32389 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32390 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32391 }
32392 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32393 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32394 }
32395 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32396 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32397 }
32398 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32399 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32400 }
32401 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32402 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32403 }
32404 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32405 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32406 }
32407 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32408 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32409 }
32410 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32411 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32412 }
32413 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32415 }
32416 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32417 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32418 }
32419 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32420 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32421 }
32422 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32423 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32424 }
32425 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32426 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32427 }
32428 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32429 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32430 }
32431 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32432 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32433 }
32434 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32435 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32436 }
32437 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32438 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32439 }
32440 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32441 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32442 }
32443 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32444 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32445 }
32446 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32447 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32448 }
32449 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32450 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32451 }
32452 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32454 }
32455 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32456 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32457 }
32458 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32459 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32460 }
32461 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32462 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32463 }
32464 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32465 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32466 }
32467 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32468 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32469 }
32470 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32471 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32472 }
32473 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32474 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32475 }
32476 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32477 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32478 }
32479 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32480 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32481 }
32482 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32484 }
32485 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32486 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32487 }
32488 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32489 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32490 }
32491 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32493 }
32494 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32495 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32496 }
32497 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32498 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32499 }
32500 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32502 }
32503 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32505 }
32506 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32508 }
32509 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32510 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32511 }
32512 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32514 }
32515 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32516 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32517 }
32518 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32520 }
32521 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32522 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32523 }
32524 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32525 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32526 }
32527 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32528 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32529 }
32530 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32531 return (void *)((wxButton *) ((wxBitmapButton *) x));
32532 }
32533 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32534 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32535 }
32536 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32537 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32538 }
32539 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32540 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32541 }
32542 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32543 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32544 }
32545 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32546 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32547 }
32548 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32549 return (void *)((wxObject *) ((wxSizerItem *) x));
32550 }
32551 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32552 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32553 }
32554 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32555 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32556 }
32557 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32558 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32559 }
32560 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32561 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32562 }
32563 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32564 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32565 }
32566 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32567 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32568 }
32569 static void *_p_wxSizerTo_p_wxObject(void *x) {
32570 return (void *)((wxObject *) ((wxSizer *) x));
32571 }
32572 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32573 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32574 }
32575 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32577 }
32578 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32580 }
32581 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32583 }
32584 static void *_p_wxEventTo_p_wxObject(void *x) {
32585 return (void *)((wxObject *) ((wxEvent *) x));
32586 }
32587 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32588 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32589 }
32590 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32591 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32592 }
32593 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32594 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32595 }
32596 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32598 }
32599 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32601 }
32602 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32604 }
32605 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32606 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32607 }
32608 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32609 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32610 }
32611 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32613 }
32614 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32616 }
32617 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32619 }
32620 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32622 }
32623 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32625 }
32626 static void *_p_wxControlTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32628 }
32629 static void *_p_wxPyControlTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32631 }
32632 static void *_p_wxGaugeTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32634 }
32635 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32637 }
32638 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32640 }
32641 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32643 }
32644 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32646 }
32647 static void *_p_wxChoiceTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32649 }
32650 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) ((wxFSFile *) x));
32652 }
32653 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32655 }
32656 static void *_p_wxListViewTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32658 }
32659 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32661 }
32662 static void *_p_wxNotebookTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32664 }
32665 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32667 }
32668 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32670 }
32671 static void *_p_wxListbookTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32673 }
32674 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32676 }
32677 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32679 }
32680 static void *_p_wxSliderTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32682 }
32683 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) ((wxMenuItem *) x));
32685 }
32686 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32688 }
32689 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32691 }
32692 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32694 }
32695 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32697 }
32698 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32700 }
32701 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32703 }
32704 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32706 }
32707 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32709 }
32710 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32712 }
32713 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) ((wxContextHelp *) x));
32715 }
32716 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32718 }
32719 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32721 }
32722 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32724 }
32725 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32727 }
32728 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32730 }
32731 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32733 }
32734 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32736 }
32737 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32739 }
32740 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32742 }
32743 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32745 }
32746 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) ((wxImageHandler *) x));
32748 }
32749 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32751 }
32752 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) ((wxEvtHandler *) x));
32754 }
32755 static void *_p_wxListEventTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32757 }
32758 static void *_p_wxListBoxTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32760 }
32761 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32763 }
32764 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32766 }
32767 static void *_p_wxButtonTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32769 }
32770 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32772 }
32773 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32775 }
32776 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32778 }
32779 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32781 }
32782 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32784 }
32785 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32787 }
32788 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
32790 }
32791 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32793 }
32794 static void *_p_wxListItemTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) ((wxListItem *) x));
32796 }
32797 static void *_p_wxImageTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) ((wxImage *) x));
32799 }
32800 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32802 }
32803 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32805 }
32806 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32808 }
32809 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32811 }
32812 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32814 }
32815 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32817 }
32818 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32820 }
32821 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32823 }
32824 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32826 }
32827 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32829 }
32830 static void *_p_wxWindowTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32832 }
32833 static void *_p_wxMenuTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32835 }
32836 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32838 }
32839 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) ((wxFileSystem *) x));
32841 }
32842 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32844 }
32845 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32847 }
32848 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32850 }
32851 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32853 }
32854 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32856 }
32857 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32859 }
32860 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32862 }
32863 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32865 }
32866 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32868 }
32869 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32871 }
32872 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32874 }
32875 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32877 }
32878 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32880 }
32881 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32883 }
32884 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32886 }
32887 static void *_p_wxToolBarTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32889 }
32890 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32892 }
32893 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32895 }
32896 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32898 }
32899 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32900 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32901 }
32902 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32903 return (void *)((wxWindow *) ((wxMenuBar *) x));
32904 }
32905 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32906 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32907 }
32908 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32909 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32910 }
32911 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32912 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32913 }
32914 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32915 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32916 }
32917 static void *_p_wxControlTo_p_wxWindow(void *x) {
32918 return (void *)((wxWindow *) ((wxControl *) x));
32919 }
32920 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32921 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32922 }
32923 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32924 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32925 }
32926 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32927 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32928 }
32929 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32930 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
32931 }
32932 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32933 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32934 }
32935 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32936 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32937 }
32938 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32939 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32940 }
32941 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32942 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32943 }
32944 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32945 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32946 }
32947 static void *_p_wxListbookTo_p_wxWindow(void *x) {
32948 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32949 }
32950 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32951 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32952 }
32953 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32954 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32955 }
32956 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32957 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32958 }
32959 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32960 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32961 }
32962 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32963 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32964 }
32965 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32966 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32967 }
32968 static void *_p_wxListViewTo_p_wxWindow(void *x) {
32969 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32970 }
32971 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32972 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32973 }
32974 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32975 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32976 }
32977 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32978 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32979 }
32980 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32981 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32982 }
32983 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32984 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32985 }
32986 static void *_p_wxSliderTo_p_wxWindow(void *x) {
32987 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32988 }
32989 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32990 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32991 }
32992 static void *_p_wxButtonTo_p_wxWindow(void *x) {
32993 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32994 }
32995 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32996 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32997 }
32998 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32999 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33000 }
33001 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33002 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33003 }
33004 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33005 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33006 }
33007 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33008 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33009 }
33010 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33011 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33012 }
33013 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33014 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33015 }
33016 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33017 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33018 }
33019 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33020 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33021 }
33022 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33023 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33024 }
33025 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33026 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33027 }
33028 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33029 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33030 }
33031 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33032 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33033 }
33034 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33035 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33036 }
33037 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33038 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33039 }
33040 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33041 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33042 }
33043 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33044 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33045 }
33046 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33047 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33048 }
33049 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33050 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33051 }
33052 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33053 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33054 }
33055 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33056 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33057 }
33058 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33059 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33060 }
33061 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33062 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33063 }
33064 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33065 return (void *)((wxValidator *) ((wxPyValidator *) x));
33066 }
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 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}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33114 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}};
33115 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}};
33116 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}};
33117 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}};
33118 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}};
33119 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}};
33120 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}};
33121 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}};
33122 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}};
33123 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}};
33124 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}};
33125 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}};
33126 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}};
33127 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}};
33128 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}};
33129 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}};
33130 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}};
33131 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}};
33132 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}};
33133 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}};
33134 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}};
33135 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}};
33136 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}};
33137 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}};
33138 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}};
33139 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}};
33140 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}};
33141 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}};
33142 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}};
33143 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}};
33144 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}};
33145 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}};
33146 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}};
33147 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}};
33148 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}};
33149 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}};
33150 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}};
33151 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}};
33152
33153 static swig_type_info *swig_types_initial[] = {
33154 _swigt__p_wxTextUrlEvent,
33155 _swigt__p_wxBookCtrlEvent,
33156 _swigt__p_wxSizer,
33157 _swigt__p_wxCheckBox,
33158 _swigt__p_wxPyTreeCtrl,
33159 _swigt__p_wxEvent,
33160 _swigt__p_wxGenericDirCtrl,
33161 _swigt__p_bool,
33162 _swigt__p_wxPyTreeItemData,
33163 _swigt__p_wxItemContainer,
33164 _swigt__p_wxPyListCtrl,
33165 _swigt__p_wxDirFilterListCtrl,
33166 _swigt__p_wxStaticLine,
33167 _swigt__p_wxControl,
33168 _swigt__p_wxPyControl,
33169 _swigt__p_wxGauge,
33170 _swigt__p_wxToolBarBase,
33171 _swigt__p_wxFont,
33172 _swigt__p_wxToggleButton,
33173 _swigt__p_wxRadioButton,
33174 _swigt__p_wxChoice,
33175 _swigt__p_wxMemoryDC,
33176 _swigt__p_wxListItemAttr,
33177 _swigt__p_void,
33178 _swigt__p_int,
33179 _swigt__p_wxSize,
33180 _swigt__p_wxDC,
33181 _swigt__p_wxListView,
33182 _swigt__p_wxIcon,
33183 _swigt__p_wxVisualAttributes,
33184 _swigt__p_wxTextCtrl,
33185 _swigt__p_wxNotebook,
33186 _swigt__p_wxNotifyEvent,
33187 _swigt__p_wxArrayString,
33188 _swigt__p_wxListbook,
33189 _swigt__p_wxStaticBitmap,
33190 _swigt__p_wxSlider,
33191 _swigt__p_wxStaticBox,
33192 _swigt__p_wxArrayInt,
33193 _swigt__p_wxContextHelp,
33194 _swigt__p_long,
33195 _swigt__p_wxEvtHandler,
33196 _swigt__p_wxListEvent,
33197 _swigt__p_wxCheckListBox,
33198 _swigt__p_wxListBox,
33199 _swigt__p_wxBookCtrl,
33200 _swigt__p_wxSpinButton,
33201 _swigt__p_wxButton,
33202 _swigt__p_wxBitmapButton,
33203 _swigt__p_wxRect,
33204 _swigt__p_wxContextHelpButton,
33205 _swigt__p_wxRadioBox,
33206 _swigt__p_wxScrollBar,
33207 _swigt__p_char,
33208 _swigt__p_wxTreeItemId,
33209 _swigt__p_wxComboBox,
33210 _swigt__p_wxHelpEvent,
33211 _swigt__p_wxListItem,
33212 _swigt__p_wxNotebookSizer,
33213 _swigt__p_wxSpinEvent,
33214 _swigt__p_wxGenericDragImage,
33215 _swigt__p_wxSpinCtrl,
33216 _swigt__p_wxImageList,
33217 _swigt__p_wxHelpProvider,
33218 _swigt__p_wxTextAttr,
33219 _swigt__p_wxSimpleHelpProvider,
33220 _swigt__p_wxPoint,
33221 _swigt__p_wxListbookEvent,
33222 _swigt__p_wxNotebookEvent,
33223 _swigt__p_wxObject,
33224 _swigt__p_wxCursor,
33225 _swigt__p_wxKeyEvent,
33226 _swigt__p_wxWindow,
33227 _swigt__p_wxString,
33228 _swigt__p_wxBitmap,
33229 _swigt__p_wxTreeEvent,
33230 _swigt__p_wxMouseEvent,
33231 _swigt__p_wxCommandEvent,
33232 _swigt__p_wxStaticText,
33233 _swigt__p_wxControlWithItems,
33234 _swigt__p_wxToolBarToolBase,
33235 _swigt__p_wxColour,
33236 _swigt__p_wxToolBar,
33237 _swigt__p_wxBookCtrlSizer,
33238 _swigt__p_wxValidator,
33239 0
33240 };
33241
33242
33243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33244
33245 static swig_const_info swig_const_table[] = {
33246 {0}};
33247
33248 #ifdef __cplusplus
33249 }
33250 #endif
33251
33252 #ifdef __cplusplus
33253 extern "C"
33254 #endif
33255 SWIGEXPORT(void) SWIG_init(void) {
33256 static PyObject *SWIG_globals = 0;
33257 static int typeinit = 0;
33258 PyObject *m, *d;
33259 int i;
33260 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33261 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33262 d = PyModule_GetDict(m);
33263
33264 if (!typeinit) {
33265 for (i = 0; swig_types_initial[i]; i++) {
33266 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33267 }
33268 typeinit = 1;
33269 }
33270 SWIG_InstallConstants(d,swig_const_table);
33271
33272 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33273 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33274 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33275 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33276 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33277 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33278 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33279 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33280 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33281 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33282 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33283 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33284 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33285 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33286 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33287 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33288 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33289 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33290 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33291 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33292 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33293 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33294 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33295 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33296 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33297 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33298 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33299 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33300 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33301 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33302 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33303 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33304 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33305 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33306 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33307 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33308 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33309 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33310 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33311 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33312 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33313 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33314 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33315 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33316 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33317 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33318 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33319 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33320 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33321 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33322 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33323 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33324 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33325 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33326 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33327 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33328 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33329 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33330 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33331 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33332 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33333 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33334 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33335 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33336 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33337 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33338 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33339 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33340 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33341 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33342 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33343 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33344 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33345 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33346 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33347 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33348 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33349 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33350 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33351 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33352 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33353 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33354 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33355 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33356 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33357 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33358 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33359 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33360 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33361 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33362 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33363 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33364 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33365 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33366 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33367 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33368 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33369 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33370 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33371 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33372 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33373 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33374 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33375 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33376 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33377 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33378 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33379 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33380 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33381 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33382 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33383 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33384 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33385 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33386 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33387 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33388 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33389 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33390 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33391 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33392 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33393 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33394 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33395 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33396 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33397 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33398 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33399 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33400 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33401 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33402 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33403 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33404 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33405 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33406 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33407 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33408 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33409 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33410 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33411 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33412 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33413 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33414 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33415 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33416 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33417 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33418 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33419 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33420 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33421 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33422 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33423 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33424 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33425 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33426 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33427 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33428 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33429 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33430 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33431 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33432 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33433 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33434 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33435 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33436 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33437 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33438 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33439 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33440 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33441 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33442 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33443 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33444 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33445 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33446 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33447 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33448 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33449 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33450 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33451 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33452 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33453 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33454 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33455 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33456 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33457 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33458 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33459 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33460 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33461 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33462 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33463 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33464 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33465 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33466 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33467 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33468 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33469 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33470 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33471 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33472 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33473 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33474 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33475 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33476 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33477 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33478 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33479 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33480 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33481 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33482 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33483
33484 // Map renamed classes back to their common name for OOR
33485 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33486
33487 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33488 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33489 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33490 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33491 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33492 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33493 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33494 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33495 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33496 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33497 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33498 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33499 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33500 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33501 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33502 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33503 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33504 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33505 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33506 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33507 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33508 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33509 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33510 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33511 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33512 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33513 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33514 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33515 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33516 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33517 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33518 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33519 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33520 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33521 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33522 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33523 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33524 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33525 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33526 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33527 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33528 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33529 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33530 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33531 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33532 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33533 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33534 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33535 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33536 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33537 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33538 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33539 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33540 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33541 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33542 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33543
33544 // Map renamed classes back to their common name for OOR
33545 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33546 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33547
33548 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33549 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33550 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33551 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33552 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33553 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33554 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33555 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33556 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33557 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33558
33559 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33560
33561 }
33562