]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
326
327 #define SWIG_name "_controls"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369
370 static const wxString wxPyPanelNameStr(wxPanelNameStr);
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyControlNameStr(wxControlNameStr);
373
374 const wxArrayString wxPyEmptyStringArray;
375
376 static const wxString wxPyButtonNameStr(wxButtonNameStr);
377
378 SWIGSTATIC(int)
379 SWIG_PyObj_AsInt(PyObject *obj)
380 {
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
383 }
384
385
386 SWIGSTATIC(long)
387 SWIG_PyObj_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
393
394 SWIGSTATIC(bool)
395 SWIG_PyObj_AsBool(PyObject *obj)
396 {
397 return PyObject_IsTrue(obj) ? true : false;
398 }
399
400 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
401 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
402 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
403 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
404 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
405 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
406
407 #include <wx/checklst.h>
408
409
410 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
411 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
412 if (clientData) {
413 wxPyClientData* data = new wxPyClientData(clientData);
414 self->Insert(item, pos, data);
415 } else
416 self->Insert(item, pos);
417 }
418 PyObject *wxListBox_GetSelections(wxListBox *self){
419 wxArrayInt lst;
420 self->GetSelections(lst);
421 PyObject *tup = PyTuple_New(lst.GetCount());
422 for(size_t i=0; i<lst.GetCount(); i++) {
423 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
424 }
425 return tup;
426 }
427 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
428 #ifdef __WXMSW__
429 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
430 self->GetItem(item)->SetTextColour(c);
431 #endif
432 }
433 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
434 #ifdef __WXMSW__
435 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
436 self->GetItem(item)->SetBackgroundColour(c);
437 #endif
438 }
439 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
440 #ifdef __WXMSW__
441 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
442 self->GetItem(item)->SetFont(f);
443 #endif
444 }
445 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
446
447 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
448 PyObject* o2;
449 PyObject* o3;
450
451 if (!target) {
452 target = o;
453 } else if (target == Py_None) {
454 Py_DECREF(Py_None);
455 target = o;
456 } else {
457 if (!PyTuple_Check(target)) {
458 o2 = target;
459 target = PyTuple_New(1);
460 PyTuple_SetItem(target, 0, o2);
461 }
462 o3 = PyTuple_New(1);
463 PyTuple_SetItem(o3, 0, o);
464
465 o2 = target;
466 target = PySequence_Concat(o2, o3);
467 Py_DECREF(o2);
468 Py_DECREF(o3);
469 }
470 return target;
471 }
472
473 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
474 self->AppendText(text);
475 }
476 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
477 return self->GetValue().Mid(from, to - from);
478 }
479 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
480 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
481 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
483 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
484 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
485 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
486 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
487
488 #include <wx/slider.h>
489
490
491 static const wxString wxPySliderNameStr(wxSliderNameStr);
492 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
493
494 #if defined(__WXMAC__) || defined(__WXX11__)
495 // implement dummy classes and such for wxMac
496
497 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
498
499 class wxToggleButton : public wxControl
500 {
501 public:
502 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
503 const wxPoint&, const wxSize&, long,
504 const wxValidator&, const wxString&)
505 { wxPyRaiseNotImplemented(); }
506
507 wxToggleButton()
508 { wxPyRaiseNotImplemented(); }
509 };
510 #endif
511
512 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
513
514 SWIGSTATIC(PyObject* )
515 SWIG_PyObj_FromUnsignedLong(unsigned long value)
516 {
517 return (value > (unsigned long)(LONG_MAX)) ?
518 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
519 }
520
521 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
522 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
523 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
524 if (udata) {
525 Py_INCREF(udata->m_obj);
526 return udata->m_obj;
527 } else {
528 Py_INCREF(Py_None);
529 return Py_None;
530 }
531 }
532 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
533 self->SetClientData(new wxPyUserData(clientData));
534 }
535 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){
536 wxPyUserData* udata = NULL;
537 if (clientData && clientData != Py_None)
538 udata = new wxPyUserData(clientData);
539 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
540 shortHelp, longHelp, udata);
541 }
542 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){
543 wxPyUserData* udata = NULL;
544 if (clientData && clientData != Py_None)
545 udata = new wxPyUserData(clientData);
546 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
547 shortHelp, longHelp, udata);
548 }
549 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
550 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
551 if (udata) {
552 Py_INCREF(udata->m_obj);
553 return udata->m_obj;
554 } else {
555 Py_INCREF(Py_None);
556 return Py_None;
557 }
558 }
559 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
560 self->SetToolClientData(id, new wxPyUserData(clientData));
561 }
562
563 #include <wx/listctrl.h>
564
565
566 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
567 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
568 // Python aware sorting function for wxPyListCtrl
569 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
570 int retval = 0;
571 PyObject* func = (PyObject*)funcPtr;
572 wxPyBeginBlockThreads();
573
574 PyObject* args = Py_BuildValue("(ii)", item1, item2);
575 PyObject* result = PyEval_CallObject(func, args);
576 Py_DECREF(args);
577 if (result) {
578 retval = PyInt_AsLong(result);
579 Py_DECREF(result);
580 }
581
582 wxPyEndBlockThreads();
583 return retval;
584 }
585
586 // C++ Version of a Python aware class
587 class wxPyListCtrl : public wxListCtrl {
588 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
589 public:
590 wxPyListCtrl() : wxListCtrl() {}
591 wxPyListCtrl(wxWindow* parent, wxWindowID id,
592 const wxPoint& pos,
593 const wxSize& size,
594 long style,
595 const wxValidator& validator,
596 const wxString& name) :
597 wxListCtrl(parent, id, pos, size, style, validator, name) {}
598
599 bool Create(wxWindow* parent, wxWindowID id,
600 const wxPoint& pos,
601 const wxSize& size,
602 long style,
603 const wxValidator& validator,
604 const wxString& name) {
605 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
606 }
607
608 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
609 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
610 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
611
612 PYPRIVATE;
613 };
614
615 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
616
617 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
618 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
619 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
620
621 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
622 wxListItem item;
623 item.SetMask( wxLIST_MASK_STATE |
624 wxLIST_MASK_TEXT |
625 wxLIST_MASK_IMAGE |
626 wxLIST_MASK_DATA |
627 wxLIST_SET_ITEM |
628 wxLIST_MASK_WIDTH |
629 wxLIST_MASK_FORMAT
630 );
631 if (self->GetColumn(col, item))
632 return new wxListItem(item);
633 else
634 return NULL;
635 }
636 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
637 wxListItem* info = new wxListItem;
638 info->m_itemId = itemId;
639 info->m_col = col;
640 info->m_mask = 0xFFFF;
641 self->GetItem(*info);
642 return info;
643 }
644 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
645 wxPoint pos;
646 self->GetItemPosition(item, pos);
647 return pos;
648 }
649 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
650 wxRect rect;
651 self->GetItemRect(item, rect, code);
652 return rect;
653 }
654 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
655 if (!PyCallable_Check(func))
656 return False;
657 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
658 }
659 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
660
661
662
663 return (wxWindow*)self->m_mainWin;
664
665 }
666
667 #include <wx/treectrl.h>
668 #include "wx/wxPython/pytree.h"
669
670 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
671 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
672 if (!other) return False;
673 return *self == *other;
674 }
675 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
676 if (!other) return True;
677 return *self != *other;
678 }
679 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
680 // C++ version of Python aware wxTreeCtrl
681 class wxPyTreeCtrl : public wxTreeCtrl {
682 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
683 public:
684 wxPyTreeCtrl() : wxTreeCtrl() {}
685 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
686 const wxPoint& pos,
687 const wxSize& size,
688 long style,
689 const wxValidator& validator,
690 const wxString& name) :
691 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
692
693 bool Create(wxWindow *parent, wxWindowID id,
694 const wxPoint& pos,
695 const wxSize& size,
696 long style,
697 const wxValidator& validator,
698 const wxString& name) {
699 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
700 }
701
702
703 int OnCompareItems(const wxTreeItemId& item1,
704 const wxTreeItemId& item2) {
705 int rval = 0;
706 bool found;
707 wxPyBeginBlockThreads();
708 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
709 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
710 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
711 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
712 Py_DECREF(o1);
713 Py_DECREF(o2);
714 }
715 wxPyEndBlockThreads();
716 if (! found)
717 rval = wxTreeCtrl::OnCompareItems(item1, item2);
718 return rval;
719 }
720 PYPRIVATE;
721 };
722
723 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
724
725
726
727 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
728
729
730 SWIGSTATIC(unsigned int)
731 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
732 {
733 return numeric_cast(unsigned int,
734 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
735 }
736
737 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
738 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
739 if (data == NULL) {
740 data = new wxPyTreeItemData();
741 data->SetId(item); // set the id
742 self->SetItemData(item, data);
743 }
744 return data;
745 }
746 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
747 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
748 if (data == NULL) {
749 data = new wxPyTreeItemData();
750 data->SetId(item); // set the id
751 self->SetItemData(item, data);
752 }
753 return data->GetData();
754 }
755 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
756 data->SetId(item); // set the id
757 self->SetItemData(item, data);
758 }
759 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
760 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
761 if (data == NULL) {
762 data = new wxPyTreeItemData(obj);
763 data->SetId(item); // set the id
764 self->SetItemData(item, data);
765 } else
766 data->SetData(obj);
767 }
768 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
769 wxPyBeginBlockThreads();
770 PyObject* rval = PyList_New(0);
771 wxArrayTreeItemIds array;
772 size_t num, x;
773 num = self->GetSelections(array);
774 for (x=0; x < num; x++) {
775 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
776 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
777 PyList_Append(rval, item);
778 }
779 wxPyEndBlockThreads();
780 return rval;
781 }
782 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
783 void* cookie = 0;
784 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
785 wxPyBeginBlockThreads();
786 PyObject* tup = PyTuple_New(2);
787 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
788 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
789 wxPyEndBlockThreads();
790 return tup;
791 }
792 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
793 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
794 wxPyBeginBlockThreads();
795 PyObject* tup = PyTuple_New(2);
796 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
797 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
798 wxPyEndBlockThreads();
799 return tup;
800 }
801 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
802 wxRect rect;
803 if (self->GetBoundingRect(item, rect, textOnly)) {
804 wxPyBeginBlockThreads();
805 wxRect* r = new wxRect(rect);
806 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
807 wxPyEndBlockThreads();
808 return val;
809 }
810 else
811 RETURN_NONE();
812 }
813 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
814 // C++ version of Python aware wxControl
815 class wxPyControl : public wxControl
816 {
817 DECLARE_DYNAMIC_CLASS(wxPyControl)
818 public:
819 wxPyControl() : wxControl() {}
820 wxPyControl(wxWindow* parent, const wxWindowID id,
821 const wxPoint& pos = wxDefaultPosition,
822 const wxSize& size = wxDefaultSize,
823 long style = 0,
824 const wxValidator& validator=wxDefaultValidator,
825 const wxString& name = wxPyControlNameStr)
826 : wxControl(parent, id, pos, size, style, validator, name) {}
827
828
829 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
830 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
831 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
832 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
833
834 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
835 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
836 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
837
838 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
839 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
840
841 DEC_PYCALLBACK__(InitDialog);
842 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
843 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
844 DEC_PYCALLBACK_BOOL_(Validate);
845
846 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
847 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
848 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
849
850 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
851 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
852
853 PYPRIVATE;
854 };
855
856 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
857
858 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
859 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
860 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
861 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
862
863 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
864 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
865 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
866
867 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
868 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
869
870 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
871 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
872 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
873 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
874
875 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
876 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
877 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
878
879 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
880 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
881
882
883
884
885 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
886
887 #include <wx/generic/dragimgg.h>
888
889 #ifdef __cplusplus
890 extern "C" {
891 #endif
892 static int _wrap_ButtonNameStr_set(PyObject *_val) {
893 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
894 return 1;
895 }
896
897
898 static PyObject *_wrap_ButtonNameStr_get() {
899 PyObject *pyobj;
900
901 {
902 #if wxUSE_UNICODE
903 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
904 #else
905 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
906 #endif
907 }
908 return pyobj;
909 }
910
911
912 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
913 PyObject *resultobj;
914 wxWindow *arg1 = (wxWindow *) 0 ;
915 int arg2 ;
916 wxString *arg3 = 0 ;
917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
919 wxSize const &arg5_defvalue = wxDefaultSize ;
920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
921 long arg6 = (long) 0 ;
922 wxValidator const &arg7_defvalue = wxDefaultValidator ;
923 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
924 wxString const &arg8_defvalue = wxPyButtonNameStr ;
925 wxString *arg8 = (wxString *) &arg8_defvalue ;
926 wxButton *result;
927 bool temp3 = False ;
928 wxPoint temp4 ;
929 wxSize temp5 ;
930 bool temp8 = False ;
931 PyObject * obj0 = 0 ;
932 PyObject * obj1 = 0 ;
933 PyObject * obj2 = 0 ;
934 PyObject * obj3 = 0 ;
935 PyObject * obj4 = 0 ;
936 PyObject * obj5 = 0 ;
937 PyObject * obj6 = 0 ;
938 PyObject * obj7 = 0 ;
939 char *kwnames[] = {
940 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
941 };
942
943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
945 {
946 arg2 = (int) SWIG_PyObj_AsInt(obj1);
947 if (PyErr_Occurred()) SWIG_fail;
948 }
949 {
950 arg3 = wxString_in_helper(obj2);
951 if (arg3 == NULL) SWIG_fail;
952 temp3 = True;
953 }
954 if (obj3) {
955 {
956 arg4 = &temp4;
957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
958 }
959 }
960 if (obj4) {
961 {
962 arg5 = &temp5;
963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
964 }
965 }
966 if (obj5) {
967 {
968 arg6 = (long) SWIG_PyObj_AsLong(obj5);
969 if (PyErr_Occurred()) SWIG_fail;
970 }
971 }
972 if (obj6) {
973 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
974 if (arg7 == NULL) {
975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
976 }
977 }
978 if (obj7) {
979 {
980 arg8 = wxString_in_helper(obj7);
981 if (arg8 == NULL) SWIG_fail;
982 temp8 = True;
983 }
984 }
985 {
986 PyThreadState* __tstate = wxPyBeginAllowThreads();
987 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
988
989 wxPyEndAllowThreads(__tstate);
990 if (PyErr_Occurred()) SWIG_fail;
991 }
992 {
993 resultobj = wxPyMake_wxObject(result);
994 }
995 {
996 if (temp3)
997 delete arg3;
998 }
999 {
1000 if (temp8)
1001 delete arg8;
1002 }
1003 return resultobj;
1004 fail:
1005 {
1006 if (temp3)
1007 delete arg3;
1008 }
1009 {
1010 if (temp8)
1011 delete arg8;
1012 }
1013 return NULL;
1014 }
1015
1016
1017 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject *resultobj;
1019 wxButton *result;
1020 char *kwnames[] = {
1021 NULL
1022 };
1023
1024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1025 {
1026 PyThreadState* __tstate = wxPyBeginAllowThreads();
1027 result = (wxButton *)new wxButton();
1028
1029 wxPyEndAllowThreads(__tstate);
1030 if (PyErr_Occurred()) SWIG_fail;
1031 }
1032 {
1033 resultobj = wxPyMake_wxObject(result);
1034 }
1035 return resultobj;
1036 fail:
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject *resultobj;
1043 wxButton *arg1 = (wxButton *) 0 ;
1044 wxWindow *arg2 = (wxWindow *) 0 ;
1045 int arg3 ;
1046 wxString *arg4 = 0 ;
1047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1049 wxSize const &arg6_defvalue = wxDefaultSize ;
1050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1051 long arg7 = (long) 0 ;
1052 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1053 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1054 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1055 wxString *arg9 = (wxString *) &arg9_defvalue ;
1056 bool result;
1057 bool temp4 = False ;
1058 wxPoint temp5 ;
1059 wxSize temp6 ;
1060 bool temp9 = False ;
1061 PyObject * obj0 = 0 ;
1062 PyObject * obj1 = 0 ;
1063 PyObject * obj2 = 0 ;
1064 PyObject * obj3 = 0 ;
1065 PyObject * obj4 = 0 ;
1066 PyObject * obj5 = 0 ;
1067 PyObject * obj6 = 0 ;
1068 PyObject * obj7 = 0 ;
1069 PyObject * obj8 = 0 ;
1070 char *kwnames[] = {
1071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 };
1073
1074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1077 {
1078 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1079 if (PyErr_Occurred()) SWIG_fail;
1080 }
1081 {
1082 arg4 = wxString_in_helper(obj3);
1083 if (arg4 == NULL) SWIG_fail;
1084 temp4 = True;
1085 }
1086 if (obj4) {
1087 {
1088 arg5 = &temp5;
1089 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1090 }
1091 }
1092 if (obj5) {
1093 {
1094 arg6 = &temp6;
1095 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1096 }
1097 }
1098 if (obj6) {
1099 {
1100 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 }
1104 if (obj7) {
1105 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 if (arg8 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1108 }
1109 }
1110 if (obj8) {
1111 {
1112 arg9 = wxString_in_helper(obj8);
1113 if (arg9 == NULL) SWIG_fail;
1114 temp9 = True;
1115 }
1116 }
1117 {
1118 PyThreadState* __tstate = wxPyBeginAllowThreads();
1119 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1120
1121 wxPyEndAllowThreads(__tstate);
1122 if (PyErr_Occurred()) SWIG_fail;
1123 }
1124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1125 {
1126 if (temp4)
1127 delete arg4;
1128 }
1129 {
1130 if (temp9)
1131 delete arg9;
1132 }
1133 return resultobj;
1134 fail:
1135 {
1136 if (temp4)
1137 delete arg4;
1138 }
1139 {
1140 if (temp9)
1141 delete arg9;
1142 }
1143 return NULL;
1144 }
1145
1146
1147 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject *resultobj;
1149 wxButton *arg1 = (wxButton *) 0 ;
1150 PyObject * obj0 = 0 ;
1151 char *kwnames[] = {
1152 (char *) "self", NULL
1153 };
1154
1155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 (arg1)->SetDefault();
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) SWIG_fail;
1163 }
1164 Py_INCREF(Py_None); resultobj = Py_None;
1165 return resultobj;
1166 fail:
1167 return NULL;
1168 }
1169
1170
1171 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject *resultobj;
1173 wxSize result;
1174 char *kwnames[] = {
1175 NULL
1176 };
1177
1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1179 {
1180 PyThreadState* __tstate = wxPyBeginAllowThreads();
1181 result = wxButton::GetDefaultSize();
1182
1183 wxPyEndAllowThreads(__tstate);
1184 if (PyErr_Occurred()) SWIG_fail;
1185 }
1186 {
1187 wxSize * resultptr;
1188 resultptr = new wxSize((wxSize &) result);
1189 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1190 }
1191 return resultobj;
1192 fail:
1193 return NULL;
1194 }
1195
1196
1197 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1198 PyObject *obj;
1199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1200 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1201 Py_INCREF(obj);
1202 return Py_BuildValue((char *)"");
1203 }
1204 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1205 PyObject *resultobj;
1206 wxWindow *arg1 = (wxWindow *) 0 ;
1207 int arg2 ;
1208 wxBitmap *arg3 = 0 ;
1209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1211 wxSize const &arg5_defvalue = wxDefaultSize ;
1212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1213 long arg6 = (long) wxBU_AUTODRAW ;
1214 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1215 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1216 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1217 wxString *arg8 = (wxString *) &arg8_defvalue ;
1218 wxBitmapButton *result;
1219 wxPoint temp4 ;
1220 wxSize temp5 ;
1221 bool temp8 = False ;
1222 PyObject * obj0 = 0 ;
1223 PyObject * obj1 = 0 ;
1224 PyObject * obj2 = 0 ;
1225 PyObject * obj3 = 0 ;
1226 PyObject * obj4 = 0 ;
1227 PyObject * obj5 = 0 ;
1228 PyObject * obj6 = 0 ;
1229 PyObject * obj7 = 0 ;
1230 char *kwnames[] = {
1231 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1232 };
1233
1234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1236 {
1237 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1238 if (PyErr_Occurred()) SWIG_fail;
1239 }
1240 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1241 if (arg3 == NULL) {
1242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1243 }
1244 if (obj3) {
1245 {
1246 arg4 = &temp4;
1247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1248 }
1249 }
1250 if (obj4) {
1251 {
1252 arg5 = &temp5;
1253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1254 }
1255 }
1256 if (obj5) {
1257 {
1258 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 }
1262 if (obj6) {
1263 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1264 if (arg7 == NULL) {
1265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1266 }
1267 }
1268 if (obj7) {
1269 {
1270 arg8 = wxString_in_helper(obj7);
1271 if (arg8 == NULL) SWIG_fail;
1272 temp8 = True;
1273 }
1274 }
1275 {
1276 PyThreadState* __tstate = wxPyBeginAllowThreads();
1277 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1278
1279 wxPyEndAllowThreads(__tstate);
1280 if (PyErr_Occurred()) SWIG_fail;
1281 }
1282 {
1283 resultobj = wxPyMake_wxObject(result);
1284 }
1285 {
1286 if (temp8)
1287 delete arg8;
1288 }
1289 return resultobj;
1290 fail:
1291 {
1292 if (temp8)
1293 delete arg8;
1294 }
1295 return NULL;
1296 }
1297
1298
1299 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject *resultobj;
1301 wxBitmapButton *result;
1302 char *kwnames[] = {
1303 NULL
1304 };
1305
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1307 {
1308 PyThreadState* __tstate = wxPyBeginAllowThreads();
1309 result = (wxBitmapButton *)new wxBitmapButton();
1310
1311 wxPyEndAllowThreads(__tstate);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 }
1314 {
1315 resultobj = wxPyMake_wxObject(result);
1316 }
1317 return resultobj;
1318 fail:
1319 return NULL;
1320 }
1321
1322
1323 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject *resultobj;
1325 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1326 wxWindow *arg2 = (wxWindow *) 0 ;
1327 int arg3 ;
1328 wxBitmap *arg4 = 0 ;
1329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1331 wxSize const &arg6_defvalue = wxDefaultSize ;
1332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1333 long arg7 = (long) wxBU_AUTODRAW ;
1334 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1335 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1336 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1337 wxString *arg9 = (wxString *) &arg9_defvalue ;
1338 bool result;
1339 wxPoint temp5 ;
1340 wxSize temp6 ;
1341 bool temp9 = False ;
1342 PyObject * obj0 = 0 ;
1343 PyObject * obj1 = 0 ;
1344 PyObject * obj2 = 0 ;
1345 PyObject * obj3 = 0 ;
1346 PyObject * obj4 = 0 ;
1347 PyObject * obj5 = 0 ;
1348 PyObject * obj6 = 0 ;
1349 PyObject * obj7 = 0 ;
1350 PyObject * obj8 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1358 {
1359 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1360 if (PyErr_Occurred()) SWIG_fail;
1361 }
1362 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 if (arg4 == NULL) {
1364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1365 }
1366 if (obj4) {
1367 {
1368 arg5 = &temp5;
1369 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1370 }
1371 }
1372 if (obj5) {
1373 {
1374 arg6 = &temp6;
1375 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1376 }
1377 }
1378 if (obj6) {
1379 {
1380 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1381 if (PyErr_Occurred()) SWIG_fail;
1382 }
1383 }
1384 if (obj7) {
1385 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 if (arg8 == NULL) {
1387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1388 }
1389 }
1390 if (obj8) {
1391 {
1392 arg9 = wxString_in_helper(obj8);
1393 if (arg9 == NULL) SWIG_fail;
1394 temp9 = True;
1395 }
1396 }
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1405 {
1406 if (temp9)
1407 delete arg9;
1408 }
1409 return resultobj;
1410 fail:
1411 {
1412 if (temp9)
1413 delete arg9;
1414 }
1415 return NULL;
1416 }
1417
1418
1419 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject *resultobj;
1421 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1422 wxBitmap result;
1423 PyObject * obj0 = 0 ;
1424 char *kwnames[] = {
1425 (char *) "self", NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 {
1431 PyThreadState* __tstate = wxPyBeginAllowThreads();
1432 result = (arg1)->GetBitmapLabel();
1433
1434 wxPyEndAllowThreads(__tstate);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 {
1438 wxBitmap * resultptr;
1439 resultptr = new wxBitmap((wxBitmap &) result);
1440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1441 }
1442 return resultobj;
1443 fail:
1444 return NULL;
1445 }
1446
1447
1448 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1451 wxBitmap result;
1452 PyObject * obj0 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 result = (arg1)->GetBitmapDisabled();
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
1466 {
1467 wxBitmap * resultptr;
1468 resultptr = new wxBitmap((wxBitmap &) result);
1469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1470 }
1471 return resultobj;
1472 fail:
1473 return NULL;
1474 }
1475
1476
1477 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1480 wxBitmap result;
1481 PyObject * obj0 = 0 ;
1482 char *kwnames[] = {
1483 (char *) "self", NULL
1484 };
1485
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 result = (arg1)->GetBitmapFocus();
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 {
1496 wxBitmap * resultptr;
1497 resultptr = new wxBitmap((wxBitmap &) result);
1498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1499 }
1500 return resultobj;
1501 fail:
1502 return NULL;
1503 }
1504
1505
1506 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject *resultobj;
1508 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1509 wxBitmap result;
1510 PyObject * obj0 = 0 ;
1511 char *kwnames[] = {
1512 (char *) "self", NULL
1513 };
1514
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 result = (arg1)->GetBitmapSelected();
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 {
1525 wxBitmap * resultptr;
1526 resultptr = new wxBitmap((wxBitmap &) result);
1527 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1528 }
1529 return resultobj;
1530 fail:
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1538 wxBitmap *arg2 = 0 ;
1539 PyObject * obj0 = 0 ;
1540 PyObject * obj1 = 0 ;
1541 char *kwnames[] = {
1542 (char *) "self",(char *) "bitmap", NULL
1543 };
1544
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1548 if (arg2 == NULL) {
1549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1550 }
1551 {
1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
1553 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1554
1555 wxPyEndAllowThreads(__tstate);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 }
1558 Py_INCREF(Py_None); resultobj = Py_None;
1559 return resultobj;
1560 fail:
1561 return NULL;
1562 }
1563
1564
1565 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject *resultobj;
1567 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1568 wxBitmap *arg2 = 0 ;
1569 PyObject * obj0 = 0 ;
1570 PyObject * obj1 = 0 ;
1571 char *kwnames[] = {
1572 (char *) "self",(char *) "bitmap", NULL
1573 };
1574
1575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1578 if (arg2 == NULL) {
1579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1580 }
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 Py_INCREF(Py_None); resultobj = Py_None;
1589 return resultobj;
1590 fail:
1591 return NULL;
1592 }
1593
1594
1595 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1598 wxBitmap *arg2 = 0 ;
1599 PyObject * obj0 = 0 ;
1600 PyObject * obj1 = 0 ;
1601 char *kwnames[] = {
1602 (char *) "self",(char *) "bitmap", NULL
1603 };
1604
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1608 if (arg2 == NULL) {
1609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1610 }
1611 {
1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
1613 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1614
1615 wxPyEndAllowThreads(__tstate);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 Py_INCREF(Py_None); resultobj = Py_None;
1619 return resultobj;
1620 fail:
1621 return NULL;
1622 }
1623
1624
1625 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject *resultobj;
1627 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1628 wxBitmap *arg2 = 0 ;
1629 PyObject * obj0 = 0 ;
1630 PyObject * obj1 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "bitmap", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1638 if (arg2 == NULL) {
1639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1640 }
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 Py_INCREF(Py_None); resultobj = Py_None;
1649 return resultobj;
1650 fail:
1651 return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1658 int arg2 ;
1659 int arg3 ;
1660 PyObject * obj0 = 0 ;
1661 PyObject * obj1 = 0 ;
1662 PyObject * obj2 = 0 ;
1663 char *kwnames[] = {
1664 (char *) "self",(char *) "x",(char *) "y", NULL
1665 };
1666
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669 {
1670 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 {
1674 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 (arg1)->SetMargins(arg2,arg3);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 Py_INCREF(Py_None); resultobj = Py_None;
1685 return resultobj;
1686 fail:
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1694 int result;
1695 PyObject * obj0 = 0 ;
1696 char *kwnames[] = {
1697 (char *) "self", NULL
1698 };
1699
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 resultobj = SWIG_PyObj_FromInt((int)result);
1710 return resultobj;
1711 fail:
1712 return NULL;
1713 }
1714
1715
1716 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1717 PyObject *resultobj;
1718 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1719 int result;
1720 PyObject * obj0 = 0 ;
1721 char *kwnames[] = {
1722 (char *) "self", NULL
1723 };
1724
1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1727 {
1728 PyThreadState* __tstate = wxPyBeginAllowThreads();
1729 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1730
1731 wxPyEndAllowThreads(__tstate);
1732 if (PyErr_Occurred()) SWIG_fail;
1733 }
1734 resultobj = SWIG_PyObj_FromInt((int)result);
1735 return resultobj;
1736 fail:
1737 return NULL;
1738 }
1739
1740
1741 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1742 PyObject *obj;
1743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1744 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1745 Py_INCREF(obj);
1746 return Py_BuildValue((char *)"");
1747 }
1748 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1749 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1750 return 1;
1751 }
1752
1753
1754 static PyObject *_wrap_CheckBoxNameStr_get() {
1755 PyObject *pyobj;
1756
1757 {
1758 #if wxUSE_UNICODE
1759 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1760 #else
1761 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1762 #endif
1763 }
1764 return pyobj;
1765 }
1766
1767
1768 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1769 PyObject *resultobj;
1770 wxWindow *arg1 = (wxWindow *) 0 ;
1771 int arg2 ;
1772 wxString *arg3 = 0 ;
1773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1775 wxSize const &arg5_defvalue = wxDefaultSize ;
1776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1777 long arg6 = (long) 0 ;
1778 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1779 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1780 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1781 wxString *arg8 = (wxString *) &arg8_defvalue ;
1782 wxCheckBox *result;
1783 bool temp3 = False ;
1784 wxPoint temp4 ;
1785 wxSize temp5 ;
1786 bool temp8 = False ;
1787 PyObject * obj0 = 0 ;
1788 PyObject * obj1 = 0 ;
1789 PyObject * obj2 = 0 ;
1790 PyObject * obj3 = 0 ;
1791 PyObject * obj4 = 0 ;
1792 PyObject * obj5 = 0 ;
1793 PyObject * obj6 = 0 ;
1794 PyObject * obj7 = 0 ;
1795 char *kwnames[] = {
1796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1797 };
1798
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1801 {
1802 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 }
1805 {
1806 arg3 = wxString_in_helper(obj2);
1807 if (arg3 == NULL) SWIG_fail;
1808 temp3 = True;
1809 }
1810 if (obj3) {
1811 {
1812 arg4 = &temp4;
1813 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1814 }
1815 }
1816 if (obj4) {
1817 {
1818 arg5 = &temp5;
1819 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1820 }
1821 }
1822 if (obj5) {
1823 {
1824 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 }
1828 if (obj6) {
1829 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1830 if (arg7 == NULL) {
1831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1832 }
1833 }
1834 if (obj7) {
1835 {
1836 arg8 = wxString_in_helper(obj7);
1837 if (arg8 == NULL) SWIG_fail;
1838 temp8 = True;
1839 }
1840 }
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1849 {
1850 if (temp3)
1851 delete arg3;
1852 }
1853 {
1854 if (temp8)
1855 delete arg8;
1856 }
1857 return resultobj;
1858 fail:
1859 {
1860 if (temp3)
1861 delete arg3;
1862 }
1863 {
1864 if (temp8)
1865 delete arg8;
1866 }
1867 return NULL;
1868 }
1869
1870
1871 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject *resultobj;
1873 wxCheckBox *result;
1874 char *kwnames[] = {
1875 NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (wxCheckBox *)new wxCheckBox();
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1887 return resultobj;
1888 fail:
1889 return NULL;
1890 }
1891
1892
1893 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject *resultobj;
1895 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1896 wxWindow *arg2 = (wxWindow *) 0 ;
1897 int arg3 ;
1898 wxString *arg4 = 0 ;
1899 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1900 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1901 wxSize const &arg6_defvalue = wxDefaultSize ;
1902 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1903 long arg7 = (long) 0 ;
1904 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1905 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1906 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1907 wxString *arg9 = (wxString *) &arg9_defvalue ;
1908 bool result;
1909 bool temp4 = False ;
1910 wxPoint temp5 ;
1911 wxSize temp6 ;
1912 bool temp9 = False ;
1913 PyObject * obj0 = 0 ;
1914 PyObject * obj1 = 0 ;
1915 PyObject * obj2 = 0 ;
1916 PyObject * obj3 = 0 ;
1917 PyObject * obj4 = 0 ;
1918 PyObject * obj5 = 0 ;
1919 PyObject * obj6 = 0 ;
1920 PyObject * obj7 = 0 ;
1921 PyObject * obj8 = 0 ;
1922 char *kwnames[] = {
1923 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1924 };
1925
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1929 {
1930 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 {
1934 arg4 = wxString_in_helper(obj3);
1935 if (arg4 == NULL) SWIG_fail;
1936 temp4 = True;
1937 }
1938 if (obj4) {
1939 {
1940 arg5 = &temp5;
1941 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1942 }
1943 }
1944 if (obj5) {
1945 {
1946 arg6 = &temp6;
1947 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1948 }
1949 }
1950 if (obj6) {
1951 {
1952 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 }
1956 if (obj7) {
1957 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1958 if (arg8 == NULL) {
1959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1960 }
1961 }
1962 if (obj8) {
1963 {
1964 arg9 = wxString_in_helper(obj8);
1965 if (arg9 == NULL) SWIG_fail;
1966 temp9 = True;
1967 }
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1977 {
1978 if (temp4)
1979 delete arg4;
1980 }
1981 {
1982 if (temp9)
1983 delete arg9;
1984 }
1985 return resultobj;
1986 fail:
1987 {
1988 if (temp4)
1989 delete arg4;
1990 }
1991 {
1992 if (temp9)
1993 delete arg9;
1994 }
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2002 bool result;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2010 {
2011 PyThreadState* __tstate = wxPyBeginAllowThreads();
2012 result = (bool)(arg1)->GetValue();
2013
2014 wxPyEndAllowThreads(__tstate);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 }
2017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2018 return resultobj;
2019 fail:
2020 return NULL;
2021 }
2022
2023
2024 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2025 PyObject *resultobj;
2026 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2027 bool result;
2028 PyObject * obj0 = 0 ;
2029 char *kwnames[] = {
2030 (char *) "self", NULL
2031 };
2032
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 result = (bool)(arg1)->IsChecked();
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2043 return resultobj;
2044 fail:
2045 return NULL;
2046 }
2047
2048
2049 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject *resultobj;
2051 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2052 bool arg2 ;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj1 = 0 ;
2055 char *kwnames[] = {
2056 (char *) "self",(char *) "state", NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2061 {
2062 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
2065 {
2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
2067 (arg1)->SetValue(arg2);
2068
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) SWIG_fail;
2071 }
2072 Py_INCREF(Py_None); resultobj = Py_None;
2073 return resultobj;
2074 fail:
2075 return NULL;
2076 }
2077
2078
2079 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2080 PyObject *resultobj;
2081 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2082 int result;
2083 PyObject * obj0 = 0 ;
2084 char *kwnames[] = {
2085 (char *) "self", NULL
2086 };
2087
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 resultobj = SWIG_PyObj_FromInt((int)result);
2098 return resultobj;
2099 fail:
2100 return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2107 int arg2 ;
2108 PyObject * obj0 = 0 ;
2109 PyObject * obj1 = 0 ;
2110 char *kwnames[] = {
2111 (char *) "self",(char *) "state", NULL
2112 };
2113
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2116 {
2117 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2118 if (PyErr_Occurred()) SWIG_fail;
2119 }
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 Py_INCREF(Py_None); resultobj = Py_None;
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2137 bool result;
2138 PyObject * obj0 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2153 return resultobj;
2154 fail:
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2162 bool result;
2163 PyObject * obj0 = 0 ;
2164 char *kwnames[] = {
2165 (char *) "self", NULL
2166 };
2167
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) SWIG_fail;
2176 }
2177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2178 return resultobj;
2179 fail:
2180 return NULL;
2181 }
2182
2183
2184 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2185 PyObject *obj;
2186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2187 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2188 Py_INCREF(obj);
2189 return Py_BuildValue((char *)"");
2190 }
2191 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2192 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2193 return 1;
2194 }
2195
2196
2197 static PyObject *_wrap_ChoiceNameStr_get() {
2198 PyObject *pyobj;
2199
2200 {
2201 #if wxUSE_UNICODE
2202 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2203 #else
2204 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2205 #endif
2206 }
2207 return pyobj;
2208 }
2209
2210
2211 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 wxWindow *arg1 = (wxWindow *) 0 ;
2214 int arg2 ;
2215 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2216 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2217 wxSize const &arg4_defvalue = wxDefaultSize ;
2218 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2219 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2220 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2221 long arg6 = (long) 0 ;
2222 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2223 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2224 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2225 wxString *arg8 = (wxString *) &arg8_defvalue ;
2226 wxChoice *result;
2227 wxPoint temp3 ;
2228 wxSize temp4 ;
2229 bool temp5 = False ;
2230 bool temp8 = False ;
2231 PyObject * obj0 = 0 ;
2232 PyObject * obj1 = 0 ;
2233 PyObject * obj2 = 0 ;
2234 PyObject * obj3 = 0 ;
2235 PyObject * obj4 = 0 ;
2236 PyObject * obj5 = 0 ;
2237 PyObject * obj6 = 0 ;
2238 PyObject * obj7 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 if (obj2) {
2250 {
2251 arg3 = &temp3;
2252 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2253 }
2254 }
2255 if (obj3) {
2256 {
2257 arg4 = &temp4;
2258 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2259 }
2260 }
2261 if (obj4) {
2262 {
2263 if (! PySequence_Check(obj4)) {
2264 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2265 SWIG_fail;
2266 }
2267 arg5 = new wxArrayString;
2268 temp5 = True;
2269 int i, len=PySequence_Length(obj4);
2270 for (i=0; i<len; i++) {
2271 PyObject* item = PySequence_GetItem(obj4, i);
2272 #if wxUSE_UNICODE
2273 PyObject* str = PyObject_Unicode(item);
2274 #else
2275 PyObject* str = PyObject_Str(item);
2276 #endif
2277 arg5->Add(Py2wxString(str));
2278 Py_DECREF(item);
2279 Py_DECREF(str);
2280 }
2281 }
2282 }
2283 if (obj5) {
2284 {
2285 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 }
2289 if (obj6) {
2290 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2291 if (arg7 == NULL) {
2292 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2293 }
2294 }
2295 if (obj7) {
2296 {
2297 arg8 = wxString_in_helper(obj7);
2298 if (arg8 == NULL) SWIG_fail;
2299 temp8 = True;
2300 }
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2310 {
2311 if (temp5) delete arg5;
2312 }
2313 {
2314 if (temp8)
2315 delete arg8;
2316 }
2317 return resultobj;
2318 fail:
2319 {
2320 if (temp5) delete arg5;
2321 }
2322 {
2323 if (temp8)
2324 delete arg8;
2325 }
2326 return NULL;
2327 }
2328
2329
2330 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxChoice *result;
2333 char *kwnames[] = {
2334 NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 result = (wxChoice *)new wxChoice();
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2346 return resultobj;
2347 fail:
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxChoice *arg1 = (wxChoice *) 0 ;
2355 wxWindow *arg2 = (wxWindow *) 0 ;
2356 int arg3 ;
2357 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2358 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2359 wxSize const &arg5_defvalue = wxDefaultSize ;
2360 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2361 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2362 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2363 long arg7 = (long) 0 ;
2364 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2365 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2366 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2367 wxString *arg9 = (wxString *) &arg9_defvalue ;
2368 bool result;
2369 wxPoint temp4 ;
2370 wxSize temp5 ;
2371 bool temp6 = False ;
2372 bool temp9 = False ;
2373 PyObject * obj0 = 0 ;
2374 PyObject * obj1 = 0 ;
2375 PyObject * obj2 = 0 ;
2376 PyObject * obj3 = 0 ;
2377 PyObject * obj4 = 0 ;
2378 PyObject * obj5 = 0 ;
2379 PyObject * obj6 = 0 ;
2380 PyObject * obj7 = 0 ;
2381 PyObject * obj8 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 {
2390 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 if (obj3) {
2394 {
2395 arg4 = &temp4;
2396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2397 }
2398 }
2399 if (obj4) {
2400 {
2401 arg5 = &temp5;
2402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2403 }
2404 }
2405 if (obj5) {
2406 {
2407 if (! PySequence_Check(obj5)) {
2408 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2409 SWIG_fail;
2410 }
2411 arg6 = new wxArrayString;
2412 temp6 = True;
2413 int i, len=PySequence_Length(obj5);
2414 for (i=0; i<len; i++) {
2415 PyObject* item = PySequence_GetItem(obj5, i);
2416 #if wxUSE_UNICODE
2417 PyObject* str = PyObject_Unicode(item);
2418 #else
2419 PyObject* str = PyObject_Str(item);
2420 #endif
2421 arg6->Add(Py2wxString(str));
2422 Py_DECREF(item);
2423 Py_DECREF(str);
2424 }
2425 }
2426 }
2427 if (obj6) {
2428 {
2429 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
2432 }
2433 if (obj7) {
2434 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2435 if (arg8 == NULL) {
2436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2437 }
2438 }
2439 if (obj8) {
2440 {
2441 arg9 = wxString_in_helper(obj8);
2442 if (arg9 == NULL) SWIG_fail;
2443 temp9 = True;
2444 }
2445 }
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
2453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2454 {
2455 if (temp6) delete arg6;
2456 }
2457 {
2458 if (temp9)
2459 delete arg9;
2460 }
2461 return resultobj;
2462 fail:
2463 {
2464 if (temp6) delete arg6;
2465 }
2466 {
2467 if (temp9)
2468 delete arg9;
2469 }
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 wxChoice *arg1 = (wxChoice *) 0 ;
2477 int result;
2478 PyObject * obj0 = 0 ;
2479 char *kwnames[] = {
2480 (char *) "self", NULL
2481 };
2482
2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 result = (int)(arg1)->GetColumns();
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 resultobj = SWIG_PyObj_FromInt((int)result);
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxChoice *arg1 = (wxChoice *) 0 ;
2502 int arg2 = (int) (int)1 ;
2503 PyObject * obj0 = 0 ;
2504 PyObject * obj1 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self",(char *) "n", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 if (obj1) {
2512 {
2513 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 }
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 (arg1)->SetColumns(arg2);
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 Py_INCREF(Py_None); resultobj = Py_None;
2525 return resultobj;
2526 fail:
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 wxChoice *arg1 = (wxChoice *) 0 ;
2534 int arg2 ;
2535 PyObject * obj0 = 0 ;
2536 PyObject * obj1 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self",(char *) "n", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2543 {
2544 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 (arg1)->SetSelection(arg2);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 Py_INCREF(Py_None); resultobj = Py_None;
2555 return resultobj;
2556 fail:
2557 return NULL;
2558 }
2559
2560
2561 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject *resultobj;
2563 wxChoice *arg1 = (wxChoice *) 0 ;
2564 wxString *arg2 = 0 ;
2565 bool temp2 = False ;
2566 PyObject * obj0 = 0 ;
2567 PyObject * obj1 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "self",(char *) "string", NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2574 {
2575 arg2 = wxString_in_helper(obj1);
2576 if (arg2 == NULL) SWIG_fail;
2577 temp2 = True;
2578 }
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 (arg1)->SetStringSelection((wxString const &)*arg2);
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 Py_INCREF(Py_None); resultobj = Py_None;
2587 {
2588 if (temp2)
2589 delete arg2;
2590 }
2591 return resultobj;
2592 fail:
2593 {
2594 if (temp2)
2595 delete arg2;
2596 }
2597 return NULL;
2598 }
2599
2600
2601 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2602 PyObject *resultobj;
2603 wxChoice *arg1 = (wxChoice *) 0 ;
2604 int arg2 ;
2605 wxString *arg3 = 0 ;
2606 bool temp3 = False ;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 PyObject * obj2 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self",(char *) "n",(char *) "s", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616 {
2617 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 {
2621 arg3 = wxString_in_helper(obj2);
2622 if (arg3 == NULL) SWIG_fail;
2623 temp3 = True;
2624 }
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 (arg1)->SetString(arg2,(wxString const &)*arg3);
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) SWIG_fail;
2631 }
2632 Py_INCREF(Py_None); resultobj = Py_None;
2633 {
2634 if (temp3)
2635 delete arg3;
2636 }
2637 return resultobj;
2638 fail:
2639 {
2640 if (temp3)
2641 delete arg3;
2642 }
2643 return NULL;
2644 }
2645
2646
2647 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2648 PyObject *obj;
2649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2650 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2651 Py_INCREF(obj);
2652 return Py_BuildValue((char *)"");
2653 }
2654 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2655 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2656 return 1;
2657 }
2658
2659
2660 static PyObject *_wrap_ComboBoxNameStr_get() {
2661 PyObject *pyobj;
2662
2663 {
2664 #if wxUSE_UNICODE
2665 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2666 #else
2667 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2668 #endif
2669 }
2670 return pyobj;
2671 }
2672
2673
2674 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxWindow *arg1 = (wxWindow *) 0 ;
2677 int arg2 ;
2678 wxString const &arg3_defvalue = wxPyEmptyString ;
2679 wxString *arg3 = (wxString *) &arg3_defvalue ;
2680 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2681 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2682 wxSize const &arg5_defvalue = wxDefaultSize ;
2683 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2684 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2685 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2686 long arg7 = (long) 0 ;
2687 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2688 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2689 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2690 wxString *arg9 = (wxString *) &arg9_defvalue ;
2691 wxComboBox *result;
2692 bool temp3 = False ;
2693 wxPoint temp4 ;
2694 wxSize temp5 ;
2695 bool temp6 = False ;
2696 bool temp9 = False ;
2697 PyObject * obj0 = 0 ;
2698 PyObject * obj1 = 0 ;
2699 PyObject * obj2 = 0 ;
2700 PyObject * obj3 = 0 ;
2701 PyObject * obj4 = 0 ;
2702 PyObject * obj5 = 0 ;
2703 PyObject * obj6 = 0 ;
2704 PyObject * obj7 = 0 ;
2705 PyObject * obj8 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2712 {
2713 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 if (obj2) {
2717 {
2718 arg3 = wxString_in_helper(obj2);
2719 if (arg3 == NULL) SWIG_fail;
2720 temp3 = True;
2721 }
2722 }
2723 if (obj3) {
2724 {
2725 arg4 = &temp4;
2726 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2727 }
2728 }
2729 if (obj4) {
2730 {
2731 arg5 = &temp5;
2732 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2733 }
2734 }
2735 if (obj5) {
2736 {
2737 if (! PySequence_Check(obj5)) {
2738 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2739 SWIG_fail;
2740 }
2741 arg6 = new wxArrayString;
2742 temp6 = True;
2743 int i, len=PySequence_Length(obj5);
2744 for (i=0; i<len; i++) {
2745 PyObject* item = PySequence_GetItem(obj5, i);
2746 #if wxUSE_UNICODE
2747 PyObject* str = PyObject_Unicode(item);
2748 #else
2749 PyObject* str = PyObject_Str(item);
2750 #endif
2751 arg6->Add(Py2wxString(str));
2752 Py_DECREF(item);
2753 Py_DECREF(str);
2754 }
2755 }
2756 }
2757 if (obj6) {
2758 {
2759 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 }
2763 if (obj7) {
2764 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2765 if (arg8 == NULL) {
2766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2767 }
2768 }
2769 if (obj8) {
2770 {
2771 arg9 = wxString_in_helper(obj8);
2772 if (arg9 == NULL) SWIG_fail;
2773 temp9 = True;
2774 }
2775 }
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 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);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2784 {
2785 if (temp3)
2786 delete arg3;
2787 }
2788 {
2789 if (temp6) delete arg6;
2790 }
2791 {
2792 if (temp9)
2793 delete arg9;
2794 }
2795 return resultobj;
2796 fail:
2797 {
2798 if (temp3)
2799 delete arg3;
2800 }
2801 {
2802 if (temp6) delete arg6;
2803 }
2804 {
2805 if (temp9)
2806 delete arg9;
2807 }
2808 return NULL;
2809 }
2810
2811
2812 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxComboBox *result;
2815 char *kwnames[] = {
2816 NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 result = (wxComboBox *)new wxComboBox();
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2828 return resultobj;
2829 fail:
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxComboBox *arg1 = (wxComboBox *) 0 ;
2837 wxWindow *arg2 = (wxWindow *) 0 ;
2838 int arg3 ;
2839 wxString const &arg4_defvalue = wxPyEmptyString ;
2840 wxString *arg4 = (wxString *) &arg4_defvalue ;
2841 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2842 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2843 wxSize const &arg6_defvalue = wxDefaultSize ;
2844 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2845 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2846 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2847 long arg8 = (long) 0 ;
2848 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2849 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2850 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2851 wxString *arg10 = (wxString *) &arg10_defvalue ;
2852 bool result;
2853 bool temp4 = False ;
2854 wxPoint temp5 ;
2855 wxSize temp6 ;
2856 bool temp7 = False ;
2857 bool temp10 = False ;
2858 PyObject * obj0 = 0 ;
2859 PyObject * obj1 = 0 ;
2860 PyObject * obj2 = 0 ;
2861 PyObject * obj3 = 0 ;
2862 PyObject * obj4 = 0 ;
2863 PyObject * obj5 = 0 ;
2864 PyObject * obj6 = 0 ;
2865 PyObject * obj7 = 0 ;
2866 PyObject * obj8 = 0 ;
2867 PyObject * obj9 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2875 {
2876 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 if (obj3) {
2880 {
2881 arg4 = wxString_in_helper(obj3);
2882 if (arg4 == NULL) SWIG_fail;
2883 temp4 = True;
2884 }
2885 }
2886 if (obj4) {
2887 {
2888 arg5 = &temp5;
2889 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2890 }
2891 }
2892 if (obj5) {
2893 {
2894 arg6 = &temp6;
2895 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2896 }
2897 }
2898 if (obj6) {
2899 {
2900 if (! PySequence_Check(obj6)) {
2901 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2902 SWIG_fail;
2903 }
2904 arg7 = new wxArrayString;
2905 temp7 = True;
2906 int i, len=PySequence_Length(obj6);
2907 for (i=0; i<len; i++) {
2908 PyObject* item = PySequence_GetItem(obj6, i);
2909 #if wxUSE_UNICODE
2910 PyObject* str = PyObject_Unicode(item);
2911 #else
2912 PyObject* str = PyObject_Str(item);
2913 #endif
2914 arg7->Add(Py2wxString(str));
2915 Py_DECREF(item);
2916 Py_DECREF(str);
2917 }
2918 }
2919 }
2920 if (obj7) {
2921 {
2922 arg8 = (long) SWIG_PyObj_AsLong(obj7);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 }
2926 if (obj8) {
2927 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2928 if (arg9 == NULL) {
2929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2930 }
2931 }
2932 if (obj9) {
2933 {
2934 arg10 = wxString_in_helper(obj9);
2935 if (arg10 == NULL) SWIG_fail;
2936 temp10 = True;
2937 }
2938 }
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 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);
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2947 {
2948 if (temp4)
2949 delete arg4;
2950 }
2951 {
2952 if (temp7) delete arg7;
2953 }
2954 {
2955 if (temp10)
2956 delete arg10;
2957 }
2958 return resultobj;
2959 fail:
2960 {
2961 if (temp4)
2962 delete arg4;
2963 }
2964 {
2965 if (temp7) delete arg7;
2966 }
2967 {
2968 if (temp10)
2969 delete arg10;
2970 }
2971 return NULL;
2972 }
2973
2974
2975 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxComboBox *arg1 = (wxComboBox *) 0 ;
2978 wxString result;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = ((wxComboBox const *)arg1)->GetValue();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 {
2994 #if wxUSE_UNICODE
2995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2996 #else
2997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2998 #endif
2999 }
3000 return resultobj;
3001 fail:
3002 return NULL;
3003 }
3004
3005
3006 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxComboBox *arg1 = (wxComboBox *) 0 ;
3009 wxString *arg2 = 0 ;
3010 bool temp2 = False ;
3011 PyObject * obj0 = 0 ;
3012 PyObject * obj1 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "self",(char *) "value", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3019 {
3020 arg2 = wxString_in_helper(obj1);
3021 if (arg2 == NULL) SWIG_fail;
3022 temp2 = True;
3023 }
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->SetValue((wxString const &)*arg2);
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 {
3033 if (temp2)
3034 delete arg2;
3035 }
3036 return resultobj;
3037 fail:
3038 {
3039 if (temp2)
3040 delete arg2;
3041 }
3042 return NULL;
3043 }
3044
3045
3046 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject *resultobj;
3048 wxComboBox *arg1 = (wxComboBox *) 0 ;
3049 PyObject * obj0 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 (arg1)->Copy();
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 Py_INCREF(Py_None); resultobj = Py_None;
3064 return resultobj;
3065 fail:
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj;
3072 wxComboBox *arg1 = (wxComboBox *) 0 ;
3073 PyObject * obj0 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 (arg1)->Cut();
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) SWIG_fail;
3086 }
3087 Py_INCREF(Py_None); resultobj = Py_None;
3088 return resultobj;
3089 fail:
3090 return NULL;
3091 }
3092
3093
3094 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxComboBox *arg1 = (wxComboBox *) 0 ;
3097 PyObject * obj0 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 (arg1)->Paste();
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
3111 Py_INCREF(Py_None); resultobj = Py_None;
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxComboBox *arg1 = (wxComboBox *) 0 ;
3121 long arg2 ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "pos", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3130 {
3131 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->SetInsertionPoint(arg2);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 Py_INCREF(Py_None); resultobj = Py_None;
3142 return resultobj;
3143 fail:
3144 return NULL;
3145 }
3146
3147
3148 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxComboBox *arg1 = (wxComboBox *) 0 ;
3151 long result;
3152 PyObject * obj0 = 0 ;
3153 char *kwnames[] = {
3154 (char *) "self", NULL
3155 };
3156
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3159 {
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
3161 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) SWIG_fail;
3165 }
3166 resultobj = SWIG_PyObj_FromLong((long)result);
3167 return resultobj;
3168 fail:
3169 return NULL;
3170 }
3171
3172
3173 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3174 PyObject *resultobj;
3175 wxComboBox *arg1 = (wxComboBox *) 0 ;
3176 long result;
3177 PyObject * obj0 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "self", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 resultobj = SWIG_PyObj_FromLong((long)result);
3192 return resultobj;
3193 fail:
3194 return NULL;
3195 }
3196
3197
3198 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3199 PyObject *resultobj;
3200 wxComboBox *arg1 = (wxComboBox *) 0 ;
3201 long arg2 ;
3202 long arg3 ;
3203 wxString *arg4 = 0 ;
3204 bool temp4 = False ;
3205 PyObject * obj0 = 0 ;
3206 PyObject * obj1 = 0 ;
3207 PyObject * obj2 = 0 ;
3208 PyObject * obj3 = 0 ;
3209 char *kwnames[] = {
3210 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3211 };
3212
3213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3215 {
3216 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 {
3220 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 {
3224 arg4 = wxString_in_helper(obj3);
3225 if (arg4 == NULL) SWIG_fail;
3226 temp4 = True;
3227 }
3228 {
3229 PyThreadState* __tstate = wxPyBeginAllowThreads();
3230 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3231
3232 wxPyEndAllowThreads(__tstate);
3233 if (PyErr_Occurred()) SWIG_fail;
3234 }
3235 Py_INCREF(Py_None); resultobj = Py_None;
3236 {
3237 if (temp4)
3238 delete arg4;
3239 }
3240 return resultobj;
3241 fail:
3242 {
3243 if (temp4)
3244 delete arg4;
3245 }
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxComboBox *arg1 = (wxComboBox *) 0 ;
3253 int arg2 ;
3254 PyObject * obj0 = 0 ;
3255 PyObject * obj1 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self",(char *) "n", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3262 {
3263 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 (arg1)->SetSelection(arg2);
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 Py_INCREF(Py_None); resultobj = Py_None;
3274 return resultobj;
3275 fail:
3276 return NULL;
3277 }
3278
3279
3280 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxComboBox *arg1 = (wxComboBox *) 0 ;
3283 long arg2 ;
3284 long arg3 ;
3285 PyObject * obj0 = 0 ;
3286 PyObject * obj1 = 0 ;
3287 PyObject * obj2 = 0 ;
3288 char *kwnames[] = {
3289 (char *) "self",(char *) "from",(char *) "to", NULL
3290 };
3291
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3294 {
3295 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 {
3299 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 (arg1)->SetSelection(arg2,arg3);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 return resultobj;
3311 fail:
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxComboBox *arg1 = (wxComboBox *) 0 ;
3319 bool arg2 ;
3320 PyObject * obj0 = 0 ;
3321 PyObject * obj1 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "self",(char *) "editable", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3328 {
3329 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->SetEditable(arg2);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxComboBox *arg1 = (wxComboBox *) 0 ;
3349 PyObject * obj0 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 (arg1)->SetInsertionPointEnd();
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 Py_INCREF(Py_None); resultobj = Py_None;
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxComboBox *arg1 = (wxComboBox *) 0 ;
3373 long arg2 ;
3374 long arg3 ;
3375 PyObject * obj0 = 0 ;
3376 PyObject * obj1 = 0 ;
3377 PyObject * obj2 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self",(char *) "from",(char *) "to", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3384 {
3385 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 {
3389 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 (arg1)->Remove(arg2,arg3);
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 Py_INCREF(Py_None); resultobj = Py_None;
3400 return resultobj;
3401 fail:
3402 return NULL;
3403 }
3404
3405
3406 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3407 PyObject *obj;
3408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3409 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3410 Py_INCREF(obj);
3411 return Py_BuildValue((char *)"");
3412 }
3413 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3414 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3415 return 1;
3416 }
3417
3418
3419 static PyObject *_wrap_GaugeNameStr_get() {
3420 PyObject *pyobj;
3421
3422 {
3423 #if wxUSE_UNICODE
3424 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3425 #else
3426 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3427 #endif
3428 }
3429 return pyobj;
3430 }
3431
3432
3433 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxWindow *arg1 = (wxWindow *) 0 ;
3436 int arg2 ;
3437 int arg3 ;
3438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3440 wxSize const &arg5_defvalue = wxDefaultSize ;
3441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3442 long arg6 = (long) wxGA_HORIZONTAL ;
3443 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3444 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3445 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3446 wxString *arg8 = (wxString *) &arg8_defvalue ;
3447 wxGauge *result;
3448 wxPoint temp4 ;
3449 wxSize temp5 ;
3450 bool temp8 = False ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 PyObject * obj2 = 0 ;
3454 PyObject * obj3 = 0 ;
3455 PyObject * obj4 = 0 ;
3456 PyObject * obj5 = 0 ;
3457 PyObject * obj6 = 0 ;
3458 PyObject * obj7 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3465 {
3466 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 {
3470 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 if (obj3) {
3474 {
3475 arg4 = &temp4;
3476 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3477 }
3478 }
3479 if (obj4) {
3480 {
3481 arg5 = &temp5;
3482 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3483 }
3484 }
3485 if (obj5) {
3486 {
3487 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
3490 }
3491 if (obj6) {
3492 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3493 if (arg7 == NULL) {
3494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3495 }
3496 }
3497 if (obj7) {
3498 {
3499 arg8 = wxString_in_helper(obj7);
3500 if (arg8 == NULL) SWIG_fail;
3501 temp8 = True;
3502 }
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3512 {
3513 if (temp8)
3514 delete arg8;
3515 }
3516 return resultobj;
3517 fail:
3518 {
3519 if (temp8)
3520 delete arg8;
3521 }
3522 return NULL;
3523 }
3524
3525
3526 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxGauge *result;
3529 char *kwnames[] = {
3530 NULL
3531 };
3532
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 result = (wxGauge *)new wxGauge();
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3542 return resultobj;
3543 fail:
3544 return NULL;
3545 }
3546
3547
3548 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject *resultobj;
3550 wxGauge *arg1 = (wxGauge *) 0 ;
3551 wxWindow *arg2 = (wxWindow *) 0 ;
3552 int arg3 ;
3553 int arg4 ;
3554 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3555 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3556 wxSize const &arg6_defvalue = wxDefaultSize ;
3557 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3558 long arg7 = (long) wxGA_HORIZONTAL ;
3559 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3560 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3561 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3562 wxString *arg9 = (wxString *) &arg9_defvalue ;
3563 bool result;
3564 wxPoint temp5 ;
3565 wxSize temp6 ;
3566 bool temp9 = False ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 PyObject * obj2 = 0 ;
3570 PyObject * obj3 = 0 ;
3571 PyObject * obj4 = 0 ;
3572 PyObject * obj5 = 0 ;
3573 PyObject * obj6 = 0 ;
3574 PyObject * obj7 = 0 ;
3575 PyObject * obj8 = 0 ;
3576 char *kwnames[] = {
3577 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3578 };
3579
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3582 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3583 {
3584 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 {
3588 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 if (obj4) {
3592 {
3593 arg5 = &temp5;
3594 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3595 }
3596 }
3597 if (obj5) {
3598 {
3599 arg6 = &temp6;
3600 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3601 }
3602 }
3603 if (obj6) {
3604 {
3605 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 }
3609 if (obj7) {
3610 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3611 if (arg8 == NULL) {
3612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3613 }
3614 }
3615 if (obj8) {
3616 {
3617 arg9 = wxString_in_helper(obj8);
3618 if (arg9 == NULL) SWIG_fail;
3619 temp9 = True;
3620 }
3621 }
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3630 {
3631 if (temp9)
3632 delete arg9;
3633 }
3634 return resultobj;
3635 fail:
3636 {
3637 if (temp9)
3638 delete arg9;
3639 }
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxGauge *arg1 = (wxGauge *) 0 ;
3647 int arg2 ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "range", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 {
3657 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 (arg1)->SetRange(arg2);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 Py_INCREF(Py_None); resultobj = Py_None;
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxGauge *arg1 = (wxGauge *) 0 ;
3677 int result;
3678 PyObject * obj0 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (int)((wxGauge const *)arg1)->GetRange();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = SWIG_PyObj_FromInt((int)result);
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxGauge *arg1 = (wxGauge *) 0 ;
3702 int arg2 ;
3703 PyObject * obj0 = 0 ;
3704 PyObject * obj1 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "pos", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3711 {
3712 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 }
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 (arg1)->SetValue(arg2);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxGauge *arg1 = (wxGauge *) 0 ;
3732 int result;
3733 PyObject * obj0 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3740 {
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
3742 result = (int)((wxGauge const *)arg1)->GetValue();
3743
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 }
3747 resultobj = SWIG_PyObj_FromInt((int)result);
3748 return resultobj;
3749 fail:
3750 return NULL;
3751 }
3752
3753
3754 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 wxGauge *arg1 = (wxGauge *) 0 ;
3757 bool result;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "self", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (bool)((wxGauge const *)arg1)->IsVertical();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxGauge *arg1 = (wxGauge *) 0 ;
3782 int arg2 ;
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj1 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "self",(char *) "w", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3791 {
3792 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 {
3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
3797 (arg1)->SetShadowWidth(arg2);
3798
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 Py_INCREF(Py_None); resultobj = Py_None;
3803 return resultobj;
3804 fail:
3805 return NULL;
3806 }
3807
3808
3809 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3810 PyObject *resultobj;
3811 wxGauge *arg1 = (wxGauge *) 0 ;
3812 int result;
3813 PyObject * obj0 = 0 ;
3814 char *kwnames[] = {
3815 (char *) "self", NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_PyObj_FromInt((int)result);
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxGauge *arg1 = (wxGauge *) 0 ;
3837 int arg2 ;
3838 PyObject * obj0 = 0 ;
3839 PyObject * obj1 = 0 ;
3840 char *kwnames[] = {
3841 (char *) "self",(char *) "w", NULL
3842 };
3843
3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3846 {
3847 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 (arg1)->SetBezelFace(arg2);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 Py_INCREF(Py_None); resultobj = Py_None;
3858 return resultobj;
3859 fail:
3860 return NULL;
3861 }
3862
3863
3864 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3865 PyObject *resultobj;
3866 wxGauge *arg1 = (wxGauge *) 0 ;
3867 int result;
3868 PyObject * obj0 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "self", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 resultobj = SWIG_PyObj_FromInt((int)result);
3883 return resultobj;
3884 fail:
3885 return NULL;
3886 }
3887
3888
3889 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3890 PyObject *obj;
3891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3892 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3893 Py_INCREF(obj);
3894 return Py_BuildValue((char *)"");
3895 }
3896 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3897 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3898 return 1;
3899 }
3900
3901
3902 static PyObject *_wrap_StaticBitmapNameStr_get() {
3903 PyObject *pyobj;
3904
3905 {
3906 #if wxUSE_UNICODE
3907 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3908 #else
3909 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3910 #endif
3911 }
3912 return pyobj;
3913 }
3914
3915
3916 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3917 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3918 return 1;
3919 }
3920
3921
3922 static PyObject *_wrap_StaticBoxNameStr_get() {
3923 PyObject *pyobj;
3924
3925 {
3926 #if wxUSE_UNICODE
3927 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3928 #else
3929 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3930 #endif
3931 }
3932 return pyobj;
3933 }
3934
3935
3936 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3937 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3938 return 1;
3939 }
3940
3941
3942 static PyObject *_wrap_StaticTextNameStr_get() {
3943 PyObject *pyobj;
3944
3945 {
3946 #if wxUSE_UNICODE
3947 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3948 #else
3949 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3950 #endif
3951 }
3952 return pyobj;
3953 }
3954
3955
3956 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxWindow *arg1 = (wxWindow *) 0 ;
3959 int arg2 ;
3960 wxString *arg3 = 0 ;
3961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3963 wxSize const &arg5_defvalue = wxDefaultSize ;
3964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3965 long arg6 = (long) 0 ;
3966 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3967 wxString *arg7 = (wxString *) &arg7_defvalue ;
3968 wxStaticBox *result;
3969 bool temp3 = False ;
3970 wxPoint temp4 ;
3971 wxSize temp5 ;
3972 bool temp7 = False ;
3973 PyObject * obj0 = 0 ;
3974 PyObject * obj1 = 0 ;
3975 PyObject * obj2 = 0 ;
3976 PyObject * obj3 = 0 ;
3977 PyObject * obj4 = 0 ;
3978 PyObject * obj5 = 0 ;
3979 PyObject * obj6 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 {
3987 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 {
3991 arg3 = wxString_in_helper(obj2);
3992 if (arg3 == NULL) SWIG_fail;
3993 temp3 = True;
3994 }
3995 if (obj3) {
3996 {
3997 arg4 = &temp4;
3998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3999 }
4000 }
4001 if (obj4) {
4002 {
4003 arg5 = &temp5;
4004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4005 }
4006 }
4007 if (obj5) {
4008 {
4009 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 }
4013 if (obj6) {
4014 {
4015 arg7 = wxString_in_helper(obj6);
4016 if (arg7 == NULL) SWIG_fail;
4017 temp7 = True;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 resultobj = wxPyMake_wxObject(result);
4029 }
4030 {
4031 if (temp3)
4032 delete arg3;
4033 }
4034 {
4035 if (temp7)
4036 delete arg7;
4037 }
4038 return resultobj;
4039 fail:
4040 {
4041 if (temp3)
4042 delete arg3;
4043 }
4044 {
4045 if (temp7)
4046 delete arg7;
4047 }
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxStaticBox *result;
4055 char *kwnames[] = {
4056 NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (wxStaticBox *)new wxStaticBox();
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 {
4068 resultobj = wxPyMake_wxObject(result);
4069 }
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4079 wxWindow *arg2 = (wxWindow *) 0 ;
4080 int arg3 ;
4081 wxString *arg4 = 0 ;
4082 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4083 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4084 wxSize const &arg6_defvalue = wxDefaultSize ;
4085 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4086 long arg7 = (long) 0 ;
4087 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4088 wxString *arg8 = (wxString *) &arg8_defvalue ;
4089 bool result;
4090 bool temp4 = False ;
4091 wxPoint temp5 ;
4092 wxSize temp6 ;
4093 bool temp8 = False ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 PyObject * obj2 = 0 ;
4097 PyObject * obj3 = 0 ;
4098 PyObject * obj4 = 0 ;
4099 PyObject * obj5 = 0 ;
4100 PyObject * obj6 = 0 ;
4101 PyObject * obj7 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109 {
4110 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 {
4114 arg4 = wxString_in_helper(obj3);
4115 if (arg4 == NULL) SWIG_fail;
4116 temp4 = True;
4117 }
4118 if (obj4) {
4119 {
4120 arg5 = &temp5;
4121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4122 }
4123 }
4124 if (obj5) {
4125 {
4126 arg6 = &temp6;
4127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4128 }
4129 }
4130 if (obj6) {
4131 {
4132 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 }
4136 if (obj7) {
4137 {
4138 arg8 = wxString_in_helper(obj7);
4139 if (arg8 == NULL) SWIG_fail;
4140 temp8 = True;
4141 }
4142 }
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4151 {
4152 if (temp4)
4153 delete arg4;
4154 }
4155 {
4156 if (temp8)
4157 delete arg8;
4158 }
4159 return resultobj;
4160 fail:
4161 {
4162 if (temp4)
4163 delete arg4;
4164 }
4165 {
4166 if (temp8)
4167 delete arg8;
4168 }
4169 return NULL;
4170 }
4171
4172
4173 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4174 PyObject *obj;
4175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4176 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4177 Py_INCREF(obj);
4178 return Py_BuildValue((char *)"");
4179 }
4180 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxWindow *arg1 = (wxWindow *) 0 ;
4183 int arg2 ;
4184 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4185 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4186 wxSize const &arg4_defvalue = wxDefaultSize ;
4187 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4188 long arg5 = (long) wxLI_HORIZONTAL ;
4189 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4190 wxString *arg6 = (wxString *) &arg6_defvalue ;
4191 wxStaticLine *result;
4192 wxPoint temp3 ;
4193 wxSize temp4 ;
4194 bool temp6 = False ;
4195 PyObject * obj0 = 0 ;
4196 PyObject * obj1 = 0 ;
4197 PyObject * obj2 = 0 ;
4198 PyObject * obj3 = 0 ;
4199 PyObject * obj4 = 0 ;
4200 PyObject * obj5 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4207 {
4208 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 if (obj2) {
4212 {
4213 arg3 = &temp3;
4214 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4215 }
4216 }
4217 if (obj3) {
4218 {
4219 arg4 = &temp4;
4220 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4221 }
4222 }
4223 if (obj4) {
4224 {
4225 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 }
4229 if (obj5) {
4230 {
4231 arg6 = wxString_in_helper(obj5);
4232 if (arg6 == NULL) SWIG_fail;
4233 temp6 = True;
4234 }
4235 }
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4244 {
4245 if (temp6)
4246 delete arg6;
4247 }
4248 return resultobj;
4249 fail:
4250 {
4251 if (temp6)
4252 delete arg6;
4253 }
4254 return NULL;
4255 }
4256
4257
4258 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4259 PyObject *resultobj;
4260 wxStaticLine *result;
4261 char *kwnames[] = {
4262 NULL
4263 };
4264
4265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (wxStaticLine *)new wxStaticLine();
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4283 wxWindow *arg2 = (wxWindow *) 0 ;
4284 int arg3 ;
4285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4287 wxSize const &arg5_defvalue = wxDefaultSize ;
4288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4289 long arg6 = (long) wxLI_HORIZONTAL ;
4290 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4291 wxString *arg7 = (wxString *) &arg7_defvalue ;
4292 bool result;
4293 wxPoint temp4 ;
4294 wxSize temp5 ;
4295 bool temp7 = False ;
4296 PyObject * obj0 = 0 ;
4297 PyObject * obj1 = 0 ;
4298 PyObject * obj2 = 0 ;
4299 PyObject * obj3 = 0 ;
4300 PyObject * obj4 = 0 ;
4301 PyObject * obj5 = 0 ;
4302 PyObject * obj6 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4310 {
4311 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 if (obj3) {
4315 {
4316 arg4 = &temp4;
4317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4318 }
4319 }
4320 if (obj4) {
4321 {
4322 arg5 = &temp5;
4323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4324 }
4325 }
4326 if (obj5) {
4327 {
4328 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 }
4332 if (obj6) {
4333 {
4334 arg7 = wxString_in_helper(obj6);
4335 if (arg7 == NULL) SWIG_fail;
4336 temp7 = True;
4337 }
4338 }
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4347 {
4348 if (temp7)
4349 delete arg7;
4350 }
4351 return resultobj;
4352 fail:
4353 {
4354 if (temp7)
4355 delete arg7;
4356 }
4357 return NULL;
4358 }
4359
4360
4361 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4364 bool result;
4365 PyObject * obj0 = 0 ;
4366 char *kwnames[] = {
4367 (char *) "self", NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 int result;
4389 char *kwnames[] = {
4390 NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 result = (int)wxStaticLine::GetDefaultSize();
4397
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 resultobj = SWIG_PyObj_FromInt((int)result);
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4409 PyObject *obj;
4410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4411 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4412 Py_INCREF(obj);
4413 return Py_BuildValue((char *)"");
4414 }
4415 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 wxWindow *arg1 = (wxWindow *) 0 ;
4418 int arg2 ;
4419 wxString *arg3 = 0 ;
4420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4422 wxSize const &arg5_defvalue = wxDefaultSize ;
4423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4424 long arg6 = (long) 0 ;
4425 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4426 wxString *arg7 = (wxString *) &arg7_defvalue ;
4427 wxStaticText *result;
4428 bool temp3 = False ;
4429 wxPoint temp4 ;
4430 wxSize temp5 ;
4431 bool temp7 = False ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 PyObject * obj3 = 0 ;
4436 PyObject * obj4 = 0 ;
4437 PyObject * obj5 = 0 ;
4438 PyObject * obj6 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 {
4446 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 {
4450 arg3 = wxString_in_helper(obj2);
4451 if (arg3 == NULL) SWIG_fail;
4452 temp3 = True;
4453 }
4454 if (obj3) {
4455 {
4456 arg4 = &temp4;
4457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4458 }
4459 }
4460 if (obj4) {
4461 {
4462 arg5 = &temp5;
4463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4464 }
4465 }
4466 if (obj5) {
4467 {
4468 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 }
4472 if (obj6) {
4473 {
4474 arg7 = wxString_in_helper(obj6);
4475 if (arg7 == NULL) SWIG_fail;
4476 temp7 = True;
4477 }
4478 }
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4487 {
4488 if (temp3)
4489 delete arg3;
4490 }
4491 {
4492 if (temp7)
4493 delete arg7;
4494 }
4495 return resultobj;
4496 fail:
4497 {
4498 if (temp3)
4499 delete arg3;
4500 }
4501 {
4502 if (temp7)
4503 delete arg7;
4504 }
4505 return NULL;
4506 }
4507
4508
4509 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj;
4511 wxStaticText *result;
4512 char *kwnames[] = {
4513 NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 result = (wxStaticText *)new wxStaticText();
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxStaticText *arg1 = (wxStaticText *) 0 ;
4534 wxWindow *arg2 = (wxWindow *) 0 ;
4535 int arg3 ;
4536 wxString *arg4 = 0 ;
4537 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4538 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4539 wxSize const &arg6_defvalue = wxDefaultSize ;
4540 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4541 long arg7 = (long) 0 ;
4542 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4543 wxString *arg8 = (wxString *) &arg8_defvalue ;
4544 bool result;
4545 bool temp4 = False ;
4546 wxPoint temp5 ;
4547 wxSize temp6 ;
4548 bool temp8 = False ;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
4551 PyObject * obj2 = 0 ;
4552 PyObject * obj3 = 0 ;
4553 PyObject * obj4 = 0 ;
4554 PyObject * obj5 = 0 ;
4555 PyObject * obj6 = 0 ;
4556 PyObject * obj7 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4564 {
4565 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 {
4569 arg4 = wxString_in_helper(obj3);
4570 if (arg4 == NULL) SWIG_fail;
4571 temp4 = True;
4572 }
4573 if (obj4) {
4574 {
4575 arg5 = &temp5;
4576 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4577 }
4578 }
4579 if (obj5) {
4580 {
4581 arg6 = &temp6;
4582 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4583 }
4584 }
4585 if (obj6) {
4586 {
4587 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 }
4591 if (obj7) {
4592 {
4593 arg8 = wxString_in_helper(obj7);
4594 if (arg8 == NULL) SWIG_fail;
4595 temp8 = True;
4596 }
4597 }
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4606 {
4607 if (temp4)
4608 delete arg4;
4609 }
4610 {
4611 if (temp8)
4612 delete arg8;
4613 }
4614 return resultobj;
4615 fail:
4616 {
4617 if (temp4)
4618 delete arg4;
4619 }
4620 {
4621 if (temp8)
4622 delete arg8;
4623 }
4624 return NULL;
4625 }
4626
4627
4628 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4629 PyObject *obj;
4630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4631 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4632 Py_INCREF(obj);
4633 return Py_BuildValue((char *)"");
4634 }
4635 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject *resultobj;
4637 wxWindow *arg1 = (wxWindow *) 0 ;
4638 int arg2 ;
4639 wxBitmap *arg3 = 0 ;
4640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4642 wxSize const &arg5_defvalue = wxDefaultSize ;
4643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4644 long arg6 = (long) 0 ;
4645 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4646 wxString *arg7 = (wxString *) &arg7_defvalue ;
4647 wxStaticBitmap *result;
4648 wxPoint temp4 ;
4649 wxSize temp5 ;
4650 bool temp7 = False ;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj1 = 0 ;
4653 PyObject * obj2 = 0 ;
4654 PyObject * obj3 = 0 ;
4655 PyObject * obj4 = 0 ;
4656 PyObject * obj5 = 0 ;
4657 PyObject * obj6 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 {
4665 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4669 if (arg3 == NULL) {
4670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4671 }
4672 if (obj3) {
4673 {
4674 arg4 = &temp4;
4675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4676 }
4677 }
4678 if (obj4) {
4679 {
4680 arg5 = &temp5;
4681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4682 }
4683 }
4684 if (obj5) {
4685 {
4686 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 }
4690 if (obj6) {
4691 {
4692 arg7 = wxString_in_helper(obj6);
4693 if (arg7 == NULL) SWIG_fail;
4694 temp7 = True;
4695 }
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4705 {
4706 if (temp7)
4707 delete arg7;
4708 }
4709 return resultobj;
4710 fail:
4711 {
4712 if (temp7)
4713 delete arg7;
4714 }
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxStaticBitmap *result;
4722 char *kwnames[] = {
4723 NULL
4724 };
4725
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (wxStaticBitmap *)new wxStaticBitmap();
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj;
4743 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4744 wxWindow *arg2 = (wxWindow *) 0 ;
4745 int arg3 ;
4746 wxBitmap *arg4 = 0 ;
4747 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4748 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4749 wxSize const &arg6_defvalue = wxDefaultSize ;
4750 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4751 long arg7 = (long) 0 ;
4752 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4753 wxString *arg8 = (wxString *) &arg8_defvalue ;
4754 bool result;
4755 wxPoint temp5 ;
4756 wxSize temp6 ;
4757 bool temp8 = False ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 PyObject * obj3 = 0 ;
4762 PyObject * obj4 = 0 ;
4763 PyObject * obj5 = 0 ;
4764 PyObject * obj6 = 0 ;
4765 PyObject * obj7 = 0 ;
4766 char *kwnames[] = {
4767 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4768 };
4769
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4773 {
4774 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4778 if (arg4 == NULL) {
4779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4780 }
4781 if (obj4) {
4782 {
4783 arg5 = &temp5;
4784 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4785 }
4786 }
4787 if (obj5) {
4788 {
4789 arg6 = &temp6;
4790 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4791 }
4792 }
4793 if (obj6) {
4794 {
4795 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 }
4799 if (obj7) {
4800 {
4801 arg8 = wxString_in_helper(obj7);
4802 if (arg8 == NULL) SWIG_fail;
4803 temp8 = True;
4804 }
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4814 {
4815 if (temp8)
4816 delete arg8;
4817 }
4818 return resultobj;
4819 fail:
4820 {
4821 if (temp8)
4822 delete arg8;
4823 }
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4831 wxBitmap result;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (arg1)->GetBitmap();
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 {
4847 wxBitmap * resultptr;
4848 resultptr = new wxBitmap((wxBitmap &) result);
4849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4850 }
4851 return resultobj;
4852 fail:
4853 return NULL;
4854 }
4855
4856
4857 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj;
4859 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4860 wxBitmap *arg2 = 0 ;
4861 PyObject * obj0 = 0 ;
4862 PyObject * obj1 = 0 ;
4863 char *kwnames[] = {
4864 (char *) "self",(char *) "bitmap", NULL
4865 };
4866
4867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4870 if (arg2 == NULL) {
4871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4890 wxIcon *arg2 = 0 ;
4891 PyObject * obj0 = 0 ;
4892 PyObject * obj1 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "icon", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4900 if (arg2 == NULL) {
4901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4902 }
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 (arg1)->SetIcon((wxIcon const &)*arg2);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 Py_INCREF(Py_None); resultobj = Py_None;
4911 return resultobj;
4912 fail:
4913 return NULL;
4914 }
4915
4916
4917 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4918 PyObject *obj;
4919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4920 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4921 Py_INCREF(obj);
4922 return Py_BuildValue((char *)"");
4923 }
4924 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4925 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4926 return 1;
4927 }
4928
4929
4930 static PyObject *_wrap_ListBoxNameStr_get() {
4931 PyObject *pyobj;
4932
4933 {
4934 #if wxUSE_UNICODE
4935 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4936 #else
4937 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4938 #endif
4939 }
4940 return pyobj;
4941 }
4942
4943
4944 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxWindow *arg1 = (wxWindow *) 0 ;
4947 int arg2 ;
4948 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4949 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4950 wxSize const &arg4_defvalue = wxDefaultSize ;
4951 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4952 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4953 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4954 long arg6 = (long) 0 ;
4955 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4956 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4957 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
4958 wxString *arg8 = (wxString *) &arg8_defvalue ;
4959 wxListBox *result;
4960 wxPoint temp3 ;
4961 wxSize temp4 ;
4962 bool temp5 = False ;
4963 bool temp8 = False ;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 PyObject * obj2 = 0 ;
4967 PyObject * obj3 = 0 ;
4968 PyObject * obj4 = 0 ;
4969 PyObject * obj5 = 0 ;
4970 PyObject * obj6 = 0 ;
4971 PyObject * obj7 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978 {
4979 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 if (obj2) {
4983 {
4984 arg3 = &temp3;
4985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4986 }
4987 }
4988 if (obj3) {
4989 {
4990 arg4 = &temp4;
4991 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4992 }
4993 }
4994 if (obj4) {
4995 {
4996 if (! PySequence_Check(obj4)) {
4997 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4998 SWIG_fail;
4999 }
5000 arg5 = new wxArrayString;
5001 temp5 = True;
5002 int i, len=PySequence_Length(obj4);
5003 for (i=0; i<len; i++) {
5004 PyObject* item = PySequence_GetItem(obj4, i);
5005 #if wxUSE_UNICODE
5006 PyObject* str = PyObject_Unicode(item);
5007 #else
5008 PyObject* str = PyObject_Str(item);
5009 #endif
5010 arg5->Add(Py2wxString(str));
5011 Py_DECREF(item);
5012 Py_DECREF(str);
5013 }
5014 }
5015 }
5016 if (obj5) {
5017 {
5018 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 }
5022 if (obj6) {
5023 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 if (arg7 == NULL) {
5025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5026 }
5027 }
5028 if (obj7) {
5029 {
5030 arg8 = wxString_in_helper(obj7);
5031 if (arg8 == NULL) SWIG_fail;
5032 temp8 = True;
5033 }
5034 }
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5043 {
5044 if (temp5) delete arg5;
5045 }
5046 {
5047 if (temp8)
5048 delete arg8;
5049 }
5050 return resultobj;
5051 fail:
5052 {
5053 if (temp5) delete arg5;
5054 }
5055 {
5056 if (temp8)
5057 delete arg8;
5058 }
5059 return NULL;
5060 }
5061
5062
5063 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxListBox *result;
5066 char *kwnames[] = {
5067 NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (wxListBox *)new wxListBox();
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5079 return resultobj;
5080 fail:
5081 return NULL;
5082 }
5083
5084
5085 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxListBox *arg1 = (wxListBox *) 0 ;
5088 wxWindow *arg2 = (wxWindow *) 0 ;
5089 int arg3 ;
5090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5092 wxSize const &arg5_defvalue = wxDefaultSize ;
5093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5094 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5095 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5096 long arg7 = (long) 0 ;
5097 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5098 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5099 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5100 wxString *arg9 = (wxString *) &arg9_defvalue ;
5101 bool result;
5102 wxPoint temp4 ;
5103 wxSize temp5 ;
5104 bool temp6 = False ;
5105 bool temp9 = False ;
5106 PyObject * obj0 = 0 ;
5107 PyObject * obj1 = 0 ;
5108 PyObject * obj2 = 0 ;
5109 PyObject * obj3 = 0 ;
5110 PyObject * obj4 = 0 ;
5111 PyObject * obj5 = 0 ;
5112 PyObject * obj6 = 0 ;
5113 PyObject * obj7 = 0 ;
5114 PyObject * obj8 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5122 {
5123 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 if (obj3) {
5127 {
5128 arg4 = &temp4;
5129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5130 }
5131 }
5132 if (obj4) {
5133 {
5134 arg5 = &temp5;
5135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5136 }
5137 }
5138 if (obj5) {
5139 {
5140 if (! PySequence_Check(obj5)) {
5141 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5142 SWIG_fail;
5143 }
5144 arg6 = new wxArrayString;
5145 temp6 = True;
5146 int i, len=PySequence_Length(obj5);
5147 for (i=0; i<len; i++) {
5148 PyObject* item = PySequence_GetItem(obj5, i);
5149 #if wxUSE_UNICODE
5150 PyObject* str = PyObject_Unicode(item);
5151 #else
5152 PyObject* str = PyObject_Str(item);
5153 #endif
5154 arg6->Add(Py2wxString(str));
5155 Py_DECREF(item);
5156 Py_DECREF(str);
5157 }
5158 }
5159 }
5160 if (obj6) {
5161 {
5162 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 }
5166 if (obj7) {
5167 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5168 if (arg8 == NULL) {
5169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5170 }
5171 }
5172 if (obj8) {
5173 {
5174 arg9 = wxString_in_helper(obj8);
5175 if (arg9 == NULL) SWIG_fail;
5176 temp9 = True;
5177 }
5178 }
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5187 {
5188 if (temp6) delete arg6;
5189 }
5190 {
5191 if (temp9)
5192 delete arg9;
5193 }
5194 return resultobj;
5195 fail:
5196 {
5197 if (temp6) delete arg6;
5198 }
5199 {
5200 if (temp9)
5201 delete arg9;
5202 }
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxListBox *arg1 = (wxListBox *) 0 ;
5210 wxString *arg2 = 0 ;
5211 int arg3 ;
5212 PyObject *arg4 = (PyObject *) NULL ;
5213 bool temp2 = False ;
5214 PyObject * obj0 = 0 ;
5215 PyObject * obj1 = 0 ;
5216 PyObject * obj2 = 0 ;
5217 PyObject * obj3 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5224 {
5225 arg2 = wxString_in_helper(obj1);
5226 if (arg2 == NULL) SWIG_fail;
5227 temp2 = True;
5228 }
5229 {
5230 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
5233 if (obj3) {
5234 arg4 = obj3;
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 Py_INCREF(Py_None); resultobj = Py_None;
5244 {
5245 if (temp2)
5246 delete arg2;
5247 }
5248 return resultobj;
5249 fail:
5250 {
5251 if (temp2)
5252 delete arg2;
5253 }
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxListBox *arg1 = (wxListBox *) 0 ;
5261 wxArrayString *arg2 = 0 ;
5262 int arg3 ;
5263 bool temp2 = False ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 PyObject * obj2 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self",(char *) "items",(char *) "pos", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5273 {
5274 if (! PySequence_Check(obj1)) {
5275 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5276 SWIG_fail;
5277 }
5278 arg2 = new wxArrayString;
5279 temp2 = True;
5280 int i, len=PySequence_Length(obj1);
5281 for (i=0; i<len; i++) {
5282 PyObject* item = PySequence_GetItem(obj1, i);
5283 #if wxUSE_UNICODE
5284 PyObject* str = PyObject_Unicode(item);
5285 #else
5286 PyObject* str = PyObject_Str(item);
5287 #endif
5288 arg2->Add(Py2wxString(str));
5289 Py_DECREF(item);
5290 Py_DECREF(str);
5291 }
5292 }
5293 {
5294 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 {
5306 if (temp2) delete arg2;
5307 }
5308 return resultobj;
5309 fail:
5310 {
5311 if (temp2) delete arg2;
5312 }
5313 return NULL;
5314 }
5315
5316
5317 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxListBox *arg1 = (wxListBox *) 0 ;
5320 wxArrayString *arg2 = 0 ;
5321 bool temp2 = False ;
5322 PyObject * obj0 = 0 ;
5323 PyObject * obj1 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self",(char *) "items", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5330 {
5331 if (! PySequence_Check(obj1)) {
5332 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5333 SWIG_fail;
5334 }
5335 arg2 = new wxArrayString;
5336 temp2 = True;
5337 int i, len=PySequence_Length(obj1);
5338 for (i=0; i<len; i++) {
5339 PyObject* item = PySequence_GetItem(obj1, i);
5340 #if wxUSE_UNICODE
5341 PyObject* str = PyObject_Unicode(item);
5342 #else
5343 PyObject* str = PyObject_Str(item);
5344 #endif
5345 arg2->Add(Py2wxString(str));
5346 Py_DECREF(item);
5347 Py_DECREF(str);
5348 }
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 (arg1)->Set((wxArrayString const &)*arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 Py_INCREF(Py_None); resultobj = Py_None;
5358 {
5359 if (temp2) delete arg2;
5360 }
5361 return resultobj;
5362 fail:
5363 {
5364 if (temp2) delete arg2;
5365 }
5366 return NULL;
5367 }
5368
5369
5370 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj;
5372 wxListBox *arg1 = (wxListBox *) 0 ;
5373 int arg2 ;
5374 bool result;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "n", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5383 {
5384 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxListBox *arg1 = (wxListBox *) 0 ;
5404 int arg2 ;
5405 bool arg3 = (bool) True ;
5406 PyObject * obj0 = 0 ;
5407 PyObject * obj1 = 0 ;
5408 PyObject * obj2 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self",(char *) "n",(char *) "select", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5415 {
5416 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 if (obj2) {
5420 {
5421 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 }
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 (arg1)->SetSelection(arg2,arg3);
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 Py_INCREF(Py_None); resultobj = Py_None;
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxListBox *arg1 = (wxListBox *) 0 ;
5442 int arg2 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "n", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5451 {
5452 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->Select(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_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxListBox *arg1 = (wxListBox *) 0 ;
5472 int arg2 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "n", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5481 {
5482 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 (arg1)->Deselect(arg2);
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 Py_INCREF(Py_None); resultobj = Py_None;
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject *resultobj;
5501 wxListBox *arg1 = (wxListBox *) 0 ;
5502 int arg2 = (int) -1 ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "itemToLeaveSelected", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5511 if (obj1) {
5512 {
5513 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 }
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->DeselectAll(arg2);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxListBox *arg1 = (wxListBox *) 0 ;
5534 wxString *arg2 = 0 ;
5535 bool arg3 = (bool) True ;
5536 bool result;
5537 bool temp2 = False ;
5538 PyObject * obj0 = 0 ;
5539 PyObject * obj1 = 0 ;
5540 PyObject * obj2 = 0 ;
5541 char *kwnames[] = {
5542 (char *) "self",(char *) "s",(char *) "select", NULL
5543 };
5544
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5547 {
5548 arg2 = wxString_in_helper(obj1);
5549 if (arg2 == NULL) SWIG_fail;
5550 temp2 = True;
5551 }
5552 if (obj2) {
5553 {
5554 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 }
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5566 {
5567 if (temp2)
5568 delete arg2;
5569 }
5570 return resultobj;
5571 fail:
5572 {
5573 if (temp2)
5574 delete arg2;
5575 }
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxListBox *arg1 = (wxListBox *) 0 ;
5583 PyObject *result;
5584 PyObject * obj0 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (PyObject *)wxListBox_GetSelections(arg1);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 resultobj = result;
5599 return resultobj;
5600 fail:
5601 return NULL;
5602 }
5603
5604
5605 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj;
5607 wxListBox *arg1 = (wxListBox *) 0 ;
5608 int arg2 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "n", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5617 {
5618 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetFirstItem(arg2);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 Py_INCREF(Py_None); resultobj = Py_None;
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxListBox *arg1 = (wxListBox *) 0 ;
5638 wxString *arg2 = 0 ;
5639 bool temp2 = False ;
5640 PyObject * obj0 = 0 ;
5641 PyObject * obj1 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self",(char *) "s", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5648 {
5649 arg2 = wxString_in_helper(obj1);
5650 if (arg2 == NULL) SWIG_fail;
5651 temp2 = True;
5652 }
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->SetFirstItem((wxString const &)*arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 Py_INCREF(Py_None); resultobj = Py_None;
5661 {
5662 if (temp2)
5663 delete arg2;
5664 }
5665 return resultobj;
5666 fail:
5667 {
5668 if (temp2)
5669 delete arg2;
5670 }
5671 return NULL;
5672 }
5673
5674
5675 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj;
5677 wxListBox *arg1 = (wxListBox *) 0 ;
5678 int arg2 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self",(char *) "n", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5687 {
5688 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 (arg1)->EnsureVisible(arg2);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 return resultobj;
5700 fail:
5701 return NULL;
5702 }
5703
5704
5705 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5706 PyObject *resultobj;
5707 wxListBox *arg1 = (wxListBox *) 0 ;
5708 wxString *arg2 = 0 ;
5709 bool temp2 = False ;
5710 PyObject * obj0 = 0 ;
5711 PyObject * obj1 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self",(char *) "s", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5718 {
5719 arg2 = wxString_in_helper(obj1);
5720 if (arg2 == NULL) SWIG_fail;
5721 temp2 = True;
5722 }
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 Py_INCREF(Py_None); resultobj = Py_None;
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return resultobj;
5736 fail:
5737 {
5738 if (temp2)
5739 delete arg2;
5740 }
5741 return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxListBox *arg1 = (wxListBox *) 0 ;
5748 bool result;
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 result = (bool)((wxListBox const *)arg1)->IsSorted();
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxListBox *arg1 = (wxListBox *) 0 ;
5773 int arg2 ;
5774 wxColour *arg3 = 0 ;
5775 wxColour temp3 ;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj1 = 0 ;
5778 PyObject * obj2 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "item",(char *) "c", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 {
5786 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 {
5790 arg3 = &temp3;
5791 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5792 }
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 Py_INCREF(Py_None); resultobj = Py_None;
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxListBox *arg1 = (wxListBox *) 0 ;
5810 int arg2 ;
5811 wxColour *arg3 = 0 ;
5812 wxColour temp3 ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 PyObject * obj2 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self",(char *) "item",(char *) "c", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 {
5823 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 {
5827 arg3 = &temp3;
5828 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5829 }
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 Py_INCREF(Py_None); resultobj = Py_None;
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxListBox *arg1 = (wxListBox *) 0 ;
5847 int arg2 ;
5848 wxFont *arg3 = 0 ;
5849 PyObject * obj0 = 0 ;
5850 PyObject * obj1 = 0 ;
5851 PyObject * obj2 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "item",(char *) "f", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5858 {
5859 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 if (arg3 == NULL) {
5864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5865 }
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 Py_INCREF(Py_None); resultobj = Py_None;
5874 return resultobj;
5875 fail:
5876 return NULL;
5877 }
5878
5879
5880 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5881 PyObject *obj;
5882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5883 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5884 Py_INCREF(obj);
5885 return Py_BuildValue((char *)"");
5886 }
5887 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxWindow *arg1 = (wxWindow *) 0 ;
5890 int arg2 ;
5891 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5892 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5893 wxSize const &arg4_defvalue = wxDefaultSize ;
5894 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5895 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5896 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5897 long arg6 = (long) 0 ;
5898 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5899 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5900 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5901 wxString *arg8 = (wxString *) &arg8_defvalue ;
5902 wxCheckListBox *result;
5903 wxPoint temp3 ;
5904 wxSize temp4 ;
5905 bool temp5 = False ;
5906 bool temp8 = False ;
5907 PyObject * obj0 = 0 ;
5908 PyObject * obj1 = 0 ;
5909 PyObject * obj2 = 0 ;
5910 PyObject * obj3 = 0 ;
5911 PyObject * obj4 = 0 ;
5912 PyObject * obj5 = 0 ;
5913 PyObject * obj6 = 0 ;
5914 PyObject * obj7 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5921 {
5922 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 if (obj2) {
5926 {
5927 arg3 = &temp3;
5928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5929 }
5930 }
5931 if (obj3) {
5932 {
5933 arg4 = &temp4;
5934 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5935 }
5936 }
5937 if (obj4) {
5938 {
5939 if (! PySequence_Check(obj4)) {
5940 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5941 SWIG_fail;
5942 }
5943 arg5 = new wxArrayString;
5944 temp5 = True;
5945 int i, len=PySequence_Length(obj4);
5946 for (i=0; i<len; i++) {
5947 PyObject* item = PySequence_GetItem(obj4, i);
5948 #if wxUSE_UNICODE
5949 PyObject* str = PyObject_Unicode(item);
5950 #else
5951 PyObject* str = PyObject_Str(item);
5952 #endif
5953 arg5->Add(Py2wxString(str));
5954 Py_DECREF(item);
5955 Py_DECREF(str);
5956 }
5957 }
5958 }
5959 if (obj5) {
5960 {
5961 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 }
5965 if (obj6) {
5966 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5967 if (arg7 == NULL) {
5968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5969 }
5970 }
5971 if (obj7) {
5972 {
5973 arg8 = wxString_in_helper(obj7);
5974 if (arg8 == NULL) SWIG_fail;
5975 temp8 = True;
5976 }
5977 }
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5986 {
5987 if (temp5) delete arg5;
5988 }
5989 {
5990 if (temp8)
5991 delete arg8;
5992 }
5993 return resultobj;
5994 fail:
5995 {
5996 if (temp5) delete arg5;
5997 }
5998 {
5999 if (temp8)
6000 delete arg8;
6001 }
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxCheckListBox *result;
6009 char *kwnames[] = {
6010 NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (wxCheckListBox *)new wxCheckListBox();
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6031 wxWindow *arg2 = (wxWindow *) 0 ;
6032 int arg3 ;
6033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6035 wxSize const &arg5_defvalue = wxDefaultSize ;
6036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6037 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6038 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6039 long arg7 = (long) 0 ;
6040 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6041 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6042 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6043 wxString *arg9 = (wxString *) &arg9_defvalue ;
6044 bool result;
6045 wxPoint temp4 ;
6046 wxSize temp5 ;
6047 bool temp6 = False ;
6048 bool temp9 = False ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 PyObject * obj2 = 0 ;
6052 PyObject * obj3 = 0 ;
6053 PyObject * obj4 = 0 ;
6054 PyObject * obj5 = 0 ;
6055 PyObject * obj6 = 0 ;
6056 PyObject * obj7 = 0 ;
6057 PyObject * obj8 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6065 {
6066 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 if (obj3) {
6070 {
6071 arg4 = &temp4;
6072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6073 }
6074 }
6075 if (obj4) {
6076 {
6077 arg5 = &temp5;
6078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6079 }
6080 }
6081 if (obj5) {
6082 {
6083 if (! PySequence_Check(obj5)) {
6084 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6085 SWIG_fail;
6086 }
6087 arg6 = new wxArrayString;
6088 temp6 = True;
6089 int i, len=PySequence_Length(obj5);
6090 for (i=0; i<len; i++) {
6091 PyObject* item = PySequence_GetItem(obj5, i);
6092 #if wxUSE_UNICODE
6093 PyObject* str = PyObject_Unicode(item);
6094 #else
6095 PyObject* str = PyObject_Str(item);
6096 #endif
6097 arg6->Add(Py2wxString(str));
6098 Py_DECREF(item);
6099 Py_DECREF(str);
6100 }
6101 }
6102 }
6103 if (obj6) {
6104 {
6105 arg7 = (long) SWIG_PyObj_AsLong(obj6);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 }
6109 if (obj7) {
6110 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6111 if (arg8 == NULL) {
6112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6113 }
6114 }
6115 if (obj8) {
6116 {
6117 arg9 = wxString_in_helper(obj8);
6118 if (arg9 == NULL) SWIG_fail;
6119 temp9 = True;
6120 }
6121 }
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6130 {
6131 if (temp6) delete arg6;
6132 }
6133 {
6134 if (temp9)
6135 delete arg9;
6136 }
6137 return resultobj;
6138 fail:
6139 {
6140 if (temp6) delete arg6;
6141 }
6142 {
6143 if (temp9)
6144 delete arg9;
6145 }
6146 return NULL;
6147 }
6148
6149
6150 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject *resultobj;
6152 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6153 int arg2 ;
6154 bool result;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "index", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6163 {
6164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (bool)(arg1)->IsChecked(arg2);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6184 int arg2 ;
6185 int arg3 = (int) True ;
6186 PyObject * obj0 = 0 ;
6187 PyObject * obj1 = 0 ;
6188 PyObject * obj2 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "self",(char *) "index",(char *) "check", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6195 {
6196 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 if (obj2) {
6200 {
6201 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 }
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 (arg1)->Check(arg2,arg3);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6222 int result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (int)(arg1)->GetItemHeight();
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = SWIG_PyObj_FromInt((int)result);
6238 return resultobj;
6239 fail:
6240 return NULL;
6241 }
6242
6243
6244 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6247 wxPoint *arg2 = 0 ;
6248 int result;
6249 wxPoint temp2 ;
6250 PyObject * obj0 = 0 ;
6251 PyObject * obj1 = 0 ;
6252 char *kwnames[] = {
6253 (char *) "self",(char *) "pt", NULL
6254 };
6255
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6258 {
6259 arg2 = &temp2;
6260 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6261 }
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 resultobj = SWIG_PyObj_FromInt((int)result);
6270 return resultobj;
6271 fail:
6272 return NULL;
6273 }
6274
6275
6276 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj;
6278 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6279 int arg2 ;
6280 int arg3 ;
6281 int result;
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 PyObject * obj2 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self",(char *) "x",(char *) "y", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6291 {
6292 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 {
6296 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6302
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = SWIG_PyObj_FromInt((int)result);
6307 return resultobj;
6308 fail:
6309 return NULL;
6310 }
6311
6312
6313 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6314 PyObject *obj;
6315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6316 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6317 Py_INCREF(obj);
6318 return Py_BuildValue((char *)"");
6319 }
6320 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6321 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6322 return 1;
6323 }
6324
6325
6326 static PyObject *_wrap_TextCtrlNameStr_get() {
6327 PyObject *pyobj;
6328
6329 {
6330 #if wxUSE_UNICODE
6331 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6332 #else
6333 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6334 #endif
6335 }
6336 return pyobj;
6337 }
6338
6339
6340 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6341 PyObject *resultobj;
6342 wxTextAttr *result;
6343
6344 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 result = (wxTextAttr *)new wxTextAttr();
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6353 return resultobj;
6354 fail:
6355 return NULL;
6356 }
6357
6358
6359 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6360 PyObject *resultobj;
6361 wxColour *arg1 = 0 ;
6362 wxColour const &arg2_defvalue = wxNullColour ;
6363 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6364 wxFont const &arg3_defvalue = wxNullFont ;
6365 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6366 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6367 wxTextAttr *result;
6368 wxColour temp1 ;
6369 wxColour temp2 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 PyObject * obj2 = 0 ;
6373 PyObject * obj3 = 0 ;
6374
6375 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6376 {
6377 arg1 = &temp1;
6378 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6379 }
6380 if (obj1) {
6381 {
6382 arg2 = &temp2;
6383 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6384 }
6385 }
6386 if (obj2) {
6387 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6388 if (arg3 == NULL) {
6389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6390 }
6391 }
6392 if (obj3) {
6393 {
6394 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 }
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6406 return resultobj;
6407 fail:
6408 return NULL;
6409 }
6410
6411
6412 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6413 int argc;
6414 PyObject *argv[5];
6415 int ii;
6416
6417 argc = PyObject_Length(args);
6418 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6419 argv[ii] = PyTuple_GetItem(args,ii);
6420 }
6421 if (argc == 0) {
6422 return _wrap_new_TextAttr__SWIG_0(self,args);
6423 }
6424 if ((argc >= 1) && (argc <= 4)) {
6425 int _v;
6426 {
6427 _v = wxColour_typecheck(argv[0]);
6428 }
6429 if (_v) {
6430 if (argc <= 1) {
6431 return _wrap_new_TextAttr__SWIG_1(self,args);
6432 }
6433 {
6434 _v = wxColour_typecheck(argv[1]);
6435 }
6436 if (_v) {
6437 if (argc <= 2) {
6438 return _wrap_new_TextAttr__SWIG_1(self,args);
6439 }
6440 {
6441 void *ptr;
6442 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6443 _v = 0;
6444 PyErr_Clear();
6445 } else {
6446 _v = 1;
6447 }
6448 }
6449 if (_v) {
6450 if (argc <= 3) {
6451 return _wrap_new_TextAttr__SWIG_1(self,args);
6452 }
6453 {
6454 SWIG_PyObj_AsInt(argv[3]);
6455 if (PyErr_Occurred()) {
6456 _v = 0;
6457 PyErr_Clear();
6458 } else {
6459 _v = 1;
6460 }
6461 }
6462 if (_v) {
6463 return _wrap_new_TextAttr__SWIG_1(self,args);
6464 }
6465 }
6466 }
6467 }
6468 }
6469
6470 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6471 return NULL;
6472 }
6473
6474
6475 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj;
6477 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6478 PyObject * obj0 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "self", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 delete arg1;
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 Py_INCREF(Py_None); resultobj = Py_None;
6493 return resultobj;
6494 fail:
6495 return NULL;
6496 }
6497
6498
6499 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 (arg1)->Init();
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 Py_INCREF(Py_None); resultobj = Py_None;
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj;
6525 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6526 wxColour *arg2 = 0 ;
6527 wxColour temp2 ;
6528 PyObject * obj0 = 0 ;
6529 PyObject * obj1 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self",(char *) "colText", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6536 {
6537 arg2 = &temp2;
6538 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6539 }
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 (arg1)->SetTextColour((wxColour const &)*arg2);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 Py_INCREF(Py_None); resultobj = Py_None;
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6557 wxColour *arg2 = 0 ;
6558 wxColour temp2 ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "colBack", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 {
6568 arg2 = &temp2;
6569 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6570 }
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6588 wxFont *arg2 = 0 ;
6589 long arg3 = (long) wxTEXT_ATTR_FONT ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 PyObject * obj2 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self",(char *) "font",(char *) "flags", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6600 if (arg2 == NULL) {
6601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6602 }
6603 if (obj2) {
6604 {
6605 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 }
6608 }
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj;
6625 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6626 int arg2 ;
6627 PyObject * obj0 = 0 ;
6628 PyObject * obj1 = 0 ;
6629 char *kwnames[] = {
6630 (char *) "self",(char *) "alignment", NULL
6631 };
6632
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635 {
6636 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 Py_INCREF(Py_None); resultobj = Py_None;
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6656 wxArrayInt *arg2 = 0 ;
6657 bool temp2 = False ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self",(char *) "tabs", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 {
6667 if (! PySequence_Check(obj1)) {
6668 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6669 SWIG_fail;
6670 }
6671 arg2 = new wxArrayInt;
6672 temp2 = True;
6673 int i, len=PySequence_Length(obj1);
6674 for (i=0; i<len; i++) {
6675 PyObject* item = PySequence_GetItem(obj1, i);
6676 PyObject* number = PyNumber_Int(item);
6677 arg2->Add(PyInt_AS_LONG(number));
6678 Py_DECREF(item);
6679 Py_DECREF(number);
6680 }
6681 }
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6685
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 Py_INCREF(Py_None); resultobj = Py_None;
6690 {
6691 if (temp2) delete arg2;
6692 }
6693 return resultobj;
6694 fail:
6695 {
6696 if (temp2) delete arg2;
6697 }
6698 return NULL;
6699 }
6700
6701
6702 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6705 int arg2 ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "indent", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 {
6715 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->SetLeftIndent(arg2);
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 Py_INCREF(Py_None); resultobj = Py_None;
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6735 int arg2 ;
6736 PyObject * obj0 = 0 ;
6737 PyObject * obj1 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self",(char *) "indent", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 {
6745 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 (arg1)->SetRightIndent(arg2);
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 Py_INCREF(Py_None); resultobj = Py_None;
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6765 long arg2 ;
6766 PyObject * obj0 = 0 ;
6767 PyObject * obj1 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "flags", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 (arg1)->SetFlags(arg2);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 Py_INCREF(Py_None); resultobj = Py_None;
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6795 bool result;
6796 PyObject * obj0 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6806
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6811 return resultobj;
6812 fail:
6813 return NULL;
6814 }
6815
6816
6817 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6820 bool result;
6821 PyObject * obj0 = 0 ;
6822 char *kwnames[] = {
6823 (char *) "self", NULL
6824 };
6825
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6845 bool result;
6846 PyObject * obj0 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6861 return resultobj;
6862 fail:
6863 return NULL;
6864 }
6865
6866
6867 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6868 PyObject *resultobj;
6869 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6870 bool result;
6871 PyObject * obj0 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6895 bool result;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6920 bool result;
6921 PyObject * obj0 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6945 bool result;
6946 PyObject * obj0 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6955 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6961 return resultobj;
6962 fail:
6963 return NULL;
6964 }
6965
6966
6967 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6968 PyObject *resultobj;
6969 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6970 long arg2 ;
6971 bool result;
6972 PyObject * obj0 = 0 ;
6973 PyObject * obj1 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self",(char *) "flag", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6980 {
6981 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7001 wxColour *result;
7002 PyObject * obj0 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 {
7012 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7013 result = (wxColour *) &_result_ref;
7014 }
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
7020 return resultobj;
7021 fail:
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7029 wxColour *result;
7030 PyObject * obj0 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 {
7040 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7041 result = (wxColour *) &_result_ref;
7042 }
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7057 wxFont *result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 {
7068 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7069 result = (wxFont *) &_result_ref;
7070 }
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj;
7084 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7085 int result;
7086 PyObject * obj0 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7093 {
7094 PyThreadState* __tstate = wxPyBeginAllowThreads();
7095 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7096
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 resultobj = SWIG_PyObj_FromInt((int)result);
7101 return resultobj;
7102 fail:
7103 return NULL;
7104 }
7105
7106
7107 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7108 PyObject *resultobj;
7109 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7110 wxArrayInt *result;
7111 PyObject * obj0 = 0 ;
7112 char *kwnames[] = {
7113 (char *) "self", NULL
7114 };
7115
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 {
7121 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7122 result = (wxArrayInt *) &_result_ref;
7123 }
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 {
7129 resultobj = PyList_New(0);
7130 size_t idx;
7131 for (idx = 0; idx < result->GetCount(); idx += 1) {
7132 PyObject* val = PyInt_FromLong( result->Item(idx) );
7133 PyList_Append(resultobj, val);
7134 Py_DECREF(val);
7135 }
7136 }
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7146 long result;
7147 PyObject * obj0 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "self", NULL
7150 };
7151
7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_PyObj_FromLong((long)result);
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj;
7170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7171 long result;
7172 PyObject * obj0 = 0 ;
7173 char *kwnames[] = {
7174 (char *) "self", NULL
7175 };
7176
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 resultobj = SWIG_PyObj_FromLong((long)result);
7187 return resultobj;
7188 fail:
7189 return NULL;
7190 }
7191
7192
7193 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7196 long result;
7197 PyObject * obj0 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 resultobj = SWIG_PyObj_FromLong((long)result);
7212 return resultobj;
7213 fail:
7214 return NULL;
7215 }
7216
7217
7218 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7221 bool result;
7222 PyObject * obj0 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7237 return resultobj;
7238 fail:
7239 return NULL;
7240 }
7241
7242
7243 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxTextAttr *arg1 = 0 ;
7246 wxTextAttr *arg2 = 0 ;
7247 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7248 wxTextAttr result;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 PyObject * obj2 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7258 if (arg1 == NULL) {
7259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7260 }
7261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7262 if (arg2 == NULL) {
7263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7264 }
7265 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 {
7274 wxTextAttr * resultptr;
7275 resultptr = new wxTextAttr((wxTextAttr &) result);
7276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7277 }
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7285 PyObject *obj;
7286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7287 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7288 Py_INCREF(obj);
7289 return Py_BuildValue((char *)"");
7290 }
7291 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxWindow *arg1 = (wxWindow *) 0 ;
7294 int arg2 ;
7295 wxString const &arg3_defvalue = wxPyEmptyString ;
7296 wxString *arg3 = (wxString *) &arg3_defvalue ;
7297 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7298 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7299 wxSize const &arg5_defvalue = wxDefaultSize ;
7300 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7301 long arg6 = (long) 0 ;
7302 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7303 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7304 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7305 wxString *arg8 = (wxString *) &arg8_defvalue ;
7306 wxTextCtrl *result;
7307 bool temp3 = False ;
7308 wxPoint temp4 ;
7309 wxSize temp5 ;
7310 bool temp8 = False ;
7311 PyObject * obj0 = 0 ;
7312 PyObject * obj1 = 0 ;
7313 PyObject * obj2 = 0 ;
7314 PyObject * obj3 = 0 ;
7315 PyObject * obj4 = 0 ;
7316 PyObject * obj5 = 0 ;
7317 PyObject * obj6 = 0 ;
7318 PyObject * obj7 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7325 {
7326 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 if (obj2) {
7330 {
7331 arg3 = wxString_in_helper(obj2);
7332 if (arg3 == NULL) SWIG_fail;
7333 temp3 = True;
7334 }
7335 }
7336 if (obj3) {
7337 {
7338 arg4 = &temp4;
7339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7340 }
7341 }
7342 if (obj4) {
7343 {
7344 arg5 = &temp5;
7345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7346 }
7347 }
7348 if (obj5) {
7349 {
7350 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 }
7354 if (obj6) {
7355 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7356 if (arg7 == NULL) {
7357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7358 }
7359 }
7360 if (obj7) {
7361 {
7362 arg8 = wxString_in_helper(obj7);
7363 if (arg8 == NULL) SWIG_fail;
7364 temp8 = True;
7365 }
7366 }
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
7374 {
7375 resultobj = wxPyMake_wxObject(result);
7376 }
7377 {
7378 if (temp3)
7379 delete arg3;
7380 }
7381 {
7382 if (temp8)
7383 delete arg8;
7384 }
7385 return resultobj;
7386 fail:
7387 {
7388 if (temp3)
7389 delete arg3;
7390 }
7391 {
7392 if (temp8)
7393 delete arg8;
7394 }
7395 return NULL;
7396 }
7397
7398
7399 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7400 PyObject *resultobj;
7401 wxTextCtrl *result;
7402 char *kwnames[] = {
7403 NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (wxTextCtrl *)new wxTextCtrl();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 {
7415 resultobj = wxPyMake_wxObject(result);
7416 }
7417 return resultobj;
7418 fail:
7419 return NULL;
7420 }
7421
7422
7423 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7424 PyObject *resultobj;
7425 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7426 wxWindow *arg2 = (wxWindow *) 0 ;
7427 int arg3 ;
7428 wxString const &arg4_defvalue = wxPyEmptyString ;
7429 wxString *arg4 = (wxString *) &arg4_defvalue ;
7430 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7431 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7432 wxSize const &arg6_defvalue = wxDefaultSize ;
7433 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7434 long arg7 = (long) 0 ;
7435 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7436 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7437 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7438 wxString *arg9 = (wxString *) &arg9_defvalue ;
7439 bool result;
7440 bool temp4 = False ;
7441 wxPoint temp5 ;
7442 wxSize temp6 ;
7443 bool temp9 = False ;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 PyObject * obj2 = 0 ;
7447 PyObject * obj3 = 0 ;
7448 PyObject * obj4 = 0 ;
7449 PyObject * obj5 = 0 ;
7450 PyObject * obj6 = 0 ;
7451 PyObject * obj7 = 0 ;
7452 PyObject * obj8 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 {
7461 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 if (obj3) {
7465 {
7466 arg4 = wxString_in_helper(obj3);
7467 if (arg4 == NULL) SWIG_fail;
7468 temp4 = True;
7469 }
7470 }
7471 if (obj4) {
7472 {
7473 arg5 = &temp5;
7474 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7475 }
7476 }
7477 if (obj5) {
7478 {
7479 arg6 = &temp6;
7480 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7481 }
7482 }
7483 if (obj6) {
7484 {
7485 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 }
7489 if (obj7) {
7490 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 if (arg8 == NULL) {
7492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7493 }
7494 }
7495 if (obj8) {
7496 {
7497 arg9 = wxString_in_helper(obj8);
7498 if (arg9 == NULL) SWIG_fail;
7499 temp9 = True;
7500 }
7501 }
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7510 {
7511 if (temp4)
7512 delete arg4;
7513 }
7514 {
7515 if (temp9)
7516 delete arg9;
7517 }
7518 return resultobj;
7519 fail:
7520 {
7521 if (temp4)
7522 delete arg4;
7523 }
7524 {
7525 if (temp9)
7526 delete arg9;
7527 }
7528 return NULL;
7529 }
7530
7531
7532 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7535 wxString result;
7536 PyObject * obj0 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = ((wxTextCtrl const *)arg1)->GetValue();
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 #if wxUSE_UNICODE
7552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7553 #else
7554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7555 #endif
7556 }
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7566 wxString *arg2 = 0 ;
7567 bool temp2 = False ;
7568 PyObject * obj0 = 0 ;
7569 PyObject * obj1 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self",(char *) "value", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 {
7577 arg2 = wxString_in_helper(obj1);
7578 if (arg2 == NULL) SWIG_fail;
7579 temp2 = True;
7580 }
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 (arg1)->SetValue((wxString const &)*arg2);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 Py_INCREF(Py_None); resultobj = Py_None;
7589 {
7590 if (temp2)
7591 delete arg2;
7592 }
7593 return resultobj;
7594 fail:
7595 {
7596 if (temp2)
7597 delete arg2;
7598 }
7599 return NULL;
7600 }
7601
7602
7603 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7606 long arg2 ;
7607 long arg3 ;
7608 wxString result;
7609 PyObject * obj0 = 0 ;
7610 PyObject * obj1 = 0 ;
7611 PyObject * obj2 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "self",(char *) "from",(char *) "to", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7618 {
7619 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 {
7623 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 {
7634 #if wxUSE_UNICODE
7635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7636 #else
7637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7638 #endif
7639 }
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7649 long arg2 ;
7650 int result;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self",(char *) "lineNo", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7659 {
7660 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 {
7664 PyThreadState* __tstate = wxPyBeginAllowThreads();
7665 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 resultobj = SWIG_PyObj_FromInt((int)result);
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7680 long arg2 ;
7681 wxString result;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self",(char *) "lineNo", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7690 {
7691 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 {
7702 #if wxUSE_UNICODE
7703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7704 #else
7705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7706 #endif
7707 }
7708 return resultobj;
7709 fail:
7710 return NULL;
7711 }
7712
7713
7714 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7717 int result;
7718 PyObject * obj0 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 resultobj = SWIG_PyObj_FromInt((int)result);
7733 return resultobj;
7734 fail:
7735 return NULL;
7736 }
7737
7738
7739 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7742 bool result;
7743 PyObject * obj0 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7767 bool result;
7768 PyObject * obj0 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "self", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7792 bool result;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7817 bool result;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "self", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7842 long *arg2 = (long *) 0 ;
7843 long *arg3 = (long *) 0 ;
7844 long temp2 ;
7845 long temp3 ;
7846 PyObject * obj0 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "self", NULL
7849 };
7850
7851 arg2 = &temp2;
7852 arg3 = &temp3;
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 {
7864 PyObject *o = PyInt_FromLong((long) (*arg2));
7865 resultobj = t_output_helper(resultobj,o);
7866 }
7867 {
7868 PyObject *o = PyInt_FromLong((long) (*arg3));
7869 resultobj = t_output_helper(resultobj,o);
7870 }
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7880 wxString result;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 {
7896 #if wxUSE_UNICODE
7897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7898 #else
7899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7900 #endif
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7911 PyObject * obj0 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 (arg1)->Clear();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 Py_INCREF(Py_None); resultobj = Py_None;
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7935 long arg2 ;
7936 long arg3 ;
7937 wxString *arg4 = 0 ;
7938 bool temp4 = False ;
7939 PyObject * obj0 = 0 ;
7940 PyObject * obj1 = 0 ;
7941 PyObject * obj2 = 0 ;
7942 PyObject * obj3 = 0 ;
7943 char *kwnames[] = {
7944 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7945 };
7946
7947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7949 {
7950 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 {
7958 arg4 = wxString_in_helper(obj3);
7959 if (arg4 == NULL) SWIG_fail;
7960 temp4 = True;
7961 }
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 {
7971 if (temp4)
7972 delete arg4;
7973 }
7974 return resultobj;
7975 fail:
7976 {
7977 if (temp4)
7978 delete arg4;
7979 }
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7987 long arg2 ;
7988 long arg3 ;
7989 PyObject * obj0 = 0 ;
7990 PyObject * obj1 = 0 ;
7991 PyObject * obj2 = 0 ;
7992 char *kwnames[] = {
7993 (char *) "self",(char *) "from",(char *) "to", NULL
7994 };
7995
7996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7998 {
7999 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 {
8003 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 (arg1)->Remove(arg2,arg3);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 Py_INCREF(Py_None); resultobj = Py_None;
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8023 wxString *arg2 = 0 ;
8024 bool result;
8025 bool temp2 = False ;
8026 PyObject * obj0 = 0 ;
8027 PyObject * obj1 = 0 ;
8028 char *kwnames[] = {
8029 (char *) "self",(char *) "file", NULL
8030 };
8031
8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8034 {
8035 arg2 = wxString_in_helper(obj1);
8036 if (arg2 == NULL) SWIG_fail;
8037 temp2 = True;
8038 }
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8047 {
8048 if (temp2)
8049 delete arg2;
8050 }
8051 return resultobj;
8052 fail:
8053 {
8054 if (temp2)
8055 delete arg2;
8056 }
8057 return NULL;
8058 }
8059
8060
8061 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj;
8063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8064 wxString const &arg2_defvalue = wxPyEmptyString ;
8065 wxString *arg2 = (wxString *) &arg2_defvalue ;
8066 bool result;
8067 bool temp2 = False ;
8068 PyObject * obj0 = 0 ;
8069 PyObject * obj1 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "self",(char *) "file", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8076 if (obj1) {
8077 {
8078 arg2 = wxString_in_helper(obj1);
8079 if (arg2 == NULL) SWIG_fail;
8080 temp2 = True;
8081 }
8082 }
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8091 {
8092 if (temp2)
8093 delete arg2;
8094 }
8095 return resultobj;
8096 fail:
8097 {
8098 if (temp2)
8099 delete arg2;
8100 }
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 (arg1)->MarkDirty();
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 Py_INCREF(Py_None); resultobj = Py_None;
8123 return resultobj;
8124 fail:
8125 return NULL;
8126 }
8127
8128
8129 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8130 PyObject *resultobj;
8131 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8132 PyObject * obj0 = 0 ;
8133 char *kwnames[] = {
8134 (char *) "self", NULL
8135 };
8136
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 (arg1)->DiscardEdits();
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 Py_INCREF(Py_None); resultobj = Py_None;
8147 return resultobj;
8148 fail:
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8156 unsigned long arg2 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "len", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8165 {
8166 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->SetMaxLength(arg2);
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8186 wxString *arg2 = 0 ;
8187 bool temp2 = False ;
8188 PyObject * obj0 = 0 ;
8189 PyObject * obj1 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self",(char *) "text", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 {
8197 arg2 = wxString_in_helper(obj1);
8198 if (arg2 == NULL) SWIG_fail;
8199 temp2 = True;
8200 }
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 (arg1)->WriteText((wxString const &)*arg2);
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 Py_INCREF(Py_None); resultobj = Py_None;
8209 {
8210 if (temp2)
8211 delete arg2;
8212 }
8213 return resultobj;
8214 fail:
8215 {
8216 if (temp2)
8217 delete arg2;
8218 }
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8224 PyObject *resultobj;
8225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8226 wxString *arg2 = 0 ;
8227 bool temp2 = False ;
8228 PyObject * obj0 = 0 ;
8229 PyObject * obj1 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "text", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8236 {
8237 arg2 = wxString_in_helper(obj1);
8238 if (arg2 == NULL) SWIG_fail;
8239 temp2 = True;
8240 }
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 (arg1)->AppendText((wxString const &)*arg2);
8244
8245 wxPyEndAllowThreads(__tstate);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
8248 Py_INCREF(Py_None); resultobj = Py_None;
8249 {
8250 if (temp2)
8251 delete arg2;
8252 }
8253 return resultobj;
8254 fail:
8255 {
8256 if (temp2)
8257 delete arg2;
8258 }
8259 return NULL;
8260 }
8261
8262
8263 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8266 wxKeyEvent *arg2 = 0 ;
8267 bool result;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self",(char *) "event", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8277 if (arg2 == NULL) {
8278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8279 }
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8288 return resultobj;
8289 fail:
8290 return NULL;
8291 }
8292
8293
8294 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject *resultobj;
8296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8297 long arg2 ;
8298 long arg3 ;
8299 wxTextAttr *arg4 = 0 ;
8300 bool result;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 PyObject * obj3 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8311 {
8312 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 {
8316 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8320 if (arg4 == NULL) {
8321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8322 }
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8340 long arg2 ;
8341 wxTextAttr *arg3 = 0 ;
8342 bool result;
8343 PyObject * obj0 = 0 ;
8344 PyObject * obj1 = 0 ;
8345 PyObject * obj2 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "self",(char *) "position",(char *) "style", NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8352 {
8353 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8357 if (arg3 == NULL) {
8358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8359 }
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8377 wxTextAttr *arg2 = 0 ;
8378 bool result;
8379 PyObject * obj0 = 0 ;
8380 PyObject * obj1 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self",(char *) "style", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8388 if (arg2 == NULL) {
8389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8390 }
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8408 wxTextAttr *result;
8409 PyObject * obj0 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 {
8419 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8420 result = (wxTextAttr *) &_result_ref;
8421 }
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8427 return resultobj;
8428 fail:
8429 return NULL;
8430 }
8431
8432
8433 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8436 long arg2 ;
8437 long arg3 ;
8438 long result;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "x",(char *) "y", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 {
8449 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 {
8453 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 resultobj = SWIG_PyObj_FromLong((long)result);
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8473 long arg2 ;
8474 long *arg3 = (long *) 0 ;
8475 long *arg4 = (long *) 0 ;
8476 long temp3 ;
8477 long temp4 ;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "self",(char *) "pos", NULL
8482 };
8483
8484 arg3 = &temp3;
8485 arg4 = &temp4;
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 {
8489 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 Py_INCREF(Py_None); resultobj = Py_None;
8500 {
8501 PyObject *o = PyInt_FromLong((long) (*arg3));
8502 resultobj = t_output_helper(resultobj,o);
8503 }
8504 {
8505 PyObject *o = PyInt_FromLong((long) (*arg4));
8506 resultobj = t_output_helper(resultobj,o);
8507 }
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8517 long arg2 ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj1 = 0 ;
8520 char *kwnames[] = {
8521 (char *) "self",(char *) "pos", NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8526 {
8527 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 (arg1)->ShowPosition(arg2);
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 Py_INCREF(Py_None); resultobj = Py_None;
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8547 wxPoint *arg2 = 0 ;
8548 long *arg3 = (long *) 0 ;
8549 long *arg4 = (long *) 0 ;
8550 int result;
8551 wxPoint temp2 ;
8552 long temp3 ;
8553 long temp4 ;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "pt", NULL
8558 };
8559
8560 arg3 = &temp3;
8561 arg4 = &temp4;
8562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8564 {
8565 arg2 = &temp2;
8566 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8567 }
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 resultobj = SWIG_PyObj_FromInt((int)result);
8576 {
8577 PyObject *o = PyInt_FromLong((long) (*arg3));
8578 resultobj = t_output_helper(resultobj,o);
8579 }
8580 {
8581 PyObject *o = PyInt_FromLong((long) (*arg4));
8582 resultobj = t_output_helper(resultobj,o);
8583 }
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8593 PyObject * obj0 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 (arg1)->Copy();
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 Py_INCREF(Py_None); resultobj = Py_None;
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8617 PyObject * obj0 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 (arg1)->Cut();
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 Py_INCREF(Py_None); resultobj = Py_None;
8632 return resultobj;
8633 fail:
8634 return NULL;
8635 }
8636
8637
8638 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8641 PyObject * obj0 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self", NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 (arg1)->Paste();
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 Py_INCREF(Py_None); resultobj = Py_None;
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8665 bool result;
8666 PyObject * obj0 = 0 ;
8667 char *kwnames[] = {
8668 (char *) "self", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8690 bool result;
8691 PyObject * obj0 = 0 ;
8692 char *kwnames[] = {
8693 (char *) "self", NULL
8694 };
8695
8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8706 return resultobj;
8707 fail:
8708 return NULL;
8709 }
8710
8711
8712 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8715 bool result;
8716 PyObject * obj0 = 0 ;
8717 char *kwnames[] = {
8718 (char *) "self", NULL
8719 };
8720
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8740 PyObject * obj0 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 (arg1)->Undo();
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 Py_INCREF(Py_None); resultobj = Py_None;
8755 return resultobj;
8756 fail:
8757 return NULL;
8758 }
8759
8760
8761 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->Redo();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8788 bool result;
8789 PyObject * obj0 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8813 bool result;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8829 return resultobj;
8830 fail:
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8838 long arg2 ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "pos", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 {
8848 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->SetInsertionPoint(arg2);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 (arg1)->SetInsertionPointEnd();
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 Py_INCREF(Py_None); resultobj = Py_None;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8892 long result;
8893 PyObject * obj0 = 0 ;
8894 char *kwnames[] = {
8895 (char *) "self", NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_PyObj_FromLong((long)result);
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8917 long result;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = SWIG_PyObj_FromLong((long)result);
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8942 long arg2 ;
8943 long arg3 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 PyObject * obj2 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "from",(char *) "to", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8953 {
8954 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 {
8958 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->SetSelection(arg2,arg3);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8978 PyObject * obj0 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 (arg1)->SelectAll();
8988
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 Py_INCREF(Py_None); resultobj = Py_None;
8993 return resultobj;
8994 fail:
8995 return NULL;
8996 }
8997
8998
8999 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9000 PyObject *resultobj;
9001 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9002 bool arg2 ;
9003 PyObject * obj0 = 0 ;
9004 PyObject * obj1 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self",(char *) "editable", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9011 {
9012 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->SetEditable(arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj;
9031 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9032 wxString *arg2 = 0 ;
9033 bool temp2 = False ;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self",(char *) "text", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9042 {
9043 arg2 = wxString_in_helper(obj1);
9044 if (arg2 == NULL) SWIG_fail;
9045 temp2 = True;
9046 }
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 Py_INCREF(Py_None); resultobj = Py_None;
9055 {
9056 if (temp2)
9057 delete arg2;
9058 }
9059 return resultobj;
9060 fail:
9061 {
9062 if (temp2)
9063 delete arg2;
9064 }
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9072 long arg2 ;
9073 long arg3 ;
9074 wxString result;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "from",(char *) "to", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9084 {
9085 arg2 = (long) SWIG_PyObj_AsLong(obj1);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 {
9089 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 {
9100 #if wxUSE_UNICODE
9101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9102 #else
9103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9104 #endif
9105 }
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9113 PyObject *obj;
9114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9115 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9116 Py_INCREF(obj);
9117 return Py_BuildValue((char *)"");
9118 }
9119 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj;
9121 int arg1 ;
9122 wxMouseEvent *arg2 = 0 ;
9123 long arg3 ;
9124 long arg4 ;
9125 wxTextUrlEvent *result;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 PyObject * obj2 = 0 ;
9129 PyObject * obj3 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9135 {
9136 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9137 if (PyErr_Occurred()) SWIG_fail;
9138 }
9139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9140 if (arg2 == NULL) {
9141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9142 }
9143 {
9144 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 {
9148 arg4 = (long) SWIG_PyObj_AsLong(obj3);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9168 wxMouseEvent *result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 {
9179 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9180 result = (wxMouseEvent *) &_result_ref;
9181 }
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
9186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9187 return resultobj;
9188 fail:
9189 return NULL;
9190 }
9191
9192
9193 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9196 long result;
9197 PyObject * obj0 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 resultobj = SWIG_PyObj_FromLong((long)result);
9212 return resultobj;
9213 fail:
9214 return NULL;
9215 }
9216
9217
9218 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj;
9220 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9221 long result;
9222 PyObject * obj0 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 resultobj = SWIG_PyObj_FromLong((long)result);
9237 return resultobj;
9238 fail:
9239 return NULL;
9240 }
9241
9242
9243 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9244 PyObject *obj;
9245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9246 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9247 Py_INCREF(obj);
9248 return Py_BuildValue((char *)"");
9249 }
9250 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9251 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9252 return 1;
9253 }
9254
9255
9256 static PyObject *_wrap_ScrollBarNameStr_get() {
9257 PyObject *pyobj;
9258
9259 {
9260 #if wxUSE_UNICODE
9261 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9262 #else
9263 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9264 #endif
9265 }
9266 return pyobj;
9267 }
9268
9269
9270 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxWindow *arg1 = (wxWindow *) 0 ;
9273 int arg2 = (int) -1 ;
9274 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9275 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9276 wxSize const &arg4_defvalue = wxDefaultSize ;
9277 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9278 long arg5 = (long) wxSB_HORIZONTAL ;
9279 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9280 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9281 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9282 wxString *arg7 = (wxString *) &arg7_defvalue ;
9283 wxScrollBar *result;
9284 wxPoint temp3 ;
9285 wxSize temp4 ;
9286 bool temp7 = False ;
9287 PyObject * obj0 = 0 ;
9288 PyObject * obj1 = 0 ;
9289 PyObject * obj2 = 0 ;
9290 PyObject * obj3 = 0 ;
9291 PyObject * obj4 = 0 ;
9292 PyObject * obj5 = 0 ;
9293 PyObject * obj6 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9300 if (obj1) {
9301 {
9302 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 }
9306 if (obj2) {
9307 {
9308 arg3 = &temp3;
9309 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9310 }
9311 }
9312 if (obj3) {
9313 {
9314 arg4 = &temp4;
9315 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9316 }
9317 }
9318 if (obj4) {
9319 {
9320 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 }
9324 if (obj5) {
9325 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9326 if (arg6 == NULL) {
9327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9328 }
9329 }
9330 if (obj6) {
9331 {
9332 arg7 = wxString_in_helper(obj6);
9333 if (arg7 == NULL) SWIG_fail;
9334 temp7 = True;
9335 }
9336 }
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
9339 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9345 {
9346 if (temp7)
9347 delete arg7;
9348 }
9349 return resultobj;
9350 fail:
9351 {
9352 if (temp7)
9353 delete arg7;
9354 }
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxScrollBar *result;
9362 char *kwnames[] = {
9363 NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (wxScrollBar *)new wxScrollBar();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9384 wxWindow *arg2 = (wxWindow *) 0 ;
9385 int arg3 = (int) -1 ;
9386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9388 wxSize const &arg5_defvalue = wxDefaultSize ;
9389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9390 long arg6 = (long) wxSB_HORIZONTAL ;
9391 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9392 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9393 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9394 wxString *arg8 = (wxString *) &arg8_defvalue ;
9395 bool result;
9396 wxPoint temp4 ;
9397 wxSize temp5 ;
9398 bool temp8 = False ;
9399 PyObject * obj0 = 0 ;
9400 PyObject * obj1 = 0 ;
9401 PyObject * obj2 = 0 ;
9402 PyObject * obj3 = 0 ;
9403 PyObject * obj4 = 0 ;
9404 PyObject * obj5 = 0 ;
9405 PyObject * obj6 = 0 ;
9406 PyObject * obj7 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9414 if (obj2) {
9415 {
9416 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 }
9420 if (obj3) {
9421 {
9422 arg4 = &temp4;
9423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9424 }
9425 }
9426 if (obj4) {
9427 {
9428 arg5 = &temp5;
9429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9430 }
9431 }
9432 if (obj5) {
9433 {
9434 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
9437 }
9438 if (obj6) {
9439 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9440 if (arg7 == NULL) {
9441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9442 }
9443 }
9444 if (obj7) {
9445 {
9446 arg8 = wxString_in_helper(obj7);
9447 if (arg8 == NULL) SWIG_fail;
9448 temp8 = True;
9449 }
9450 }
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9459 {
9460 if (temp8)
9461 delete arg8;
9462 }
9463 return resultobj;
9464 fail:
9465 {
9466 if (temp8)
9467 delete arg8;
9468 }
9469 return NULL;
9470 }
9471
9472
9473 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj;
9475 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9476 int result;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 resultobj = SWIG_PyObj_FromInt((int)result);
9492 return resultobj;
9493 fail:
9494 return NULL;
9495 }
9496
9497
9498 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9501 int result;
9502 PyObject * obj0 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = SWIG_PyObj_FromInt((int)result);
9517 return resultobj;
9518 fail:
9519 return NULL;
9520 }
9521
9522
9523 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9524 PyObject *resultobj;
9525 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9526 int result;
9527 PyObject * obj0 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = SWIG_PyObj_FromInt((int)result);
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9551 int result;
9552 PyObject * obj0 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 result = (int)((wxScrollBar const *)arg1)->GetRange();
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 resultobj = SWIG_PyObj_FromInt((int)result);
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9574 PyObject *resultobj;
9575 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9576 bool result;
9577 PyObject * obj0 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9601 int arg2 ;
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self",(char *) "viewStart", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9610 {
9611 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 (arg1)->SetThumbPosition(arg2);
9617
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 Py_INCREF(Py_None); resultobj = Py_None;
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9631 int arg2 ;
9632 int arg3 ;
9633 int arg4 ;
9634 int arg5 ;
9635 bool arg6 = (bool) True ;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 PyObject * obj2 = 0 ;
9639 PyObject * obj3 = 0 ;
9640 PyObject * obj4 = 0 ;
9641 PyObject * obj5 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 {
9649 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 {
9653 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 }
9656 {
9657 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 {
9661 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 if (obj5) {
9665 {
9666 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 }
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 Py_INCREF(Py_None); resultobj = Py_None;
9678 return resultobj;
9679 fail:
9680 return NULL;
9681 }
9682
9683
9684 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9685 PyObject *obj;
9686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9687 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9688 Py_INCREF(obj);
9689 return Py_BuildValue((char *)"");
9690 }
9691 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9692 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9693 return 1;
9694 }
9695
9696
9697 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9698 PyObject *pyobj;
9699
9700 {
9701 #if wxUSE_UNICODE
9702 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9703 #else
9704 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9705 #endif
9706 }
9707 return pyobj;
9708 }
9709
9710
9711 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9712 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9713 return 1;
9714 }
9715
9716
9717 static PyObject *_wrap_SpinCtrlNameStr_get() {
9718 PyObject *pyobj;
9719
9720 {
9721 #if wxUSE_UNICODE
9722 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9723 #else
9724 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9725 #endif
9726 }
9727 return pyobj;
9728 }
9729
9730
9731 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9732 PyObject *resultobj;
9733 wxWindow *arg1 = (wxWindow *) 0 ;
9734 int arg2 = (int) -1 ;
9735 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9736 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9737 wxSize const &arg4_defvalue = wxDefaultSize ;
9738 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9739 long arg5 = (long) wxSP_HORIZONTAL ;
9740 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9741 wxString *arg6 = (wxString *) &arg6_defvalue ;
9742 wxSpinButton *result;
9743 wxPoint temp3 ;
9744 wxSize temp4 ;
9745 bool temp6 = False ;
9746 PyObject * obj0 = 0 ;
9747 PyObject * obj1 = 0 ;
9748 PyObject * obj2 = 0 ;
9749 PyObject * obj3 = 0 ;
9750 PyObject * obj4 = 0 ;
9751 PyObject * obj5 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9758 if (obj1) {
9759 {
9760 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 }
9764 if (obj2) {
9765 {
9766 arg3 = &temp3;
9767 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9768 }
9769 }
9770 if (obj3) {
9771 {
9772 arg4 = &temp4;
9773 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9774 }
9775 }
9776 if (obj4) {
9777 {
9778 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 }
9782 if (obj5) {
9783 {
9784 arg6 = wxString_in_helper(obj5);
9785 if (arg6 == NULL) SWIG_fail;
9786 temp6 = True;
9787 }
9788 }
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9797 {
9798 if (temp6)
9799 delete arg6;
9800 }
9801 return resultobj;
9802 fail:
9803 {
9804 if (temp6)
9805 delete arg6;
9806 }
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxSpinButton *result;
9814 char *kwnames[] = {
9815 NULL
9816 };
9817
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (wxSpinButton *)new wxSpinButton();
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9836 wxWindow *arg2 = (wxWindow *) 0 ;
9837 int arg3 = (int) -1 ;
9838 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9839 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9840 wxSize const &arg5_defvalue = wxDefaultSize ;
9841 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9842 long arg6 = (long) wxSP_HORIZONTAL ;
9843 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9844 wxString *arg7 = (wxString *) &arg7_defvalue ;
9845 bool result;
9846 wxPoint temp4 ;
9847 wxSize temp5 ;
9848 bool temp7 = False ;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 PyObject * obj2 = 0 ;
9852 PyObject * obj3 = 0 ;
9853 PyObject * obj4 = 0 ;
9854 PyObject * obj5 = 0 ;
9855 PyObject * obj6 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9863 if (obj2) {
9864 {
9865 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 }
9869 if (obj3) {
9870 {
9871 arg4 = &temp4;
9872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9873 }
9874 }
9875 if (obj4) {
9876 {
9877 arg5 = &temp5;
9878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9879 }
9880 }
9881 if (obj5) {
9882 {
9883 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 }
9887 if (obj6) {
9888 {
9889 arg7 = wxString_in_helper(obj6);
9890 if (arg7 == NULL) SWIG_fail;
9891 temp7 = True;
9892 }
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9902 {
9903 if (temp7)
9904 delete arg7;
9905 }
9906 return resultobj;
9907 fail:
9908 {
9909 if (temp7)
9910 delete arg7;
9911 }
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9919 int result;
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 result = (int)((wxSpinButton const *)arg1)->GetValue();
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 resultobj = SWIG_PyObj_FromInt((int)result);
9935 return resultobj;
9936 fail:
9937 return NULL;
9938 }
9939
9940
9941 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj;
9943 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9944 int result;
9945 PyObject * obj0 = 0 ;
9946 char *kwnames[] = {
9947 (char *) "self", NULL
9948 };
9949
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (int)((wxSpinButton const *)arg1)->GetMin();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 resultobj = SWIG_PyObj_FromInt((int)result);
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9969 int result;
9970 PyObject * obj0 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (int)((wxSpinButton const *)arg1)->GetMax();
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 resultobj = SWIG_PyObj_FromInt((int)result);
9985 return resultobj;
9986 fail:
9987 return NULL;
9988 }
9989
9990
9991 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject *resultobj;
9993 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9994 int arg2 ;
9995 PyObject * obj0 = 0 ;
9996 PyObject * obj1 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self",(char *) "val", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10003 {
10004 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 (arg1)->SetValue(arg2);
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 Py_INCREF(Py_None); resultobj = Py_None;
10015 return resultobj;
10016 fail:
10017 return NULL;
10018 }
10019
10020
10021 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10024 int arg2 ;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj1 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self",(char *) "minVal", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 {
10034 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->SetMin(arg2);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10054 int arg2 ;
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj1 = 0 ;
10057 char *kwnames[] = {
10058 (char *) "self",(char *) "maxVal", NULL
10059 };
10060
10061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10063 {
10064 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 (arg1)->SetMax(arg2);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 Py_INCREF(Py_None); resultobj = Py_None;
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10084 int arg2 ;
10085 int arg3 ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 PyObject * obj2 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10095 {
10096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 {
10100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 (arg1)->SetRange(arg2,arg3);
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 Py_INCREF(Py_None); resultobj = Py_None;
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10120 bool result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10136 return resultobj;
10137 fail:
10138 return NULL;
10139 }
10140
10141
10142 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10143 PyObject *obj;
10144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10145 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10146 Py_INCREF(obj);
10147 return Py_BuildValue((char *)"");
10148 }
10149 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxWindow *arg1 = (wxWindow *) 0 ;
10152 int arg2 = (int) -1 ;
10153 wxString const &arg3_defvalue = wxPyEmptyString ;
10154 wxString *arg3 = (wxString *) &arg3_defvalue ;
10155 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10156 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10157 wxSize const &arg5_defvalue = wxDefaultSize ;
10158 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10159 long arg6 = (long) wxSP_ARROW_KEYS ;
10160 int arg7 = (int) 0 ;
10161 int arg8 = (int) 100 ;
10162 int arg9 = (int) 0 ;
10163 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10164 wxString *arg10 = (wxString *) &arg10_defvalue ;
10165 wxSpinCtrl *result;
10166 bool temp3 = False ;
10167 wxPoint temp4 ;
10168 wxSize temp5 ;
10169 bool temp10 = False ;
10170 PyObject * obj0 = 0 ;
10171 PyObject * obj1 = 0 ;
10172 PyObject * obj2 = 0 ;
10173 PyObject * obj3 = 0 ;
10174 PyObject * obj4 = 0 ;
10175 PyObject * obj5 = 0 ;
10176 PyObject * obj6 = 0 ;
10177 PyObject * obj7 = 0 ;
10178 PyObject * obj8 = 0 ;
10179 PyObject * obj9 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10186 if (obj1) {
10187 {
10188 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 }
10192 if (obj2) {
10193 {
10194 arg3 = wxString_in_helper(obj2);
10195 if (arg3 == NULL) SWIG_fail;
10196 temp3 = True;
10197 }
10198 }
10199 if (obj3) {
10200 {
10201 arg4 = &temp4;
10202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10203 }
10204 }
10205 if (obj4) {
10206 {
10207 arg5 = &temp5;
10208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10209 }
10210 }
10211 if (obj5) {
10212 {
10213 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 }
10217 if (obj6) {
10218 {
10219 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 }
10223 if (obj7) {
10224 {
10225 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 }
10229 if (obj8) {
10230 {
10231 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
10234 }
10235 if (obj9) {
10236 {
10237 arg10 = wxString_in_helper(obj9);
10238 if (arg10 == NULL) SWIG_fail;
10239 temp10 = True;
10240 }
10241 }
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10250 {
10251 if (temp3)
10252 delete arg3;
10253 }
10254 {
10255 if (temp10)
10256 delete arg10;
10257 }
10258 return resultobj;
10259 fail:
10260 {
10261 if (temp3)
10262 delete arg3;
10263 }
10264 {
10265 if (temp10)
10266 delete arg10;
10267 }
10268 return NULL;
10269 }
10270
10271
10272 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj;
10274 wxSpinCtrl *result;
10275 char *kwnames[] = {
10276 NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (wxSpinCtrl *)new wxSpinCtrl();
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10297 wxWindow *arg2 = (wxWindow *) 0 ;
10298 int arg3 = (int) -1 ;
10299 wxString const &arg4_defvalue = wxPyEmptyString ;
10300 wxString *arg4 = (wxString *) &arg4_defvalue ;
10301 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10302 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10303 wxSize const &arg6_defvalue = wxDefaultSize ;
10304 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10305 long arg7 = (long) wxSP_ARROW_KEYS ;
10306 int arg8 = (int) 0 ;
10307 int arg9 = (int) 100 ;
10308 int arg10 = (int) 0 ;
10309 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10310 wxString *arg11 = (wxString *) &arg11_defvalue ;
10311 bool result;
10312 bool temp4 = False ;
10313 wxPoint temp5 ;
10314 wxSize temp6 ;
10315 bool temp11 = False ;
10316 PyObject * obj0 = 0 ;
10317 PyObject * obj1 = 0 ;
10318 PyObject * obj2 = 0 ;
10319 PyObject * obj3 = 0 ;
10320 PyObject * obj4 = 0 ;
10321 PyObject * obj5 = 0 ;
10322 PyObject * obj6 = 0 ;
10323 PyObject * obj7 = 0 ;
10324 PyObject * obj8 = 0 ;
10325 PyObject * obj9 = 0 ;
10326 PyObject * obj10 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334 if (obj2) {
10335 {
10336 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 }
10340 if (obj3) {
10341 {
10342 arg4 = wxString_in_helper(obj3);
10343 if (arg4 == NULL) SWIG_fail;
10344 temp4 = True;
10345 }
10346 }
10347 if (obj4) {
10348 {
10349 arg5 = &temp5;
10350 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10351 }
10352 }
10353 if (obj5) {
10354 {
10355 arg6 = &temp6;
10356 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10357 }
10358 }
10359 if (obj6) {
10360 {
10361 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 }
10365 if (obj7) {
10366 {
10367 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 }
10371 if (obj8) {
10372 {
10373 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 }
10377 if (obj9) {
10378 {
10379 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 }
10383 if (obj10) {
10384 {
10385 arg11 = wxString_in_helper(obj10);
10386 if (arg11 == NULL) SWIG_fail;
10387 temp11 = True;
10388 }
10389 }
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10398 {
10399 if (temp4)
10400 delete arg4;
10401 }
10402 {
10403 if (temp11)
10404 delete arg11;
10405 }
10406 return resultobj;
10407 fail:
10408 {
10409 if (temp4)
10410 delete arg4;
10411 }
10412 {
10413 if (temp11)
10414 delete arg11;
10415 }
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10423 int result;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 resultobj = SWIG_PyObj_FromInt((int)result);
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10448 int arg2 ;
10449 PyObject * obj0 = 0 ;
10450 PyObject * obj1 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self",(char *) "value", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457 {
10458 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 (arg1)->SetValue(arg2);
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 Py_INCREF(Py_None); resultobj = Py_None;
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10478 wxString *arg2 = 0 ;
10479 bool temp2 = False ;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self",(char *) "text", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10488 {
10489 arg2 = wxString_in_helper(obj1);
10490 if (arg2 == NULL) SWIG_fail;
10491 temp2 = True;
10492 }
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->SetValue((wxString const &)*arg2);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 {
10502 if (temp2)
10503 delete arg2;
10504 }
10505 return resultobj;
10506 fail:
10507 {
10508 if (temp2)
10509 delete arg2;
10510 }
10511 return NULL;
10512 }
10513
10514
10515 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10518 int arg2 ;
10519 int arg3 ;
10520 PyObject * obj0 = 0 ;
10521 PyObject * obj1 = 0 ;
10522 PyObject * obj2 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 {
10530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 {
10534 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetRange(arg2,arg3);
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 Py_INCREF(Py_None); resultobj = Py_None;
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10554 int result;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = SWIG_PyObj_FromInt((int)result);
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj;
10578 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10579 int result;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 resultobj = SWIG_PyObj_FromInt((int)result);
10595 return resultobj;
10596 fail:
10597 return NULL;
10598 }
10599
10600
10601 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10602 PyObject *resultobj;
10603 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10604 long arg2 ;
10605 long arg3 ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "from",(char *) "to", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10615 {
10616 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 {
10620 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->SetSelection(arg2,arg3);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10638 PyObject *obj;
10639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10640 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10641 Py_INCREF(obj);
10642 return Py_BuildValue((char *)"");
10643 }
10644 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10647 int arg2 = (int) 0 ;
10648 wxSpinEvent *result;
10649 PyObject * obj0 = 0 ;
10650 PyObject * obj1 = 0 ;
10651 char *kwnames[] = {
10652 (char *) "commandType",(char *) "winid", NULL
10653 };
10654
10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10656 if (obj0) {
10657 {
10658 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 }
10662 if (obj1) {
10663 {
10664 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10676 return resultobj;
10677 fail:
10678 return NULL;
10679 }
10680
10681
10682 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj;
10684 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10685 int result;
10686 PyObject * obj0 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 resultobj = SWIG_PyObj_FromInt((int)result);
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj;
10709 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10710 int arg2 ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "self",(char *) "pos", NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10719 {
10720 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 (arg1)->SetPosition(arg2);
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 Py_INCREF(Py_None); resultobj = Py_None;
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10738 PyObject *obj;
10739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10741 Py_INCREF(obj);
10742 return Py_BuildValue((char *)"");
10743 }
10744 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10745 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10746 return 1;
10747 }
10748
10749
10750 static PyObject *_wrap_RadioBoxNameStr_get() {
10751 PyObject *pyobj;
10752
10753 {
10754 #if wxUSE_UNICODE
10755 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10756 #else
10757 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10758 #endif
10759 }
10760 return pyobj;
10761 }
10762
10763
10764 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10765 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10766 return 1;
10767 }
10768
10769
10770 static PyObject *_wrap_RadioButtonNameStr_get() {
10771 PyObject *pyobj;
10772
10773 {
10774 #if wxUSE_UNICODE
10775 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10776 #else
10777 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10778 #endif
10779 }
10780 return pyobj;
10781 }
10782
10783
10784 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxWindow *arg1 = (wxWindow *) 0 ;
10787 int arg2 ;
10788 wxString *arg3 = 0 ;
10789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10791 wxSize const &arg5_defvalue = wxDefaultSize ;
10792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10793 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10794 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10795 int arg7 = (int) 0 ;
10796 long arg8 = (long) wxRA_HORIZONTAL ;
10797 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10798 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10799 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10800 wxString *arg10 = (wxString *) &arg10_defvalue ;
10801 wxRadioBox *result;
10802 bool temp3 = False ;
10803 wxPoint temp4 ;
10804 wxSize temp5 ;
10805 bool temp6 = False ;
10806 bool temp10 = False ;
10807 PyObject * obj0 = 0 ;
10808 PyObject * obj1 = 0 ;
10809 PyObject * obj2 = 0 ;
10810 PyObject * obj3 = 0 ;
10811 PyObject * obj4 = 0 ;
10812 PyObject * obj5 = 0 ;
10813 PyObject * obj6 = 0 ;
10814 PyObject * obj7 = 0 ;
10815 PyObject * obj8 = 0 ;
10816 PyObject * obj9 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10823 {
10824 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 {
10828 arg3 = wxString_in_helper(obj2);
10829 if (arg3 == NULL) SWIG_fail;
10830 temp3 = True;
10831 }
10832 if (obj3) {
10833 {
10834 arg4 = &temp4;
10835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10836 }
10837 }
10838 if (obj4) {
10839 {
10840 arg5 = &temp5;
10841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10842 }
10843 }
10844 if (obj5) {
10845 {
10846 if (! PySequence_Check(obj5)) {
10847 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10848 SWIG_fail;
10849 }
10850 arg6 = new wxArrayString;
10851 temp6 = True;
10852 int i, len=PySequence_Length(obj5);
10853 for (i=0; i<len; i++) {
10854 PyObject* item = PySequence_GetItem(obj5, i);
10855 #if wxUSE_UNICODE
10856 PyObject* str = PyObject_Unicode(item);
10857 #else
10858 PyObject* str = PyObject_Str(item);
10859 #endif
10860 arg6->Add(Py2wxString(str));
10861 Py_DECREF(item);
10862 Py_DECREF(str);
10863 }
10864 }
10865 }
10866 if (obj6) {
10867 {
10868 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 }
10872 if (obj7) {
10873 {
10874 arg8 = (long) SWIG_PyObj_AsLong(obj7);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 }
10878 if (obj8) {
10879 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10880 if (arg9 == NULL) {
10881 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10882 }
10883 }
10884 if (obj9) {
10885 {
10886 arg10 = wxString_in_helper(obj9);
10887 if (arg10 == NULL) SWIG_fail;
10888 temp10 = True;
10889 }
10890 }
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 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);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10899 {
10900 if (temp3)
10901 delete arg3;
10902 }
10903 {
10904 if (temp6) delete arg6;
10905 }
10906 {
10907 if (temp10)
10908 delete arg10;
10909 }
10910 return resultobj;
10911 fail:
10912 {
10913 if (temp3)
10914 delete arg3;
10915 }
10916 {
10917 if (temp6) delete arg6;
10918 }
10919 {
10920 if (temp10)
10921 delete arg10;
10922 }
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxRadioBox *result;
10930 char *kwnames[] = {
10931 NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (wxRadioBox *)new wxRadioBox();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10952 wxWindow *arg2 = (wxWindow *) 0 ;
10953 int arg3 ;
10954 wxString *arg4 = 0 ;
10955 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10956 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10957 wxSize const &arg6_defvalue = wxDefaultSize ;
10958 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10959 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
10960 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
10961 int arg8 = (int) 0 ;
10962 long arg9 = (long) wxRA_HORIZONTAL ;
10963 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10964 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10965 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10966 wxString *arg11 = (wxString *) &arg11_defvalue ;
10967 bool result;
10968 bool temp4 = False ;
10969 wxPoint temp5 ;
10970 wxSize temp6 ;
10971 bool temp7 = False ;
10972 bool temp11 = False ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 PyObject * obj2 = 0 ;
10976 PyObject * obj3 = 0 ;
10977 PyObject * obj4 = 0 ;
10978 PyObject * obj5 = 0 ;
10979 PyObject * obj6 = 0 ;
10980 PyObject * obj7 = 0 ;
10981 PyObject * obj8 = 0 ;
10982 PyObject * obj9 = 0 ;
10983 PyObject * obj10 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10991 {
10992 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 {
10996 arg4 = wxString_in_helper(obj3);
10997 if (arg4 == NULL) SWIG_fail;
10998 temp4 = True;
10999 }
11000 if (obj4) {
11001 {
11002 arg5 = &temp5;
11003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11004 }
11005 }
11006 if (obj5) {
11007 {
11008 arg6 = &temp6;
11009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11010 }
11011 }
11012 if (obj6) {
11013 {
11014 if (! PySequence_Check(obj6)) {
11015 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11016 SWIG_fail;
11017 }
11018 arg7 = new wxArrayString;
11019 temp7 = True;
11020 int i, len=PySequence_Length(obj6);
11021 for (i=0; i<len; i++) {
11022 PyObject* item = PySequence_GetItem(obj6, i);
11023 #if wxUSE_UNICODE
11024 PyObject* str = PyObject_Unicode(item);
11025 #else
11026 PyObject* str = PyObject_Str(item);
11027 #endif
11028 arg7->Add(Py2wxString(str));
11029 Py_DECREF(item);
11030 Py_DECREF(str);
11031 }
11032 }
11033 }
11034 if (obj7) {
11035 {
11036 arg8 = (int) SWIG_PyObj_AsInt(obj7);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 }
11040 if (obj8) {
11041 {
11042 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11043 if (PyErr_Occurred()) SWIG_fail;
11044 }
11045 }
11046 if (obj9) {
11047 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 if (arg10 == NULL) {
11049 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11050 }
11051 }
11052 if (obj10) {
11053 {
11054 arg11 = wxString_in_helper(obj10);
11055 if (arg11 == NULL) SWIG_fail;
11056 temp11 = True;
11057 }
11058 }
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 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);
11062
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11067 {
11068 if (temp4)
11069 delete arg4;
11070 }
11071 {
11072 if (temp7) delete arg7;
11073 }
11074 {
11075 if (temp11)
11076 delete arg11;
11077 }
11078 return resultobj;
11079 fail:
11080 {
11081 if (temp4)
11082 delete arg4;
11083 }
11084 {
11085 if (temp7) delete arg7;
11086 }
11087 {
11088 if (temp11)
11089 delete arg11;
11090 }
11091 return NULL;
11092 }
11093
11094
11095 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11096 PyObject *resultobj;
11097 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11098 int arg2 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self",(char *) "n", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 {
11108 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 (arg1)->SetSelection(arg2);
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 Py_INCREF(Py_None); resultobj = Py_None;
11119 return resultobj;
11120 fail:
11121 return NULL;
11122 }
11123
11124
11125 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj;
11127 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11128 int result;
11129 PyObject * obj0 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 resultobj = SWIG_PyObj_FromInt((int)result);
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11153 wxString result;
11154 PyObject * obj0 = 0 ;
11155 char *kwnames[] = {
11156 (char *) "self", NULL
11157 };
11158
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 {
11169 #if wxUSE_UNICODE
11170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11171 #else
11172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11173 #endif
11174 }
11175 return resultobj;
11176 fail:
11177 return NULL;
11178 }
11179
11180
11181 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11184 wxString *arg2 = 0 ;
11185 bool result;
11186 bool temp2 = False ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self",(char *) "s", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11195 {
11196 arg2 = wxString_in_helper(obj1);
11197 if (arg2 == NULL) SWIG_fail;
11198 temp2 = True;
11199 }
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11208 {
11209 if (temp2)
11210 delete arg2;
11211 }
11212 return resultobj;
11213 fail:
11214 {
11215 if (temp2)
11216 delete arg2;
11217 }
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11225 int result;
11226 PyObject * obj0 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (int)((wxRadioBox const *)arg1)->GetCount();
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 resultobj = SWIG_PyObj_FromInt((int)result);
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11250 wxString *arg2 = 0 ;
11251 int result;
11252 bool temp2 = False ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self",(char *) "s", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11261 {
11262 arg2 = wxString_in_helper(obj1);
11263 if (arg2 == NULL) SWIG_fail;
11264 temp2 = True;
11265 }
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_PyObj_FromInt((int)result);
11274 {
11275 if (temp2)
11276 delete arg2;
11277 }
11278 return resultobj;
11279 fail:
11280 {
11281 if (temp2)
11282 delete arg2;
11283 }
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11291 int arg2 ;
11292 wxString result;
11293 PyObject * obj0 = 0 ;
11294 PyObject * obj1 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self",(char *) "n", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301 {
11302 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11308
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 {
11313 #if wxUSE_UNICODE
11314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11315 #else
11316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11317 #endif
11318 }
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11328 int arg2 ;
11329 wxString *arg3 = 0 ;
11330 bool temp3 = False ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 PyObject * obj2 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self",(char *) "n",(char *) "label", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11340 {
11341 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 {
11345 arg3 = wxString_in_helper(obj2);
11346 if (arg3 == NULL) SWIG_fail;
11347 temp3 = True;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->SetString(arg2,(wxString const &)*arg3);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 {
11358 if (temp3)
11359 delete arg3;
11360 }
11361 return resultobj;
11362 fail:
11363 {
11364 if (temp3)
11365 delete arg3;
11366 }
11367 return NULL;
11368 }
11369
11370
11371 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11372 PyObject *resultobj;
11373 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11374 int arg2 ;
11375 bool arg3 = (bool) True ;
11376 PyObject * obj0 = 0 ;
11377 PyObject * obj1 = 0 ;
11378 PyObject * obj2 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self",(char *) "n",(char *) "enable", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 {
11386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 if (obj2) {
11390 {
11391 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 }
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 (arg1)->Enable(arg2,arg3);
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 Py_INCREF(Py_None); resultobj = Py_None;
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11412 int arg2 ;
11413 bool arg3 = (bool) True ;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 PyObject * obj2 = 0 ;
11417 char *kwnames[] = {
11418 (char *) "self",(char *) "n",(char *) "show", NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11423 {
11424 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 if (obj2) {
11428 {
11429 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 }
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 (arg1)->Show(arg2,arg3);
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 Py_INCREF(Py_None); resultobj = Py_None;
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject *resultobj;
11449 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11450 int result;
11451 PyObject * obj0 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 resultobj = SWIG_PyObj_FromInt((int)result);
11466 return resultobj;
11467 fail:
11468 return NULL;
11469 }
11470
11471
11472 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj;
11474 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11475 int result;
11476 PyObject * obj0 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_PyObj_FromInt((int)result);
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11500 int arg2 ;
11501 int arg3 ;
11502 long arg4 ;
11503 int result;
11504 PyObject * obj0 = 0 ;
11505 PyObject * obj1 = 0 ;
11506 PyObject * obj2 = 0 ;
11507 PyObject * obj3 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11514 {
11515 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 {
11519 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = SWIG_PyObj_FromInt((int)result);
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11541 PyObject *obj;
11542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11544 Py_INCREF(obj);
11545 return Py_BuildValue((char *)"");
11546 }
11547 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxWindow *arg1 = (wxWindow *) 0 ;
11550 int arg2 ;
11551 wxString *arg3 = 0 ;
11552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11554 wxSize const &arg5_defvalue = wxDefaultSize ;
11555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11556 long arg6 = (long) 0 ;
11557 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11558 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11559 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11560 wxString *arg8 = (wxString *) &arg8_defvalue ;
11561 wxRadioButton *result;
11562 bool temp3 = False ;
11563 wxPoint temp4 ;
11564 wxSize temp5 ;
11565 bool temp8 = False ;
11566 PyObject * obj0 = 0 ;
11567 PyObject * obj1 = 0 ;
11568 PyObject * obj2 = 0 ;
11569 PyObject * obj3 = 0 ;
11570 PyObject * obj4 = 0 ;
11571 PyObject * obj5 = 0 ;
11572 PyObject * obj6 = 0 ;
11573 PyObject * obj7 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11580 {
11581 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 {
11585 arg3 = wxString_in_helper(obj2);
11586 if (arg3 == NULL) SWIG_fail;
11587 temp3 = True;
11588 }
11589 if (obj3) {
11590 {
11591 arg4 = &temp4;
11592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11593 }
11594 }
11595 if (obj4) {
11596 {
11597 arg5 = &temp5;
11598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11599 }
11600 }
11601 if (obj5) {
11602 {
11603 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 }
11607 if (obj6) {
11608 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11609 if (arg7 == NULL) {
11610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11611 }
11612 }
11613 if (obj7) {
11614 {
11615 arg8 = wxString_in_helper(obj7);
11616 if (arg8 == NULL) SWIG_fail;
11617 temp8 = True;
11618 }
11619 }
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11628 {
11629 if (temp3)
11630 delete arg3;
11631 }
11632 {
11633 if (temp8)
11634 delete arg8;
11635 }
11636 return resultobj;
11637 fail:
11638 {
11639 if (temp3)
11640 delete arg3;
11641 }
11642 {
11643 if (temp8)
11644 delete arg8;
11645 }
11646 return NULL;
11647 }
11648
11649
11650 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj;
11652 wxRadioButton *result;
11653 char *kwnames[] = {
11654 NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 result = (wxRadioButton *)new wxRadioButton();
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11666 return resultobj;
11667 fail:
11668 return NULL;
11669 }
11670
11671
11672 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11675 wxWindow *arg2 = (wxWindow *) 0 ;
11676 int arg3 ;
11677 wxString *arg4 = 0 ;
11678 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11679 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11680 wxSize const &arg6_defvalue = wxDefaultSize ;
11681 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11682 long arg7 = (long) 0 ;
11683 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11684 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11685 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11686 wxString *arg9 = (wxString *) &arg9_defvalue ;
11687 bool result;
11688 bool temp4 = False ;
11689 wxPoint temp5 ;
11690 wxSize temp6 ;
11691 bool temp9 = False ;
11692 PyObject * obj0 = 0 ;
11693 PyObject * obj1 = 0 ;
11694 PyObject * obj2 = 0 ;
11695 PyObject * obj3 = 0 ;
11696 PyObject * obj4 = 0 ;
11697 PyObject * obj5 = 0 ;
11698 PyObject * obj6 = 0 ;
11699 PyObject * obj7 = 0 ;
11700 PyObject * obj8 = 0 ;
11701 char *kwnames[] = {
11702 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11703 };
11704
11705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11708 {
11709 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 {
11713 arg4 = wxString_in_helper(obj3);
11714 if (arg4 == NULL) SWIG_fail;
11715 temp4 = True;
11716 }
11717 if (obj4) {
11718 {
11719 arg5 = &temp5;
11720 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11721 }
11722 }
11723 if (obj5) {
11724 {
11725 arg6 = &temp6;
11726 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11727 }
11728 }
11729 if (obj6) {
11730 {
11731 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 }
11735 if (obj7) {
11736 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11737 if (arg8 == NULL) {
11738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11739 }
11740 }
11741 if (obj8) {
11742 {
11743 arg9 = wxString_in_helper(obj8);
11744 if (arg9 == NULL) SWIG_fail;
11745 temp9 = True;
11746 }
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11756 {
11757 if (temp4)
11758 delete arg4;
11759 }
11760 {
11761 if (temp9)
11762 delete arg9;
11763 }
11764 return resultobj;
11765 fail:
11766 {
11767 if (temp4)
11768 delete arg4;
11769 }
11770 {
11771 if (temp9)
11772 delete arg9;
11773 }
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11781 bool result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (bool)(arg1)->GetValue();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11797 return resultobj;
11798 fail:
11799 return NULL;
11800 }
11801
11802
11803 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11806 bool arg2 ;
11807 PyObject * obj0 = 0 ;
11808 PyObject * obj1 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "value", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11815 {
11816 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 (arg1)->SetValue(arg2);
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 Py_INCREF(Py_None); resultobj = Py_None;
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11834 PyObject *obj;
11835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11836 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11837 Py_INCREF(obj);
11838 return Py_BuildValue((char *)"");
11839 }
11840 static int _wrap_SliderNameStr_set(PyObject *_val) {
11841 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11842 return 1;
11843 }
11844
11845
11846 static PyObject *_wrap_SliderNameStr_get() {
11847 PyObject *pyobj;
11848
11849 {
11850 #if wxUSE_UNICODE
11851 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11852 #else
11853 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11854 #endif
11855 }
11856 return pyobj;
11857 }
11858
11859
11860 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxWindow *arg1 = (wxWindow *) 0 ;
11863 int arg2 ;
11864 int arg3 ;
11865 int arg4 ;
11866 int arg5 ;
11867 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11868 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11869 wxSize const &arg7_defvalue = wxDefaultSize ;
11870 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11871 long arg8 = (long) wxSL_HORIZONTAL ;
11872 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11873 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11874 wxString const &arg10_defvalue = wxPySliderNameStr ;
11875 wxString *arg10 = (wxString *) &arg10_defvalue ;
11876 wxSlider *result;
11877 wxPoint temp6 ;
11878 wxSize temp7 ;
11879 bool temp10 = False ;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 PyObject * obj2 = 0 ;
11883 PyObject * obj3 = 0 ;
11884 PyObject * obj4 = 0 ;
11885 PyObject * obj5 = 0 ;
11886 PyObject * obj6 = 0 ;
11887 PyObject * obj7 = 0 ;
11888 PyObject * obj8 = 0 ;
11889 PyObject * obj9 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 {
11897 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 {
11901 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 {
11905 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 {
11909 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 if (obj5) {
11913 {
11914 arg6 = &temp6;
11915 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11916 }
11917 }
11918 if (obj6) {
11919 {
11920 arg7 = &temp7;
11921 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11922 }
11923 }
11924 if (obj7) {
11925 {
11926 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 }
11930 if (obj8) {
11931 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11932 if (arg9 == NULL) {
11933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11934 }
11935 }
11936 if (obj9) {
11937 {
11938 arg10 = wxString_in_helper(obj9);
11939 if (arg10 == NULL) SWIG_fail;
11940 temp10 = True;
11941 }
11942 }
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11951 {
11952 if (temp10)
11953 delete arg10;
11954 }
11955 return resultobj;
11956 fail:
11957 {
11958 if (temp10)
11959 delete arg10;
11960 }
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxSlider *result;
11968 char *kwnames[] = {
11969 NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (wxSlider *)new wxSlider();
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj;
11989 wxSlider *arg1 = (wxSlider *) 0 ;
11990 wxWindow *arg2 = (wxWindow *) 0 ;
11991 int arg3 ;
11992 int arg4 ;
11993 int arg5 ;
11994 int arg6 ;
11995 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11996 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11997 wxSize const &arg8_defvalue = wxDefaultSize ;
11998 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11999 long arg9 = (long) wxSL_HORIZONTAL ;
12000 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12001 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12002 wxString const &arg11_defvalue = wxPySliderNameStr ;
12003 wxString *arg11 = (wxString *) &arg11_defvalue ;
12004 bool result;
12005 wxPoint temp7 ;
12006 wxSize temp8 ;
12007 bool temp11 = False ;
12008 PyObject * obj0 = 0 ;
12009 PyObject * obj1 = 0 ;
12010 PyObject * obj2 = 0 ;
12011 PyObject * obj3 = 0 ;
12012 PyObject * obj4 = 0 ;
12013 PyObject * obj5 = 0 ;
12014 PyObject * obj6 = 0 ;
12015 PyObject * obj7 = 0 ;
12016 PyObject * obj8 = 0 ;
12017 PyObject * obj9 = 0 ;
12018 PyObject * obj10 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12026 {
12027 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 {
12031 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 {
12035 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 {
12039 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 if (obj6) {
12043 {
12044 arg7 = &temp7;
12045 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12046 }
12047 }
12048 if (obj7) {
12049 {
12050 arg8 = &temp8;
12051 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12052 }
12053 }
12054 if (obj8) {
12055 {
12056 arg9 = (long) SWIG_PyObj_AsLong(obj8);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 }
12060 if (obj9) {
12061 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12062 if (arg10 == NULL) {
12063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12064 }
12065 }
12066 if (obj10) {
12067 {
12068 arg11 = wxString_in_helper(obj10);
12069 if (arg11 == NULL) SWIG_fail;
12070 temp11 = True;
12071 }
12072 }
12073 {
12074 PyThreadState* __tstate = wxPyBeginAllowThreads();
12075 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12081 {
12082 if (temp11)
12083 delete arg11;
12084 }
12085 return resultobj;
12086 fail:
12087 {
12088 if (temp11)
12089 delete arg11;
12090 }
12091 return NULL;
12092 }
12093
12094
12095 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxSlider *arg1 = (wxSlider *) 0 ;
12098 int result;
12099 PyObject * obj0 = 0 ;
12100 char *kwnames[] = {
12101 (char *) "self", NULL
12102 };
12103
12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = (int)((wxSlider const *)arg1)->GetValue();
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 resultobj = SWIG_PyObj_FromInt((int)result);
12114 return resultobj;
12115 fail:
12116 return NULL;
12117 }
12118
12119
12120 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12121 PyObject *resultobj;
12122 wxSlider *arg1 = (wxSlider *) 0 ;
12123 int arg2 ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self",(char *) "value", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12132 {
12133 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 (arg1)->SetValue(arg2);
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 Py_INCREF(Py_None); resultobj = Py_None;
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxSlider *arg1 = (wxSlider *) 0 ;
12153 int arg2 ;
12154 int arg3 ;
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj1 = 0 ;
12157 PyObject * obj2 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12164 {
12165 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 (arg1)->SetRange(arg2,arg3);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 Py_INCREF(Py_None); resultobj = Py_None;
12180 return resultobj;
12181 fail:
12182 return NULL;
12183 }
12184
12185
12186 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12187 PyObject *resultobj;
12188 wxSlider *arg1 = (wxSlider *) 0 ;
12189 int result;
12190 PyObject * obj0 = 0 ;
12191 char *kwnames[] = {
12192 (char *) "self", NULL
12193 };
12194
12195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 result = (int)((wxSlider const *)arg1)->GetMin();
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 resultobj = SWIG_PyObj_FromInt((int)result);
12205 return resultobj;
12206 fail:
12207 return NULL;
12208 }
12209
12210
12211 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12212 PyObject *resultobj;
12213 wxSlider *arg1 = (wxSlider *) 0 ;
12214 int result;
12215 PyObject * obj0 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (int)((wxSlider const *)arg1)->GetMax();
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_PyObj_FromInt((int)result);
12230 return resultobj;
12231 fail:
12232 return NULL;
12233 }
12234
12235
12236 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj;
12238 wxSlider *arg1 = (wxSlider *) 0 ;
12239 int arg2 ;
12240 PyObject * obj0 = 0 ;
12241 PyObject * obj1 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self",(char *) "minValue", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12248 {
12249 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 (arg1)->SetMin(arg2);
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 Py_INCREF(Py_None); resultobj = Py_None;
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxSlider *arg1 = (wxSlider *) 0 ;
12269 int arg2 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self",(char *) "maxValue", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12278 {
12279 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 (arg1)->SetMax(arg2);
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 Py_INCREF(Py_None); resultobj = Py_None;
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12297 PyObject *resultobj;
12298 wxSlider *arg1 = (wxSlider *) 0 ;
12299 int arg2 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self",(char *) "lineSize", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 {
12309 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 (arg1)->SetLineSize(arg2);
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 Py_INCREF(Py_None); resultobj = Py_None;
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxSlider *arg1 = (wxSlider *) 0 ;
12329 int arg2 ;
12330 PyObject * obj0 = 0 ;
12331 PyObject * obj1 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "self",(char *) "pageSize", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12338 {
12339 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 (arg1)->SetPageSize(arg2);
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 Py_INCREF(Py_None); resultobj = Py_None;
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxSlider *arg1 = (wxSlider *) 0 ;
12359 int result;
12360 PyObject * obj0 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (int)((wxSlider const *)arg1)->GetLineSize();
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 resultobj = SWIG_PyObj_FromInt((int)result);
12375 return resultobj;
12376 fail:
12377 return NULL;
12378 }
12379
12380
12381 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxSlider *arg1 = (wxSlider *) 0 ;
12384 int result;
12385 PyObject * obj0 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 result = (int)((wxSlider const *)arg1)->GetPageSize();
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = SWIG_PyObj_FromInt((int)result);
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxSlider *arg1 = (wxSlider *) 0 ;
12409 int arg2 ;
12410 PyObject * obj0 = 0 ;
12411 PyObject * obj1 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self",(char *) "lenPixels", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12418 {
12419 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->SetThumbLength(arg2);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 Py_INCREF(Py_None); resultobj = Py_None;
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxSlider *arg1 = (wxSlider *) 0 ;
12439 int result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = SWIG_PyObj_FromInt((int)result);
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxSlider *arg1 = (wxSlider *) 0 ;
12464 int arg2 ;
12465 int arg3 = (int) 1 ;
12466 PyObject * obj0 = 0 ;
12467 PyObject * obj1 = 0 ;
12468 PyObject * obj2 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self",(char *) "n",(char *) "pos", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12475 {
12476 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 if (obj2) {
12480 {
12481 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 }
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 (arg1)->SetTickFreq(arg2,arg3);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 Py_INCREF(Py_None); resultobj = Py_None;
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxSlider *arg1 = (wxSlider *) 0 ;
12502 int result;
12503 PyObject * obj0 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 resultobj = SWIG_PyObj_FromInt((int)result);
12518 return resultobj;
12519 fail:
12520 return NULL;
12521 }
12522
12523
12524 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12525 PyObject *resultobj;
12526 wxSlider *arg1 = (wxSlider *) 0 ;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 (arg1)->ClearTicks();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 Py_INCREF(Py_None); resultobj = Py_None;
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxSlider *arg1 = (wxSlider *) 0 ;
12551 int arg2 ;
12552 PyObject * obj0 = 0 ;
12553 PyObject * obj1 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self",(char *) "tickPos", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12560 {
12561 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 (arg1)->SetTick(arg2);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 Py_INCREF(Py_None); resultobj = Py_None;
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxSlider *arg1 = (wxSlider *) 0 ;
12581 PyObject * obj0 = 0 ;
12582 char *kwnames[] = {
12583 (char *) "self", NULL
12584 };
12585
12586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
12590 (arg1)->ClearSel();
12591
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 Py_INCREF(Py_None); resultobj = Py_None;
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxSlider *arg1 = (wxSlider *) 0 ;
12605 int result;
12606 PyObject * obj0 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 resultobj = SWIG_PyObj_FromInt((int)result);
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxSlider *arg1 = (wxSlider *) 0 ;
12630 int result;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (int)((wxSlider const *)arg1)->GetSelStart();
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 resultobj = SWIG_PyObj_FromInt((int)result);
12646 return resultobj;
12647 fail:
12648 return NULL;
12649 }
12650
12651
12652 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 wxSlider *arg1 = (wxSlider *) 0 ;
12655 int arg2 ;
12656 int arg3 ;
12657 PyObject * obj0 = 0 ;
12658 PyObject * obj1 = 0 ;
12659 PyObject * obj2 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self",(char *) "min",(char *) "max", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12666 {
12667 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 {
12671 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 (arg1)->SetSelection(arg2,arg3);
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 Py_INCREF(Py_None); resultobj = Py_None;
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12689 PyObject *obj;
12690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12691 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12692 Py_INCREF(obj);
12693 return Py_BuildValue((char *)"");
12694 }
12695 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12696 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12697 return 1;
12698 }
12699
12700
12701 static PyObject *_wrap_ToggleButtonNameStr_get() {
12702 PyObject *pyobj;
12703
12704 {
12705 #if wxUSE_UNICODE
12706 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12707 #else
12708 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12709 #endif
12710 }
12711 return pyobj;
12712 }
12713
12714
12715 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12716 PyObject *resultobj;
12717 wxWindow *arg1 = (wxWindow *) 0 ;
12718 int arg2 ;
12719 wxString *arg3 = 0 ;
12720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12722 wxSize const &arg5_defvalue = wxDefaultSize ;
12723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12724 long arg6 = (long) 0 ;
12725 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12726 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12727 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12728 wxString *arg8 = (wxString *) &arg8_defvalue ;
12729 wxToggleButton *result;
12730 bool temp3 = False ;
12731 wxPoint temp4 ;
12732 wxSize temp5 ;
12733 bool temp8 = False ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 PyObject * obj2 = 0 ;
12737 PyObject * obj3 = 0 ;
12738 PyObject * obj4 = 0 ;
12739 PyObject * obj5 = 0 ;
12740 PyObject * obj6 = 0 ;
12741 PyObject * obj7 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12748 {
12749 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 {
12753 arg3 = wxString_in_helper(obj2);
12754 if (arg3 == NULL) SWIG_fail;
12755 temp3 = True;
12756 }
12757 if (obj3) {
12758 {
12759 arg4 = &temp4;
12760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12761 }
12762 }
12763 if (obj4) {
12764 {
12765 arg5 = &temp5;
12766 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12767 }
12768 }
12769 if (obj5) {
12770 {
12771 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 }
12775 if (obj6) {
12776 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12777 if (arg7 == NULL) {
12778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12779 }
12780 }
12781 if (obj7) {
12782 {
12783 arg8 = wxString_in_helper(obj7);
12784 if (arg8 == NULL) SWIG_fail;
12785 temp8 = True;
12786 }
12787 }
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12796 {
12797 if (temp3)
12798 delete arg3;
12799 }
12800 {
12801 if (temp8)
12802 delete arg8;
12803 }
12804 return resultobj;
12805 fail:
12806 {
12807 if (temp3)
12808 delete arg3;
12809 }
12810 {
12811 if (temp8)
12812 delete arg8;
12813 }
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxToggleButton *result;
12821 char *kwnames[] = {
12822 NULL
12823 };
12824
12825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (wxToggleButton *)new wxToggleButton();
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12834 return resultobj;
12835 fail:
12836 return NULL;
12837 }
12838
12839
12840 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12843 wxWindow *arg2 = (wxWindow *) 0 ;
12844 int arg3 ;
12845 wxString *arg4 = 0 ;
12846 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12847 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12848 wxSize const &arg6_defvalue = wxDefaultSize ;
12849 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12850 long arg7 = (long) 0 ;
12851 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12852 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12853 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12854 wxString *arg9 = (wxString *) &arg9_defvalue ;
12855 bool result;
12856 bool temp4 = False ;
12857 wxPoint temp5 ;
12858 wxSize temp6 ;
12859 bool temp9 = False ;
12860 PyObject * obj0 = 0 ;
12861 PyObject * obj1 = 0 ;
12862 PyObject * obj2 = 0 ;
12863 PyObject * obj3 = 0 ;
12864 PyObject * obj4 = 0 ;
12865 PyObject * obj5 = 0 ;
12866 PyObject * obj6 = 0 ;
12867 PyObject * obj7 = 0 ;
12868 PyObject * obj8 = 0 ;
12869 char *kwnames[] = {
12870 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12871 };
12872
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12876 {
12877 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 {
12881 arg4 = wxString_in_helper(obj3);
12882 if (arg4 == NULL) SWIG_fail;
12883 temp4 = True;
12884 }
12885 if (obj4) {
12886 {
12887 arg5 = &temp5;
12888 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12889 }
12890 }
12891 if (obj5) {
12892 {
12893 arg6 = &temp6;
12894 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12895 }
12896 }
12897 if (obj6) {
12898 {
12899 arg7 = (long) SWIG_PyObj_AsLong(obj6);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 }
12903 if (obj7) {
12904 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12905 if (arg8 == NULL) {
12906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12907 }
12908 }
12909 if (obj8) {
12910 {
12911 arg9 = wxString_in_helper(obj8);
12912 if (arg9 == NULL) SWIG_fail;
12913 temp9 = True;
12914 }
12915 }
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12924 {
12925 if (temp4)
12926 delete arg4;
12927 }
12928 {
12929 if (temp9)
12930 delete arg9;
12931 }
12932 return resultobj;
12933 fail:
12934 {
12935 if (temp4)
12936 delete arg4;
12937 }
12938 {
12939 if (temp9)
12940 delete arg9;
12941 }
12942 return NULL;
12943 }
12944
12945
12946 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12947 PyObject *resultobj;
12948 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12949 bool arg2 ;
12950 PyObject * obj0 = 0 ;
12951 PyObject * obj1 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self",(char *) "value", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 {
12959 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 (arg1)->SetValue(arg2);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 Py_INCREF(Py_None); resultobj = Py_None;
12970 return resultobj;
12971 fail:
12972 return NULL;
12973 }
12974
12975
12976 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj;
12978 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12979 bool result;
12980 PyObject * obj0 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
12986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 result = (bool)((wxToggleButton const *)arg1)->GetValue();
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12995 return resultobj;
12996 fail:
12997 return NULL;
12998 }
12999
13000
13001 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13004 wxString *arg2 = 0 ;
13005 bool temp2 = False ;
13006 PyObject * obj0 = 0 ;
13007 PyObject * obj1 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "self",(char *) "label", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13014 {
13015 arg2 = wxString_in_helper(obj1);
13016 if (arg2 == NULL) SWIG_fail;
13017 temp2 = True;
13018 }
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 (arg1)->SetLabel((wxString const &)*arg2);
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 Py_INCREF(Py_None); resultobj = Py_None;
13027 {
13028 if (temp2)
13029 delete arg2;
13030 }
13031 return resultobj;
13032 fail:
13033 {
13034 if (temp2)
13035 delete arg2;
13036 }
13037 return NULL;
13038 }
13039
13040
13041 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13042 PyObject *obj;
13043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13045 Py_INCREF(obj);
13046 return Py_BuildValue((char *)"");
13047 }
13048 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13049 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13050 return 1;
13051 }
13052
13053
13054 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13055 PyObject *pyobj;
13056
13057 {
13058 #if wxUSE_UNICODE
13059 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13060 #else
13061 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13062 #endif
13063 }
13064 return pyobj;
13065 }
13066
13067
13068 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj;
13070 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13071 size_t result;
13072 PyObject * obj0 = 0 ;
13073 char *kwnames[] = {
13074 (char *) "self", NULL
13075 };
13076
13077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13082
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
13087 return resultobj;
13088 fail:
13089 return NULL;
13090 }
13091
13092
13093 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj;
13095 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13096 size_t arg2 ;
13097 wxWindow *result;
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
13100 char *kwnames[] = {
13101 (char *) "self",(char *) "n", NULL
13102 };
13103
13104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13106 {
13107 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (wxWindow *)(arg1)->GetPage(arg2);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 {
13118 resultobj = wxPyMake_wxObject(result);
13119 }
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = SWIG_PyObj_FromInt((int)result);
13145 return resultobj;
13146 fail:
13147 return NULL;
13148 }
13149
13150
13151 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13154 size_t arg2 ;
13155 wxString *arg3 = 0 ;
13156 bool result;
13157 bool temp3 = False ;
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
13160 PyObject * obj2 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self",(char *) "n",(char *) "strText", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13167 {
13168 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 {
13172 arg3 = wxString_in_helper(obj2);
13173 if (arg3 == NULL) SWIG_fail;
13174 temp3 = True;
13175 }
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13184 {
13185 if (temp3)
13186 delete arg3;
13187 }
13188 return resultobj;
13189 fail:
13190 {
13191 if (temp3)
13192 delete arg3;
13193 }
13194 return NULL;
13195 }
13196
13197
13198 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13201 size_t arg2 ;
13202 wxString result;
13203 PyObject * obj0 = 0 ;
13204 PyObject * obj1 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self",(char *) "n", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13211 {
13212 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 {
13223 #if wxUSE_UNICODE
13224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13225 #else
13226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13227 #endif
13228 }
13229 return resultobj;
13230 fail:
13231 return NULL;
13232 }
13233
13234
13235 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj;
13237 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13238 wxImageList *arg2 = (wxImageList *) 0 ;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 char *kwnames[] = {
13242 (char *) "self",(char *) "imageList", NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 (arg1)->SetImageList(arg2);
13251
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 Py_INCREF(Py_None); resultobj = Py_None;
13256 return resultobj;
13257 fail:
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13265 wxImageList *arg2 = (wxImageList *) 0 ;
13266 PyObject * obj0 = 0 ;
13267 PyObject * obj1 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "imageList", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 (arg1)->AssignImageList(arg2);
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13292 wxImageList *result;
13293 PyObject * obj0 = 0 ;
13294 char *kwnames[] = {
13295 (char *) "self", NULL
13296 };
13297
13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 {
13308 resultobj = wxPyMake_wxObject(result);
13309 }
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj;
13318 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13319 size_t arg2 ;
13320 int result;
13321 PyObject * obj0 = 0 ;
13322 PyObject * obj1 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "n", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13329 {
13330 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 resultobj = SWIG_PyObj_FromInt((int)result);
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13350 size_t arg2 ;
13351 int arg3 ;
13352 bool result;
13353 PyObject * obj0 = 0 ;
13354 PyObject * obj1 = 0 ;
13355 PyObject * obj2 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "self",(char *) "n",(char *) "imageId", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13362 {
13363 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 {
13367 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13378 return resultobj;
13379 fail:
13380 return NULL;
13381 }
13382
13383
13384 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13387 wxSize *arg2 = 0 ;
13388 wxSize temp2 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "size", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 {
13398 arg2 = &temp2;
13399 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13400 }
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 (arg1)->SetPageSize((wxSize const &)*arg2);
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 return resultobj;
13410 fail:
13411 return NULL;
13412 }
13413
13414
13415 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj;
13417 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13418 wxSize *arg2 = 0 ;
13419 wxSize result;
13420 wxSize temp2 ;
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj1 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self",(char *) "sizePage", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13429 {
13430 arg2 = &temp2;
13431 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13432 }
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 {
13441 wxSize * resultptr;
13442 resultptr = new wxSize((wxSize &) result);
13443 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13444 }
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13454 size_t arg2 ;
13455 bool result;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "n", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13464 {
13465 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (bool)(arg1)->DeletePage(arg2);
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13476 return resultobj;
13477 fail:
13478 return NULL;
13479 }
13480
13481
13482 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13485 size_t arg2 ;
13486 bool result;
13487 PyObject * obj0 = 0 ;
13488 PyObject * obj1 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self",(char *) "n", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 {
13496 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (bool)(arg1)->RemovePage(arg2);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13516 bool result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (bool)(arg1)->DeleteAllPages();
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13541 wxWindow *arg2 = (wxWindow *) 0 ;
13542 wxString *arg3 = 0 ;
13543 bool arg4 = (bool) False ;
13544 int arg5 = (int) -1 ;
13545 bool result;
13546 bool temp3 = False ;
13547 PyObject * obj0 = 0 ;
13548 PyObject * obj1 = 0 ;
13549 PyObject * obj2 = 0 ;
13550 PyObject * obj3 = 0 ;
13551 PyObject * obj4 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13559 {
13560 arg3 = wxString_in_helper(obj2);
13561 if (arg3 == NULL) SWIG_fail;
13562 temp3 = True;
13563 }
13564 if (obj3) {
13565 {
13566 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13567 if (PyErr_Occurred()) SWIG_fail;
13568 }
13569 }
13570 if (obj4) {
13571 {
13572 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 }
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13584 {
13585 if (temp3)
13586 delete arg3;
13587 }
13588 return resultobj;
13589 fail:
13590 {
13591 if (temp3)
13592 delete arg3;
13593 }
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13601 size_t arg2 ;
13602 wxWindow *arg3 = (wxWindow *) 0 ;
13603 wxString *arg4 = 0 ;
13604 bool arg5 = (bool) False ;
13605 int arg6 = (int) -1 ;
13606 bool result;
13607 bool temp4 = False ;
13608 PyObject * obj0 = 0 ;
13609 PyObject * obj1 = 0 ;
13610 PyObject * obj2 = 0 ;
13611 PyObject * obj3 = 0 ;
13612 PyObject * obj4 = 0 ;
13613 PyObject * obj5 = 0 ;
13614 char *kwnames[] = {
13615 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13616 };
13617
13618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13620 {
13621 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13625 {
13626 arg4 = wxString_in_helper(obj3);
13627 if (arg4 == NULL) SWIG_fail;
13628 temp4 = True;
13629 }
13630 if (obj4) {
13631 {
13632 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 }
13636 if (obj5) {
13637 {
13638 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 }
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13650 {
13651 if (temp4)
13652 delete arg4;
13653 }
13654 return resultobj;
13655 fail:
13656 {
13657 if (temp4)
13658 delete arg4;
13659 }
13660 return NULL;
13661 }
13662
13663
13664 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13667 size_t arg2 ;
13668 int result;
13669 PyObject * obj0 = 0 ;
13670 PyObject * obj1 = 0 ;
13671 char *kwnames[] = {
13672 (char *) "self",(char *) "n", NULL
13673 };
13674
13675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (int)(arg1)->SetSelection(arg2);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = SWIG_PyObj_FromInt((int)result);
13689 return resultobj;
13690 fail:
13691 return NULL;
13692 }
13693
13694
13695 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13696 PyObject *resultobj;
13697 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13698 bool arg2 = (bool) True ;
13699 PyObject * obj0 = 0 ;
13700 PyObject * obj1 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "forward", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13707 if (obj1) {
13708 {
13709 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 }
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 (arg1)->AdvanceSelection(arg2);
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 Py_INCREF(Py_None); resultobj = Py_None;
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13728 PyObject *obj;
13729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13730 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13731 Py_INCREF(obj);
13732 return Py_BuildValue((char *)"");
13733 }
13734 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13735 PyObject *resultobj;
13736 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13737 int arg2 = (int) 0 ;
13738 int arg3 = (int) -1 ;
13739 int arg4 = (int) -1 ;
13740 wxBookCtrlEvent *result;
13741 PyObject * obj0 = 0 ;
13742 PyObject * obj1 = 0 ;
13743 PyObject * obj2 = 0 ;
13744 PyObject * obj3 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13750 if (obj0) {
13751 {
13752 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
13755 }
13756 if (obj1) {
13757 {
13758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 }
13762 if (obj2) {
13763 {
13764 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 }
13768 if (obj3) {
13769 {
13770 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 }
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13777
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13782 return resultobj;
13783 fail:
13784 return NULL;
13785 }
13786
13787
13788 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13789 PyObject *resultobj;
13790 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13791 int result;
13792 PyObject * obj0 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "self", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 resultobj = SWIG_PyObj_FromInt((int)result);
13807 return resultobj;
13808 fail:
13809 return NULL;
13810 }
13811
13812
13813 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13816 int arg2 ;
13817 PyObject * obj0 = 0 ;
13818 PyObject * obj1 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "nSel", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13825 {
13826 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 (arg1)->SetSelection(arg2);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 Py_INCREF(Py_None); resultobj = Py_None;
13837 return resultobj;
13838 fail:
13839 return NULL;
13840 }
13841
13842
13843 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13846 int result;
13847 PyObject * obj0 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 resultobj = SWIG_PyObj_FromInt((int)result);
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13871 int arg2 ;
13872 PyObject * obj0 = 0 ;
13873 PyObject * obj1 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "nOldSel", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 {
13881 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 (arg1)->SetOldSelection(arg2);
13887
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 Py_INCREF(Py_None); resultobj = Py_None;
13892 return resultobj;
13893 fail:
13894 return NULL;
13895 }
13896
13897
13898 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13899 PyObject *obj;
13900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13901 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13902 Py_INCREF(obj);
13903 return Py_BuildValue((char *)"");
13904 }
13905 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxWindow *arg1 = (wxWindow *) 0 ;
13908 int arg2 ;
13909 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13910 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13911 wxSize const &arg4_defvalue = wxDefaultSize ;
13912 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13913 long arg5 = (long) 0 ;
13914 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13915 wxString *arg6 = (wxString *) &arg6_defvalue ;
13916 wxNotebook *result;
13917 wxPoint temp3 ;
13918 wxSize temp4 ;
13919 bool temp6 = False ;
13920 PyObject * obj0 = 0 ;
13921 PyObject * obj1 = 0 ;
13922 PyObject * obj2 = 0 ;
13923 PyObject * obj3 = 0 ;
13924 PyObject * obj4 = 0 ;
13925 PyObject * obj5 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13932 {
13933 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 if (obj2) {
13937 {
13938 arg3 = &temp3;
13939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13940 }
13941 }
13942 if (obj3) {
13943 {
13944 arg4 = &temp4;
13945 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13946 }
13947 }
13948 if (obj4) {
13949 {
13950 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 }
13954 if (obj5) {
13955 {
13956 arg6 = wxString_in_helper(obj5);
13957 if (arg6 == NULL) SWIG_fail;
13958 temp6 = True;
13959 }
13960 }
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13964
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 {
13969 resultobj = wxPyMake_wxObject(result);
13970 }
13971 {
13972 if (temp6)
13973 delete arg6;
13974 }
13975 return resultobj;
13976 fail:
13977 {
13978 if (temp6)
13979 delete arg6;
13980 }
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxNotebook *result;
13988 char *kwnames[] = {
13989 NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = (wxNotebook *)new wxNotebook();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 {
14001 resultobj = wxPyMake_wxObject(result);
14002 }
14003 return resultobj;
14004 fail:
14005 return NULL;
14006 }
14007
14008
14009 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxNotebook *arg1 = (wxNotebook *) 0 ;
14012 wxWindow *arg2 = (wxWindow *) 0 ;
14013 int arg3 ;
14014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14016 wxSize const &arg5_defvalue = wxDefaultSize ;
14017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14018 long arg6 = (long) 0 ;
14019 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14020 wxString *arg7 = (wxString *) &arg7_defvalue ;
14021 bool result;
14022 wxPoint temp4 ;
14023 wxSize temp5 ;
14024 bool temp7 = False ;
14025 PyObject * obj0 = 0 ;
14026 PyObject * obj1 = 0 ;
14027 PyObject * obj2 = 0 ;
14028 PyObject * obj3 = 0 ;
14029 PyObject * obj4 = 0 ;
14030 PyObject * obj5 = 0 ;
14031 PyObject * obj6 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14039 {
14040 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 if (obj3) {
14044 {
14045 arg4 = &temp4;
14046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14047 }
14048 }
14049 if (obj4) {
14050 {
14051 arg5 = &temp5;
14052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14053 }
14054 }
14055 if (obj5) {
14056 {
14057 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 }
14061 if (obj6) {
14062 {
14063 arg7 = wxString_in_helper(obj6);
14064 if (arg7 == NULL) SWIG_fail;
14065 temp7 = True;
14066 }
14067 }
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14076 {
14077 if (temp7)
14078 delete arg7;
14079 }
14080 return resultobj;
14081 fail:
14082 {
14083 if (temp7)
14084 delete arg7;
14085 }
14086 return NULL;
14087 }
14088
14089
14090 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj;
14092 wxNotebook *arg1 = (wxNotebook *) 0 ;
14093 int result;
14094 PyObject * obj0 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 resultobj = SWIG_PyObj_FromInt((int)result);
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxNotebook *arg1 = (wxNotebook *) 0 ;
14118 wxSize *arg2 = 0 ;
14119 wxSize temp2 ;
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj1 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self",(char *) "padding", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14128 {
14129 arg2 = &temp2;
14130 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 (arg1)->SetPadding((wxSize const &)*arg2);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 Py_INCREF(Py_None); resultobj = Py_None;
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxNotebook *arg1 = (wxNotebook *) 0 ;
14149 wxSize *arg2 = 0 ;
14150 wxSize temp2 ;
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj1 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "sz", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14159 {
14160 arg2 = &temp2;
14161 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14162 }
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 (arg1)->SetTabSize((wxSize const &)*arg2);
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 Py_INCREF(Py_None); resultobj = Py_None;
14171 return resultobj;
14172 fail:
14173 return NULL;
14174 }
14175
14176
14177 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxNotebook *arg1 = (wxNotebook *) 0 ;
14180 wxPoint *arg2 = 0 ;
14181 long *arg3 = (long *) 0 ;
14182 int result;
14183 wxPoint temp2 ;
14184 long temp3 ;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj1 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "pt", NULL
14189 };
14190
14191 arg3 = &temp3;
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14194 {
14195 arg2 = &temp2;
14196 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14197 }
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 resultobj = SWIG_PyObj_FromInt((int)result);
14206 {
14207 PyObject *o = PyInt_FromLong((long) (*arg3));
14208 resultobj = t_output_helper(resultobj,o);
14209 }
14210 return resultobj;
14211 fail:
14212 return NULL;
14213 }
14214
14215
14216 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14217 PyObject *resultobj;
14218 wxNotebook *arg1 = (wxNotebook *) 0 ;
14219 wxSize *arg2 = 0 ;
14220 wxSize result;
14221 wxSize temp2 ;
14222 PyObject * obj0 = 0 ;
14223 PyObject * obj1 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "self",(char *) "sizePage", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14230 {
14231 arg2 = &temp2;
14232 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14233 }
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 {
14242 wxSize * resultptr;
14243 resultptr = new wxSize((wxSize &) result);
14244 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14245 }
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14253 PyObject *obj;
14254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14256 Py_INCREF(obj);
14257 return Py_BuildValue((char *)"");
14258 }
14259 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14262 int arg2 = (int) 0 ;
14263 int arg3 = (int) -1 ;
14264 int arg4 = (int) -1 ;
14265 wxNotebookEvent *result;
14266 PyObject * obj0 = 0 ;
14267 PyObject * obj1 = 0 ;
14268 PyObject * obj2 = 0 ;
14269 PyObject * obj3 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14275 if (obj0) {
14276 {
14277 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 }
14281 if (obj1) {
14282 {
14283 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 }
14287 if (obj2) {
14288 {
14289 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 }
14293 if (obj3) {
14294 {
14295 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 }
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
14307 return resultobj;
14308 fail:
14309 return NULL;
14310 }
14311
14312
14313 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14314 PyObject *obj;
14315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14316 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14317 Py_INCREF(obj);
14318 return Py_BuildValue((char *)"");
14319 }
14320 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14321 PyObject *resultobj;
14322 wxWindow *arg1 = (wxWindow *) 0 ;
14323 int arg2 ;
14324 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14325 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14326 wxSize const &arg4_defvalue = wxDefaultSize ;
14327 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14328 long arg5 = (long) 0 ;
14329 wxString const &arg6_defvalue = wxPyEmptyString ;
14330 wxString *arg6 = (wxString *) &arg6_defvalue ;
14331 wxListbook *result;
14332 wxPoint temp3 ;
14333 wxSize temp4 ;
14334 bool temp6 = False ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 PyObject * obj2 = 0 ;
14338 PyObject * obj3 = 0 ;
14339 PyObject * obj4 = 0 ;
14340 PyObject * obj5 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14347 {
14348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 if (obj2) {
14352 {
14353 arg3 = &temp3;
14354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14355 }
14356 }
14357 if (obj3) {
14358 {
14359 arg4 = &temp4;
14360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14361 }
14362 }
14363 if (obj4) {
14364 {
14365 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 }
14369 if (obj5) {
14370 {
14371 arg6 = wxString_in_helper(obj5);
14372 if (arg6 == NULL) SWIG_fail;
14373 temp6 = True;
14374 }
14375 }
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14384 {
14385 if (temp6)
14386 delete arg6;
14387 }
14388 return resultobj;
14389 fail:
14390 {
14391 if (temp6)
14392 delete arg6;
14393 }
14394 return NULL;
14395 }
14396
14397
14398 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxListbook *result;
14401 char *kwnames[] = {
14402 NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = (wxListbook *)new wxListbook();
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14414 return resultobj;
14415 fail:
14416 return NULL;
14417 }
14418
14419
14420 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxListbook *arg1 = (wxListbook *) 0 ;
14423 wxWindow *arg2 = (wxWindow *) 0 ;
14424 int arg3 ;
14425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14427 wxSize const &arg5_defvalue = wxDefaultSize ;
14428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14429 long arg6 = (long) 0 ;
14430 wxString const &arg7_defvalue = wxPyEmptyString ;
14431 wxString *arg7 = (wxString *) &arg7_defvalue ;
14432 bool result;
14433 wxPoint temp4 ;
14434 wxSize temp5 ;
14435 bool temp7 = False ;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 PyObject * obj2 = 0 ;
14439 PyObject * obj3 = 0 ;
14440 PyObject * obj4 = 0 ;
14441 PyObject * obj5 = 0 ;
14442 PyObject * obj6 = 0 ;
14443 char *kwnames[] = {
14444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14445 };
14446
14447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 {
14451 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14452 if (PyErr_Occurred()) SWIG_fail;
14453 }
14454 if (obj3) {
14455 {
14456 arg4 = &temp4;
14457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14458 }
14459 }
14460 if (obj4) {
14461 {
14462 arg5 = &temp5;
14463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14464 }
14465 }
14466 if (obj5) {
14467 {
14468 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 }
14472 if (obj6) {
14473 {
14474 arg7 = wxString_in_helper(obj6);
14475 if (arg7 == NULL) SWIG_fail;
14476 temp7 = True;
14477 }
14478 }
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14487 {
14488 if (temp7)
14489 delete arg7;
14490 }
14491 return resultobj;
14492 fail:
14493 {
14494 if (temp7)
14495 delete arg7;
14496 }
14497 return NULL;
14498 }
14499
14500
14501 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxListbook *arg1 = (wxListbook *) 0 ;
14504 bool result;
14505 PyObject * obj0 = 0 ;
14506 char *kwnames[] = {
14507 (char *) "self", NULL
14508 };
14509
14510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 result = (bool)((wxListbook const *)arg1)->IsVertical();
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14520 return resultobj;
14521 fail:
14522 return NULL;
14523 }
14524
14525
14526 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14527 PyObject *obj;
14528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14529 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14530 Py_INCREF(obj);
14531 return Py_BuildValue((char *)"");
14532 }
14533 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14536 int arg2 = (int) 0 ;
14537 int arg3 = (int) -1 ;
14538 int arg4 = (int) -1 ;
14539 wxListbookEvent *result;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 PyObject * obj2 = 0 ;
14543 PyObject * obj3 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14549 if (obj0) {
14550 {
14551 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 }
14555 if (obj1) {
14556 {
14557 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 }
14561 if (obj2) {
14562 {
14563 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 }
14567 if (obj3) {
14568 {
14569 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 }
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14581 return resultobj;
14582 fail:
14583 return NULL;
14584 }
14585
14586
14587 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14588 PyObject *obj;
14589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14590 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14591 Py_INCREF(obj);
14592 return Py_BuildValue((char *)"");
14593 }
14594 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14597 wxBookCtrlSizer *result;
14598 PyObject * obj0 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "nb", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14605 {
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14608
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj;
14621 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 (arg1)->RecalcSizes();
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 Py_INCREF(Py_None); resultobj = Py_None;
14637 return resultobj;
14638 fail:
14639 return NULL;
14640 }
14641
14642
14643 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14646 wxSize result;
14647 PyObject * obj0 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (arg1)->CalcMin();
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 {
14662 wxSize * resultptr;
14663 resultptr = new wxSize((wxSize &) result);
14664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14665 }
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14675 wxBookCtrl *result;
14676 PyObject * obj0 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (wxBookCtrl *)(arg1)->GetControl();
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14698 PyObject *obj;
14699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14700 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14701 Py_INCREF(obj);
14702 return Py_BuildValue((char *)"");
14703 }
14704 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxNotebook *arg1 = (wxNotebook *) 0 ;
14707 wxNotebookSizer *result;
14708 PyObject * obj0 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "nb", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 (arg1)->RecalcSizes();
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 Py_INCREF(Py_None); resultobj = Py_None;
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14756 wxSize result;
14757 PyObject * obj0 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (arg1)->CalcMin();
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 {
14772 wxSize * resultptr;
14773 resultptr = new wxSize((wxSize &) result);
14774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14775 }
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14785 wxNotebook *result;
14786 PyObject * obj0 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "self", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = (wxNotebook *)(arg1)->GetNotebook();
14796
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 {
14801 resultobj = wxPyMake_wxObject(result);
14802 }
14803 return resultobj;
14804 fail:
14805 return NULL;
14806 }
14807
14808
14809 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14810 PyObject *obj;
14811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14812 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14813 Py_INCREF(obj);
14814 return Py_BuildValue((char *)"");
14815 }
14816 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14819 int result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (int)(arg1)->GetId();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_PyObj_FromInt((int)result);
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14844 wxControl *result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (wxControl *)(arg1)->GetControl();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 resultobj = wxPyMake_wxObject(result);
14861 }
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14871 wxToolBarBase *result;
14872 PyObject * obj0 = 0 ;
14873 char *kwnames[] = {
14874 (char *) "self", NULL
14875 };
14876
14877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 result = (wxToolBarBase *)(arg1)->GetToolBar();
14882
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 {
14887 resultobj = wxPyMake_wxObject(result);
14888 }
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14898 int result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = (int)(arg1)->IsButton();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 resultobj = SWIG_PyObj_FromInt((int)result);
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14923 int result;
14924 PyObject * obj0 = 0 ;
14925 char *kwnames[] = {
14926 (char *) "self", NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (int)(arg1)->IsControl();
14934
14935 wxPyEndAllowThreads(__tstate);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 resultobj = SWIG_PyObj_FromInt((int)result);
14939 return resultobj;
14940 fail:
14941 return NULL;
14942 }
14943
14944
14945 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14946 PyObject *resultobj;
14947 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14948 int result;
14949 PyObject * obj0 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "self", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = (int)(arg1)->IsSeparator();
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 resultobj = SWIG_PyObj_FromInt((int)result);
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14973 int result;
14974 PyObject * obj0 = 0 ;
14975 char *kwnames[] = {
14976 (char *) "self", NULL
14977 };
14978
14979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14981 {
14982 PyThreadState* __tstate = wxPyBeginAllowThreads();
14983 result = (int)(arg1)->GetStyle();
14984
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 resultobj = SWIG_PyObj_FromInt((int)result);
14989 return resultobj;
14990 fail:
14991 return NULL;
14992 }
14993
14994
14995 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj;
14997 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14998 int result;
14999 PyObject * obj0 = 0 ;
15000 char *kwnames[] = {
15001 (char *) "self", NULL
15002 };
15003
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (int)(arg1)->GetKind();
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 resultobj = SWIG_PyObj_FromInt((int)result);
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj;
15022 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15023 bool result;
15024 PyObject * obj0 = 0 ;
15025 char *kwnames[] = {
15026 (char *) "self", NULL
15027 };
15028
15029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 result = (bool)(arg1)->IsEnabled();
15034
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15039 return resultobj;
15040 fail:
15041 return NULL;
15042 }
15043
15044
15045 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15046 PyObject *resultobj;
15047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15048 bool result;
15049 PyObject * obj0 = 0 ;
15050 char *kwnames[] = {
15051 (char *) "self", NULL
15052 };
15053
15054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 result = (bool)(arg1)->IsToggled();
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15073 bool result;
15074 PyObject * obj0 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (bool)(arg1)->CanBeToggled();
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15089 return resultobj;
15090 fail:
15091 return NULL;
15092 }
15093
15094
15095 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15098 wxBitmap *result;
15099 PyObject * obj0 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 {
15109 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15110 result = (wxBitmap *) &_result_ref;
15111 }
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15117 return resultobj;
15118 fail:
15119 return NULL;
15120 }
15121
15122
15123 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15126 wxBitmap *result;
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15134 {
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 {
15137 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15138 result = (wxBitmap *) &_result_ref;
15139 }
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15154 wxBitmap result;
15155 PyObject * obj0 = 0 ;
15156 char *kwnames[] = {
15157 (char *) "self", NULL
15158 };
15159
15160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (arg1)->GetBitmap();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 {
15170 wxBitmap * resultptr;
15171 resultptr = new wxBitmap((wxBitmap &) result);
15172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
15173 }
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj;
15182 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15183 wxString result;
15184 PyObject * obj0 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 result = (arg1)->GetLabel();
15194
15195 wxPyEndAllowThreads(__tstate);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 {
15199 #if wxUSE_UNICODE
15200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15201 #else
15202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15203 #endif
15204 }
15205 return resultobj;
15206 fail:
15207 return NULL;
15208 }
15209
15210
15211 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj;
15213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15214 wxString result;
15215 PyObject * obj0 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (arg1)->GetShortHelp();
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 {
15230 #if wxUSE_UNICODE
15231 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15232 #else
15233 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15234 #endif
15235 }
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15245 wxString result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (arg1)->GetLongHelp();
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 #if wxUSE_UNICODE
15262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15263 #else
15264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15265 #endif
15266 }
15267 return resultobj;
15268 fail:
15269 return NULL;
15270 }
15271
15272
15273 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15276 bool arg2 ;
15277 bool result;
15278 PyObject * obj0 = 0 ;
15279 PyObject * obj1 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self",(char *) "enable", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15286 {
15287 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 {
15291 PyThreadState* __tstate = wxPyBeginAllowThreads();
15292 result = (bool)(arg1)->Enable(arg2);
15293
15294 wxPyEndAllowThreads(__tstate);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
15297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15298 return resultobj;
15299 fail:
15300 return NULL;
15301 }
15302
15303
15304 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15305 PyObject *resultobj;
15306 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15307 PyObject * obj0 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 (arg1)->Toggle();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 Py_INCREF(Py_None); resultobj = Py_None;
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15331 bool arg2 ;
15332 bool result;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "toggle", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15341 {
15342 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 result = (bool)(arg1)->SetToggle(arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj;
15361 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15362 wxString *arg2 = 0 ;
15363 bool result;
15364 bool temp2 = False ;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "help", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15373 {
15374 arg2 = wxString_in_helper(obj1);
15375 if (arg2 == NULL) SWIG_fail;
15376 temp2 = True;
15377 }
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15386 {
15387 if (temp2)
15388 delete arg2;
15389 }
15390 return resultobj;
15391 fail:
15392 {
15393 if (temp2)
15394 delete arg2;
15395 }
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15403 wxString *arg2 = 0 ;
15404 bool result;
15405 bool temp2 = False ;
15406 PyObject * obj0 = 0 ;
15407 PyObject * obj1 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self",(char *) "help", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15414 {
15415 arg2 = wxString_in_helper(obj1);
15416 if (arg2 == NULL) SWIG_fail;
15417 temp2 = True;
15418 }
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 {
15428 if (temp2)
15429 delete arg2;
15430 }
15431 return resultobj;
15432 fail:
15433 {
15434 if (temp2)
15435 delete arg2;
15436 }
15437 return NULL;
15438 }
15439
15440
15441 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj;
15443 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15444 wxBitmap *arg2 = 0 ;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self",(char *) "bmp", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15454 if (arg2 == NULL) {
15455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15456 }
15457 {
15458 PyThreadState* __tstate = wxPyBeginAllowThreads();
15459 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15460
15461 wxPyEndAllowThreads(__tstate);
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15464 Py_INCREF(Py_None); resultobj = Py_None;
15465 return resultobj;
15466 fail:
15467 return NULL;
15468 }
15469
15470
15471 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15472 PyObject *resultobj;
15473 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15474 wxBitmap *arg2 = 0 ;
15475 PyObject * obj0 = 0 ;
15476 PyObject * obj1 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self",(char *) "bmp", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15484 if (arg2 == NULL) {
15485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15486 }
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15490
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 Py_INCREF(Py_None); resultobj = Py_None;
15495 return resultobj;
15496 fail:
15497 return NULL;
15498 }
15499
15500
15501 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15502 PyObject *resultobj;
15503 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15504 wxString *arg2 = 0 ;
15505 bool temp2 = False ;
15506 PyObject * obj0 = 0 ;
15507 PyObject * obj1 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self",(char *) "label", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15514 {
15515 arg2 = wxString_in_helper(obj1);
15516 if (arg2 == NULL) SWIG_fail;
15517 temp2 = True;
15518 }
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 (arg1)->SetLabel((wxString const &)*arg2);
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 Py_INCREF(Py_None); resultobj = Py_None;
15527 {
15528 if (temp2)
15529 delete arg2;
15530 }
15531 return resultobj;
15532 fail:
15533 {
15534 if (temp2)
15535 delete arg2;
15536 }
15537 return NULL;
15538 }
15539
15540
15541 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15542 PyObject *resultobj;
15543 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15544 PyObject * obj0 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->Detach();
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 return resultobj;
15560 fail:
15561 return NULL;
15562 }
15563
15564
15565 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15568 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self",(char *) "tbar", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 (arg1)->Attach(arg2);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15595 PyObject *result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 resultobj = result;
15611 return resultobj;
15612 fail:
15613 return NULL;
15614 }
15615
15616
15617 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj;
15619 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15620 PyObject *arg2 = (PyObject *) 0 ;
15621 PyObject * obj0 = 0 ;
15622 PyObject * obj1 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "self",(char *) "clientData", NULL
15625 };
15626
15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15629 arg2 = obj1;
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 wxToolBarToolBase_SetClientData(arg1,arg2);
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 Py_INCREF(Py_None); resultobj = Py_None;
15638 return resultobj;
15639 fail:
15640 return NULL;
15641 }
15642
15643
15644 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15645 PyObject *obj;
15646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15648 Py_INCREF(obj);
15649 return Py_BuildValue((char *)"");
15650 }
15651 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15654 int arg2 ;
15655 wxString *arg3 = 0 ;
15656 wxBitmap *arg4 = 0 ;
15657 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15658 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15659 int arg6 = (int) wxITEM_NORMAL ;
15660 wxString const &arg7_defvalue = wxPyEmptyString ;
15661 wxString *arg7 = (wxString *) &arg7_defvalue ;
15662 wxString const &arg8_defvalue = wxPyEmptyString ;
15663 wxString *arg8 = (wxString *) &arg8_defvalue ;
15664 PyObject *arg9 = (PyObject *) NULL ;
15665 wxToolBarToolBase *result;
15666 bool temp3 = False ;
15667 bool temp7 = False ;
15668 bool temp8 = False ;
15669 PyObject * obj0 = 0 ;
15670 PyObject * obj1 = 0 ;
15671 PyObject * obj2 = 0 ;
15672 PyObject * obj3 = 0 ;
15673 PyObject * obj4 = 0 ;
15674 PyObject * obj5 = 0 ;
15675 PyObject * obj6 = 0 ;
15676 PyObject * obj7 = 0 ;
15677 PyObject * obj8 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15684 {
15685 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 {
15689 arg3 = wxString_in_helper(obj2);
15690 if (arg3 == NULL) SWIG_fail;
15691 temp3 = True;
15692 }
15693 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 if (arg4 == NULL) {
15695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15696 }
15697 if (obj4) {
15698 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15699 if (arg5 == NULL) {
15700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15701 }
15702 }
15703 if (obj5) {
15704 {
15705 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 }
15709 if (obj6) {
15710 {
15711 arg7 = wxString_in_helper(obj6);
15712 if (arg7 == NULL) SWIG_fail;
15713 temp7 = True;
15714 }
15715 }
15716 if (obj7) {
15717 {
15718 arg8 = wxString_in_helper(obj7);
15719 if (arg8 == NULL) SWIG_fail;
15720 temp8 = True;
15721 }
15722 }
15723 if (obj8) {
15724 arg9 = obj8;
15725 }
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15729
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 {
15734 resultobj = wxPyMake_wxObject(result);
15735 }
15736 {
15737 if (temp3)
15738 delete arg3;
15739 }
15740 {
15741 if (temp7)
15742 delete arg7;
15743 }
15744 {
15745 if (temp8)
15746 delete arg8;
15747 }
15748 return resultobj;
15749 fail:
15750 {
15751 if (temp3)
15752 delete arg3;
15753 }
15754 {
15755 if (temp7)
15756 delete arg7;
15757 }
15758 {
15759 if (temp8)
15760 delete arg8;
15761 }
15762 return NULL;
15763 }
15764
15765
15766 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj;
15768 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15769 size_t arg2 ;
15770 int arg3 ;
15771 wxString *arg4 = 0 ;
15772 wxBitmap *arg5 = 0 ;
15773 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15774 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15775 int arg7 = (int) wxITEM_NORMAL ;
15776 wxString const &arg8_defvalue = wxPyEmptyString ;
15777 wxString *arg8 = (wxString *) &arg8_defvalue ;
15778 wxString const &arg9_defvalue = wxPyEmptyString ;
15779 wxString *arg9 = (wxString *) &arg9_defvalue ;
15780 PyObject *arg10 = (PyObject *) NULL ;
15781 wxToolBarToolBase *result;
15782 bool temp4 = False ;
15783 bool temp8 = False ;
15784 bool temp9 = False ;
15785 PyObject * obj0 = 0 ;
15786 PyObject * obj1 = 0 ;
15787 PyObject * obj2 = 0 ;
15788 PyObject * obj3 = 0 ;
15789 PyObject * obj4 = 0 ;
15790 PyObject * obj5 = 0 ;
15791 PyObject * obj6 = 0 ;
15792 PyObject * obj7 = 0 ;
15793 PyObject * obj8 = 0 ;
15794 PyObject * obj9 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 {
15806 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 {
15810 arg4 = wxString_in_helper(obj3);
15811 if (arg4 == NULL) SWIG_fail;
15812 temp4 = True;
15813 }
15814 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15815 if (arg5 == NULL) {
15816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15817 }
15818 if (obj5) {
15819 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15820 if (arg6 == NULL) {
15821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15822 }
15823 }
15824 if (obj6) {
15825 {
15826 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 }
15830 if (obj7) {
15831 {
15832 arg8 = wxString_in_helper(obj7);
15833 if (arg8 == NULL) SWIG_fail;
15834 temp8 = True;
15835 }
15836 }
15837 if (obj8) {
15838 {
15839 arg9 = wxString_in_helper(obj8);
15840 if (arg9 == NULL) SWIG_fail;
15841 temp9 = True;
15842 }
15843 }
15844 if (obj9) {
15845 arg10 = obj9;
15846 }
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 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);
15850
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 {
15855 resultobj = wxPyMake_wxObject(result);
15856 }
15857 {
15858 if (temp4)
15859 delete arg4;
15860 }
15861 {
15862 if (temp8)
15863 delete arg8;
15864 }
15865 {
15866 if (temp9)
15867 delete arg9;
15868 }
15869 return resultobj;
15870 fail:
15871 {
15872 if (temp4)
15873 delete arg4;
15874 }
15875 {
15876 if (temp8)
15877 delete arg8;
15878 }
15879 {
15880 if (temp9)
15881 delete arg9;
15882 }
15883 return NULL;
15884 }
15885
15886
15887 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj;
15889 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15890 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15891 wxToolBarToolBase *result;
15892 PyObject * obj0 = 0 ;
15893 PyObject * obj1 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self",(char *) "tool", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15901 {
15902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15903 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15904
15905 wxPyEndAllowThreads(__tstate);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 {
15909 resultobj = wxPyMake_wxObject(result);
15910 }
15911 return resultobj;
15912 fail:
15913 return NULL;
15914 }
15915
15916
15917 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15920 size_t arg2 ;
15921 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15922 wxToolBarToolBase *result;
15923 PyObject * obj0 = 0 ;
15924 PyObject * obj1 = 0 ;
15925 PyObject * obj2 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self",(char *) "pos",(char *) "tool", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15932 {
15933 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 resultobj = wxPyMake_wxObject(result);
15946 }
15947 return resultobj;
15948 fail:
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15956 wxControl *arg2 = (wxControl *) 0 ;
15957 wxToolBarToolBase *result;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "control", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 {
15975 resultobj = wxPyMake_wxObject(result);
15976 }
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15986 size_t arg2 ;
15987 wxControl *arg3 = (wxControl *) 0 ;
15988 wxToolBarToolBase *result;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 PyObject * obj2 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "pos",(char *) "control", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15998 {
15999 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 {
16011 resultobj = wxPyMake_wxObject(result);
16012 }
16013 return resultobj;
16014 fail:
16015 return NULL;
16016 }
16017
16018
16019 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16020 PyObject *resultobj;
16021 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16022 int arg2 ;
16023 wxControl *result;
16024 PyObject * obj0 = 0 ;
16025 PyObject * obj1 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self",(char *) "id", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16032 {
16033 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 result = (wxControl *)(arg1)->FindControl(arg2);
16039
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
16043 {
16044 resultobj = wxPyMake_wxObject(result);
16045 }
16046 return resultobj;
16047 fail:
16048 return NULL;
16049 }
16050
16051
16052 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16053 PyObject *resultobj;
16054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16055 wxToolBarToolBase *result;
16056 PyObject * obj0 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 resultobj = wxPyMake_wxObject(result);
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16082 size_t arg2 ;
16083 wxToolBarToolBase *result;
16084 PyObject * obj0 = 0 ;
16085 PyObject * obj1 = 0 ;
16086 char *kwnames[] = {
16087 (char *) "self",(char *) "pos", NULL
16088 };
16089
16090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16092 {
16093 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 {
16104 resultobj = wxPyMake_wxObject(result);
16105 }
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16115 int arg2 ;
16116 wxToolBarToolBase *result;
16117 PyObject * obj0 = 0 ;
16118 PyObject * obj1 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self",(char *) "id", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 {
16126 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 {
16137 resultobj = wxPyMake_wxObject(result);
16138 }
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16148 size_t arg2 ;
16149 bool result;
16150 PyObject * obj0 = 0 ;
16151 PyObject * obj1 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self",(char *) "pos", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16158 {
16159 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 result = (bool)(arg1)->DeleteToolByPos(arg2);
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16170 return resultobj;
16171 fail:
16172 return NULL;
16173 }
16174
16175
16176 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16179 int arg2 ;
16180 bool result;
16181 PyObject * obj0 = 0 ;
16182 PyObject * obj1 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self",(char *) "id", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16189 {
16190 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = (bool)(arg1)->DeleteTool(arg2);
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16201 return resultobj;
16202 fail:
16203 return NULL;
16204 }
16205
16206
16207 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16208 PyObject *resultobj;
16209 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16210 PyObject * obj0 = 0 ;
16211 char *kwnames[] = {
16212 (char *) "self", NULL
16213 };
16214
16215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16217 {
16218 PyThreadState* __tstate = wxPyBeginAllowThreads();
16219 (arg1)->ClearTools();
16220
16221 wxPyEndAllowThreads(__tstate);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 }
16224 Py_INCREF(Py_None); resultobj = Py_None;
16225 return resultobj;
16226 fail:
16227 return NULL;
16228 }
16229
16230
16231 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16232 PyObject *resultobj;
16233 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16234 bool result;
16235 PyObject * obj0 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self", NULL
16238 };
16239
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16242 {
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 result = (bool)(arg1)->Realize();
16245
16246 wxPyEndAllowThreads(__tstate);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 }
16249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16250 return resultobj;
16251 fail:
16252 return NULL;
16253 }
16254
16255
16256 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj;
16258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16259 int arg2 ;
16260 bool arg3 ;
16261 PyObject * obj0 = 0 ;
16262 PyObject * obj1 = 0 ;
16263 PyObject * obj2 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "id",(char *) "enable", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16270 {
16271 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 {
16279 PyThreadState* __tstate = wxPyBeginAllowThreads();
16280 (arg1)->EnableTool(arg2,arg3);
16281
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 Py_INCREF(Py_None); resultobj = Py_None;
16286 return resultobj;
16287 fail:
16288 return NULL;
16289 }
16290
16291
16292 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16295 int arg2 ;
16296 bool arg3 ;
16297 PyObject * obj0 = 0 ;
16298 PyObject * obj1 = 0 ;
16299 PyObject * obj2 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self",(char *) "id",(char *) "toggle", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16306 {
16307 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 {
16311 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 (arg1)->ToggleTool(arg2,arg3);
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 Py_INCREF(Py_None); resultobj = Py_None;
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16331 int arg2 ;
16332 bool arg3 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 PyObject * obj2 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "id",(char *) "toggle", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16342 {
16343 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 {
16347 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 (arg1)->SetToggle(arg2,arg3);
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 Py_INCREF(Py_None); resultobj = Py_None;
16358 return resultobj;
16359 fail:
16360 return NULL;
16361 }
16362
16363
16364 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj;
16366 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16367 int arg2 ;
16368 PyObject *result;
16369 PyObject * obj0 = 0 ;
16370 PyObject * obj1 = 0 ;
16371 char *kwnames[] = {
16372 (char *) "self",(char *) "id", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16377 {
16378 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 resultobj = result;
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16398 int arg2 ;
16399 PyObject *arg3 = (PyObject *) 0 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 PyObject * obj2 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "id",(char *) "clientData", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16409 {
16410 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 arg3 = obj2;
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 Py_INCREF(Py_None); resultobj = Py_None;
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16431 int arg2 ;
16432 int result;
16433 PyObject * obj0 = 0 ;
16434 PyObject * obj1 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "self",(char *) "id", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16441 {
16442 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
16447 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 resultobj = SWIG_PyObj_FromInt((int)result);
16453 return resultobj;
16454 fail:
16455 return NULL;
16456 }
16457
16458
16459 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16460 PyObject *resultobj;
16461 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16462 int arg2 ;
16463 bool result;
16464 PyObject * obj0 = 0 ;
16465 PyObject * obj1 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self",(char *) "id", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16472 {
16473 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (bool)(arg1)->GetToolState(arg2);
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16493 int arg2 ;
16494 bool result;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self",(char *) "id", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16503 {
16504 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 result = (bool)(arg1)->GetToolEnabled(arg2);
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16524 int arg2 ;
16525 wxString *arg3 = 0 ;
16526 bool temp3 = False ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 PyObject * obj2 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self",(char *) "id",(char *) "helpString", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 {
16537 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 {
16541 arg3 = wxString_in_helper(obj2);
16542 if (arg3 == NULL) SWIG_fail;
16543 temp3 = True;
16544 }
16545 {
16546 PyThreadState* __tstate = wxPyBeginAllowThreads();
16547 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16548
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 Py_INCREF(Py_None); resultobj = Py_None;
16553 {
16554 if (temp3)
16555 delete arg3;
16556 }
16557 return resultobj;
16558 fail:
16559 {
16560 if (temp3)
16561 delete arg3;
16562 }
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16570 int arg2 ;
16571 wxString result;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 char *kwnames[] = {
16575 (char *) "self",(char *) "id", NULL
16576 };
16577
16578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16580 {
16581 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (arg1)->GetToolShortHelp(arg2);
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 {
16592 #if wxUSE_UNICODE
16593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16594 #else
16595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16596 #endif
16597 }
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16607 int arg2 ;
16608 wxString *arg3 = 0 ;
16609 bool temp3 = False ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 PyObject * obj2 = 0 ;
16613 char *kwnames[] = {
16614 (char *) "self",(char *) "id",(char *) "helpString", NULL
16615 };
16616
16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16619 {
16620 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 arg3 = wxString_in_helper(obj2);
16625 if (arg3 == NULL) SWIG_fail;
16626 temp3 = True;
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 Py_INCREF(Py_None); resultobj = Py_None;
16636 {
16637 if (temp3)
16638 delete arg3;
16639 }
16640 return resultobj;
16641 fail:
16642 {
16643 if (temp3)
16644 delete arg3;
16645 }
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16653 int arg2 ;
16654 wxString result;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self",(char *) "id", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16663 {
16664 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (arg1)->GetToolLongHelp(arg2);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 {
16675 #if wxUSE_UNICODE
16676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16677 #else
16678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16679 #endif
16680 }
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16690 int arg2 ;
16691 int arg3 ;
16692 PyObject * obj0 = 0 ;
16693 PyObject * obj1 = 0 ;
16694 PyObject * obj2 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "x",(char *) "y", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16701 {
16702 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 {
16706 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 (arg1)->SetMargins(arg2,arg3);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 Py_INCREF(Py_None); resultobj = Py_None;
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16726 wxSize *arg2 = 0 ;
16727 wxSize temp2 ;
16728 PyObject * obj0 = 0 ;
16729 PyObject * obj1 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self",(char *) "size", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16736 {
16737 arg2 = &temp2;
16738 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16739 }
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 (arg1)->SetMargins((wxSize const &)*arg2);
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 Py_INCREF(Py_None); resultobj = Py_None;
16748 return resultobj;
16749 fail:
16750 return NULL;
16751 }
16752
16753
16754 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj;
16756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16757 int arg2 ;
16758 PyObject * obj0 = 0 ;
16759 PyObject * obj1 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self",(char *) "packing", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16766 {
16767 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 (arg1)->SetToolPacking(arg2);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 Py_INCREF(Py_None); resultobj = Py_None;
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16787 int arg2 ;
16788 PyObject * obj0 = 0 ;
16789 PyObject * obj1 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "self",(char *) "separation", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16796 {
16797 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 (arg1)->SetToolSeparation(arg2);
16803
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 Py_INCREF(Py_None); resultobj = Py_None;
16808 return resultobj;
16809 fail:
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj;
16816 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16817 wxSize result;
16818 PyObject * obj0 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "self", NULL
16821 };
16822
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16825 {
16826 PyThreadState* __tstate = wxPyBeginAllowThreads();
16827 result = (arg1)->GetToolMargins();
16828
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 {
16833 wxSize * resultptr;
16834 resultptr = new wxSize((wxSize &) result);
16835 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16836 }
16837 return resultobj;
16838 fail:
16839 return NULL;
16840 }
16841
16842
16843 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16844 PyObject *resultobj;
16845 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16846 wxSize result;
16847 PyObject * obj0 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self", NULL
16850 };
16851
16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (arg1)->GetMargins();
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
16861 {
16862 wxSize * resultptr;
16863 resultptr = new wxSize((wxSize &) result);
16864 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16865 }
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16875 int result;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = (int)(arg1)->GetToolPacking();
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 resultobj = SWIG_PyObj_FromInt((int)result);
16891 return resultobj;
16892 fail:
16893 return NULL;
16894 }
16895
16896
16897 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16900 int result;
16901 PyObject * obj0 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 result = (int)(arg1)->GetToolSeparation();
16911
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 resultobj = SWIG_PyObj_FromInt((int)result);
16916 return resultobj;
16917 fail:
16918 return NULL;
16919 }
16920
16921
16922 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16923 PyObject *resultobj;
16924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16925 int arg2 ;
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "self",(char *) "nRows", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16934 {
16935 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 (arg1)->SetRows(arg2);
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16955 int arg2 ;
16956 int arg3 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 PyObject * obj2 = 0 ;
16960 char *kwnames[] = {
16961 (char *) "self",(char *) "rows",(char *) "cols", NULL
16962 };
16963
16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16966 {
16967 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 {
16971 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 }
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 (arg1)->SetMaxRowsCols(arg2,arg3);
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 Py_INCREF(Py_None); resultobj = Py_None;
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj;
16990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16991 int result;
16992 PyObject * obj0 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = (int)(arg1)->GetMaxRows();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 resultobj = SWIG_PyObj_FromInt((int)result);
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17014 PyObject *resultobj;
17015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17016 int result;
17017 PyObject * obj0 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "self", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17024 {
17025 PyThreadState* __tstate = wxPyBeginAllowThreads();
17026 result = (int)(arg1)->GetMaxCols();
17027
17028 wxPyEndAllowThreads(__tstate);
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 resultobj = SWIG_PyObj_FromInt((int)result);
17032 return resultobj;
17033 fail:
17034 return NULL;
17035 }
17036
17037
17038 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17039 PyObject *resultobj;
17040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17041 wxSize *arg2 = 0 ;
17042 wxSize temp2 ;
17043 PyObject * obj0 = 0 ;
17044 PyObject * obj1 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "self",(char *) "size", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17051 {
17052 arg2 = &temp2;
17053 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17054 }
17055 {
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17058
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 Py_INCREF(Py_None); resultobj = Py_None;
17063 return resultobj;
17064 fail:
17065 return NULL;
17066 }
17067
17068
17069 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17070 PyObject *resultobj;
17071 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17072 wxSize result;
17073 PyObject * obj0 = 0 ;
17074 char *kwnames[] = {
17075 (char *) "self", NULL
17076 };
17077
17078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 result = (arg1)->GetToolBitmapSize();
17083
17084 wxPyEndAllowThreads(__tstate);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 }
17087 {
17088 wxSize * resultptr;
17089 resultptr = new wxSize((wxSize &) result);
17090 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17091 }
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17101 wxSize result;
17102 PyObject * obj0 = 0 ;
17103 char *kwnames[] = {
17104 (char *) "self", NULL
17105 };
17106
17107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 result = (arg1)->GetToolSize();
17112
17113 wxPyEndAllowThreads(__tstate);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 {
17117 wxSize * resultptr;
17118 resultptr = new wxSize((wxSize &) result);
17119 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17120 }
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17130 int arg2 ;
17131 int arg3 ;
17132 wxToolBarToolBase *result;
17133 PyObject * obj0 = 0 ;
17134 PyObject * obj1 = 0 ;
17135 PyObject * obj2 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self",(char *) "x",(char *) "y", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 {
17143 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 {
17147 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 {
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17153
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 {
17158 resultobj = wxPyMake_wxObject(result);
17159 }
17160 return resultobj;
17161 fail:
17162 return NULL;
17163 }
17164
17165
17166 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17169 int arg2 ;
17170 wxToolBarToolBase *result;
17171 PyObject * obj0 = 0 ;
17172 PyObject * obj1 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self",(char *) "toolid", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17179 {
17180 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 {
17191 resultobj = wxPyMake_wxObject(result);
17192 }
17193 return resultobj;
17194 fail:
17195 return NULL;
17196 }
17197
17198
17199 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj;
17201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17202 bool result;
17203 PyObject * obj0 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (bool)(arg1)->IsVertical();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17218 return resultobj;
17219 fail:
17220 return NULL;
17221 }
17222
17223
17224 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17225 PyObject *obj;
17226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17227 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17228 Py_INCREF(obj);
17229 return Py_BuildValue((char *)"");
17230 }
17231 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxWindow *arg1 = (wxWindow *) 0 ;
17234 int arg2 ;
17235 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17236 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17237 wxSize const &arg4_defvalue = wxDefaultSize ;
17238 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17239 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17240 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17241 wxString *arg6 = (wxString *) &arg6_defvalue ;
17242 wxToolBar *result;
17243 wxPoint temp3 ;
17244 wxSize temp4 ;
17245 bool temp6 = False ;
17246 PyObject * obj0 = 0 ;
17247 PyObject * obj1 = 0 ;
17248 PyObject * obj2 = 0 ;
17249 PyObject * obj3 = 0 ;
17250 PyObject * obj4 = 0 ;
17251 PyObject * obj5 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17258 {
17259 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 if (obj2) {
17263 {
17264 arg3 = &temp3;
17265 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17266 }
17267 }
17268 if (obj3) {
17269 {
17270 arg4 = &temp4;
17271 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17272 }
17273 }
17274 if (obj4) {
17275 {
17276 arg5 = (long) SWIG_PyObj_AsLong(obj4);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 }
17280 if (obj5) {
17281 {
17282 arg6 = wxString_in_helper(obj5);
17283 if (arg6 == NULL) SWIG_fail;
17284 temp6 = True;
17285 }
17286 }
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295 resultobj = wxPyMake_wxObject(result);
17296 }
17297 {
17298 if (temp6)
17299 delete arg6;
17300 }
17301 return resultobj;
17302 fail:
17303 {
17304 if (temp6)
17305 delete arg6;
17306 }
17307 return NULL;
17308 }
17309
17310
17311 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxToolBar *result;
17314 char *kwnames[] = {
17315 NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 result = (wxToolBar *)new wxToolBar();
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 {
17327 resultobj = wxPyMake_wxObject(result);
17328 }
17329 return resultobj;
17330 fail:
17331 return NULL;
17332 }
17333
17334
17335 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj;
17337 wxToolBar *arg1 = (wxToolBar *) 0 ;
17338 wxWindow *arg2 = (wxWindow *) 0 ;
17339 int arg3 ;
17340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17342 wxSize const &arg5_defvalue = wxDefaultSize ;
17343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17344 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17345 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17346 wxString *arg7 = (wxString *) &arg7_defvalue ;
17347 bool result;
17348 wxPoint temp4 ;
17349 wxSize temp5 ;
17350 bool temp7 = False ;
17351 PyObject * obj0 = 0 ;
17352 PyObject * obj1 = 0 ;
17353 PyObject * obj2 = 0 ;
17354 PyObject * obj3 = 0 ;
17355 PyObject * obj4 = 0 ;
17356 PyObject * obj5 = 0 ;
17357 PyObject * obj6 = 0 ;
17358 char *kwnames[] = {
17359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17365 {
17366 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 if (obj3) {
17370 {
17371 arg4 = &temp4;
17372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17373 }
17374 }
17375 if (obj4) {
17376 {
17377 arg5 = &temp5;
17378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17379 }
17380 }
17381 if (obj5) {
17382 {
17383 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 }
17387 if (obj6) {
17388 {
17389 arg7 = wxString_in_helper(obj6);
17390 if (arg7 == NULL) SWIG_fail;
17391 temp7 = True;
17392 }
17393 }
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17402 {
17403 if (temp7)
17404 delete arg7;
17405 }
17406 return resultobj;
17407 fail:
17408 {
17409 if (temp7)
17410 delete arg7;
17411 }
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxToolBar *arg1 = (wxToolBar *) 0 ;
17419 int arg2 ;
17420 int arg3 ;
17421 wxToolBarToolBase *result;
17422 PyObject * obj0 = 0 ;
17423 PyObject * obj1 = 0 ;
17424 PyObject * obj2 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "x",(char *) "y", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17431 {
17432 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 {
17447 resultobj = wxPyMake_wxObject(result);
17448 }
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17456 PyObject *obj;
17457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17458 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17459 Py_INCREF(obj);
17460 return Py_BuildValue((char *)"");
17461 }
17462 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17463 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17464 return 1;
17465 }
17466
17467
17468 static PyObject *_wrap_ListCtrlNameStr_get() {
17469 PyObject *pyobj;
17470
17471 {
17472 #if wxUSE_UNICODE
17473 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17474 #else
17475 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17476 #endif
17477 }
17478 return pyobj;
17479 }
17480
17481
17482 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17483 PyObject *resultobj;
17484 wxColour const &arg1_defvalue = wxNullColour ;
17485 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17486 wxColour const &arg2_defvalue = wxNullColour ;
17487 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17488 wxFont const &arg3_defvalue = wxNullFont ;
17489 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17490 wxListItemAttr *result;
17491 wxColour temp1 ;
17492 wxColour temp2 ;
17493 PyObject * obj0 = 0 ;
17494 PyObject * obj1 = 0 ;
17495 PyObject * obj2 = 0 ;
17496 char *kwnames[] = {
17497 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17498 };
17499
17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17501 if (obj0) {
17502 {
17503 arg1 = &temp1;
17504 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17505 }
17506 }
17507 if (obj1) {
17508 {
17509 arg2 = &temp2;
17510 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17511 }
17512 }
17513 if (obj2) {
17514 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17515 if (arg3 == NULL) {
17516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17517 }
17518 }
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17536 wxColour *arg2 = 0 ;
17537 wxColour temp2 ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self",(char *) "colText", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17546 {
17547 arg2 = &temp2;
17548 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17549 }
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 (arg1)->SetTextColour((wxColour const &)*arg2);
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 Py_INCREF(Py_None); resultobj = Py_None;
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17567 wxColour *arg2 = 0 ;
17568 wxColour temp2 ;
17569 PyObject * obj0 = 0 ;
17570 PyObject * obj1 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "colBack", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 {
17578 arg2 = &temp2;
17579 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17580 }
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 Py_INCREF(Py_None); resultobj = Py_None;
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17598 wxFont *arg2 = 0 ;
17599 PyObject * obj0 = 0 ;
17600 PyObject * obj1 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self",(char *) "font", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 if (arg2 == NULL) {
17609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17610 }
17611 {
17612 PyThreadState* __tstate = wxPyBeginAllowThreads();
17613 (arg1)->SetFont((wxFont const &)*arg2);
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
17618 Py_INCREF(Py_None); resultobj = Py_None;
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17628 bool result;
17629 PyObject * obj0 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = (bool)(arg1)->HasTextColour();
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17653 bool result;
17654 PyObject * obj0 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (bool)(arg1)->HasBackgroundColour();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17678 bool result;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 result = (bool)(arg1)->HasFont();
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17703 wxColour result;
17704 PyObject * obj0 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 result = (arg1)->GetTextColour();
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 {
17719 wxColour * resultptr;
17720 resultptr = new wxColour((wxColour &) result);
17721 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17722 }
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17732 wxColour result;
17733 PyObject * obj0 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (arg1)->GetBackgroundColour();
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748 wxColour * resultptr;
17749 resultptr = new wxColour((wxColour &) result);
17750 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17751 }
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17761 wxFont result;
17762 PyObject * obj0 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (arg1)->GetFont();
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 {
17777 wxFont * resultptr;
17778 resultptr = new wxFont((wxFont &) result);
17779 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17780 }
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 wxListItemAttr_Destroy(arg1);
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 Py_INCREF(Py_None); resultobj = Py_None;
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17812 PyObject *obj;
17813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17814 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17815 Py_INCREF(obj);
17816 return Py_BuildValue((char *)"");
17817 }
17818 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxListItem *result;
17821 char *kwnames[] = {
17822 NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (wxListItem *)new wxListItem();
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 {
17834 resultobj = wxPyMake_wxObject(result);
17835 }
17836 return resultobj;
17837 fail:
17838 return NULL;
17839 }
17840
17841
17842 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxListItem *arg1 = (wxListItem *) 0 ;
17845 PyObject * obj0 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 delete arg1;
17855
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 Py_INCREF(Py_None); resultobj = Py_None;
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxListItem *arg1 = (wxListItem *) 0 ;
17869 PyObject * obj0 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->Clear();
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxListItem *arg1 = (wxListItem *) 0 ;
17893 PyObject * obj0 = 0 ;
17894 char *kwnames[] = {
17895 (char *) "self", NULL
17896 };
17897
17898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17900 {
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 (arg1)->ClearAttributes();
17903
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 Py_INCREF(Py_None); resultobj = Py_None;
17908 return resultobj;
17909 fail:
17910 return NULL;
17911 }
17912
17913
17914 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17915 PyObject *resultobj;
17916 wxListItem *arg1 = (wxListItem *) 0 ;
17917 long arg2 ;
17918 PyObject * obj0 = 0 ;
17919 PyObject * obj1 = 0 ;
17920 char *kwnames[] = {
17921 (char *) "self",(char *) "mask", NULL
17922 };
17923
17924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17926 {
17927 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 (arg1)->SetMask(arg2);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 Py_INCREF(Py_None); resultobj = Py_None;
17938 return resultobj;
17939 fail:
17940 return NULL;
17941 }
17942
17943
17944 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17945 PyObject *resultobj;
17946 wxListItem *arg1 = (wxListItem *) 0 ;
17947 long arg2 ;
17948 PyObject * obj0 = 0 ;
17949 PyObject * obj1 = 0 ;
17950 char *kwnames[] = {
17951 (char *) "self",(char *) "id", NULL
17952 };
17953
17954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17956 {
17957 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 (arg1)->SetId(arg2);
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 Py_INCREF(Py_None); resultobj = Py_None;
17968 return resultobj;
17969 fail:
17970 return NULL;
17971 }
17972
17973
17974 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxListItem *arg1 = (wxListItem *) 0 ;
17977 int arg2 ;
17978 PyObject * obj0 = 0 ;
17979 PyObject * obj1 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self",(char *) "col", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17986 {
17987 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 (arg1)->SetColumn(arg2);
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 Py_INCREF(Py_None); resultobj = Py_None;
17998 return resultobj;
17999 fail:
18000 return NULL;
18001 }
18002
18003
18004 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18005 PyObject *resultobj;
18006 wxListItem *arg1 = (wxListItem *) 0 ;
18007 long arg2 ;
18008 PyObject * obj0 = 0 ;
18009 PyObject * obj1 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self",(char *) "state", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18016 {
18017 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 (arg1)->SetState(arg2);
18023
18024 wxPyEndAllowThreads(__tstate);
18025 if (PyErr_Occurred()) SWIG_fail;
18026 }
18027 Py_INCREF(Py_None); resultobj = Py_None;
18028 return resultobj;
18029 fail:
18030 return NULL;
18031 }
18032
18033
18034 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18035 PyObject *resultobj;
18036 wxListItem *arg1 = (wxListItem *) 0 ;
18037 long arg2 ;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "stateMask", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18046 {
18047 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 (arg1)->SetStateMask(arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 Py_INCREF(Py_None); resultobj = Py_None;
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxListItem *arg1 = (wxListItem *) 0 ;
18067 wxString *arg2 = 0 ;
18068 bool temp2 = False ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "text", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18077 {
18078 arg2 = wxString_in_helper(obj1);
18079 if (arg2 == NULL) SWIG_fail;
18080 temp2 = True;
18081 }
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->SetText((wxString const &)*arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 {
18091 if (temp2)
18092 delete arg2;
18093 }
18094 return resultobj;
18095 fail:
18096 {
18097 if (temp2)
18098 delete arg2;
18099 }
18100 return NULL;
18101 }
18102
18103
18104 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj;
18106 wxListItem *arg1 = (wxListItem *) 0 ;
18107 int arg2 ;
18108 PyObject * obj0 = 0 ;
18109 PyObject * obj1 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "self",(char *) "image", NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 {
18117 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 (arg1)->SetImage(arg2);
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 Py_INCREF(Py_None); resultobj = Py_None;
18128 return resultobj;
18129 fail:
18130 return NULL;
18131 }
18132
18133
18134 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18135 PyObject *resultobj;
18136 wxListItem *arg1 = (wxListItem *) 0 ;
18137 long arg2 ;
18138 PyObject * obj0 = 0 ;
18139 PyObject * obj1 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self",(char *) "data", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18146 {
18147 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 }
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 (arg1)->SetData(arg2);
18153
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 Py_INCREF(Py_None); resultobj = Py_None;
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxListItem *arg1 = (wxListItem *) 0 ;
18167 int arg2 ;
18168 PyObject * obj0 = 0 ;
18169 PyObject * obj1 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self",(char *) "width", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18176 {
18177 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 (arg1)->SetWidth(arg2);
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 Py_INCREF(Py_None); resultobj = Py_None;
18188 return resultobj;
18189 fail:
18190 return NULL;
18191 }
18192
18193
18194 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj;
18196 wxListItem *arg1 = (wxListItem *) 0 ;
18197 int arg2 ;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self",(char *) "align", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18206 {
18207 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->SetAlign((wxListColumnFormat )arg2);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxListItem *arg1 = (wxListItem *) 0 ;
18227 wxColour *arg2 = 0 ;
18228 wxColour temp2 ;
18229 PyObject * obj0 = 0 ;
18230 PyObject * obj1 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self",(char *) "colText", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18237 {
18238 arg2 = &temp2;
18239 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18240 }
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 (arg1)->SetTextColour((wxColour 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_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18256 PyObject *resultobj;
18257 wxListItem *arg1 = (wxListItem *) 0 ;
18258 wxColour *arg2 = 0 ;
18259 wxColour temp2 ;
18260 PyObject * obj0 = 0 ;
18261 PyObject * obj1 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self",(char *) "colBack", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18268 {
18269 arg2 = &temp2;
18270 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18271 }
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 Py_INCREF(Py_None); resultobj = Py_None;
18280 return resultobj;
18281 fail:
18282 return NULL;
18283 }
18284
18285
18286 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj;
18288 wxListItem *arg1 = (wxListItem *) 0 ;
18289 wxFont *arg2 = 0 ;
18290 PyObject * obj0 = 0 ;
18291 PyObject * obj1 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self",(char *) "font", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18299 if (arg2 == NULL) {
18300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18301 }
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 (arg1)->SetFont((wxFont const &)*arg2);
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 Py_INCREF(Py_None); resultobj = Py_None;
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxListItem *arg1 = (wxListItem *) 0 ;
18319 long result;
18320 PyObject * obj0 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (long)(arg1)->GetMask();
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_PyObj_FromLong((long)result);
18335 return resultobj;
18336 fail:
18337 return NULL;
18338 }
18339
18340
18341 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxListItem *arg1 = (wxListItem *) 0 ;
18344 long result;
18345 PyObject * obj0 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 result = (long)(arg1)->GetId();
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = SWIG_PyObj_FromLong((long)result);
18360 return resultobj;
18361 fail:
18362 return NULL;
18363 }
18364
18365
18366 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxListItem *arg1 = (wxListItem *) 0 ;
18369 int result;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 result = (int)(arg1)->GetColumn();
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 resultobj = SWIG_PyObj_FromInt((int)result);
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxListItem *arg1 = (wxListItem *) 0 ;
18394 long result;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 result = (long)(arg1)->GetState();
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 resultobj = SWIG_PyObj_FromLong((long)result);
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxListItem *arg1 = (wxListItem *) 0 ;
18419 wxString *result;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 {
18430 wxString const &_result_ref = (arg1)->GetText();
18431 result = (wxString *) &_result_ref;
18432 }
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438 #if wxUSE_UNICODE
18439 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18440 #else
18441 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18442 #endif
18443 }
18444 return resultobj;
18445 fail:
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxListItem *arg1 = (wxListItem *) 0 ;
18453 int result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = (int)(arg1)->GetImage();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = SWIG_PyObj_FromInt((int)result);
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxListItem *arg1 = (wxListItem *) 0 ;
18478 long result;
18479 PyObject * obj0 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 result = (long)(arg1)->GetData();
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 resultobj = SWIG_PyObj_FromLong((long)result);
18494 return resultobj;
18495 fail:
18496 return NULL;
18497 }
18498
18499
18500 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18501 PyObject *resultobj;
18502 wxListItem *arg1 = (wxListItem *) 0 ;
18503 int result;
18504 PyObject * obj0 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (int)(arg1)->GetWidth();
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 resultobj = SWIG_PyObj_FromInt((int)result);
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxListItem *arg1 = (wxListItem *) 0 ;
18528 int result;
18529 PyObject * obj0 = 0 ;
18530 char *kwnames[] = {
18531 (char *) "self", NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (int)(arg1)->GetAlign();
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 resultobj = SWIG_PyObj_FromInt((int)result);
18544 return resultobj;
18545 fail:
18546 return NULL;
18547 }
18548
18549
18550 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj;
18552 wxListItem *arg1 = (wxListItem *) 0 ;
18553 wxListItemAttr *result;
18554 PyObject * obj0 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 result = (wxListItemAttr *)(arg1)->GetAttributes();
18564
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18569 return resultobj;
18570 fail:
18571 return NULL;
18572 }
18573
18574
18575 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxListItem *arg1 = (wxListItem *) 0 ;
18578 bool result;
18579 PyObject * obj0 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 result = (bool)(arg1)->HasAttributes();
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18594 return resultobj;
18595 fail:
18596 return NULL;
18597 }
18598
18599
18600 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj;
18602 wxListItem *arg1 = (wxListItem *) 0 ;
18603 wxColour result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = ((wxListItem const *)arg1)->GetTextColour();
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 {
18619 wxColour * resultptr;
18620 resultptr = new wxColour((wxColour &) result);
18621 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18622 }
18623 return resultobj;
18624 fail:
18625 return NULL;
18626 }
18627
18628
18629 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxListItem *arg1 = (wxListItem *) 0 ;
18632 wxColour result;
18633 PyObject * obj0 = 0 ;
18634 char *kwnames[] = {
18635 (char *) "self", NULL
18636 };
18637
18638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 {
18648 wxColour * resultptr;
18649 resultptr = new wxColour((wxColour &) result);
18650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18651 }
18652 return resultobj;
18653 fail:
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxListItem *arg1 = (wxListItem *) 0 ;
18661 wxFont result;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = ((wxListItem const *)arg1)->GetFont();
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 {
18677 wxFont * resultptr;
18678 resultptr = new wxFont((wxFont &) result);
18679 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18680 }
18681 return resultobj;
18682 fail:
18683 return NULL;
18684 }
18685
18686
18687 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18688 PyObject *resultobj;
18689 wxListItem *arg1 = (wxListItem *) 0 ;
18690 long arg2 ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj1 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "m_mask", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18699 {
18700 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
18703 if (arg1) (arg1)->m_mask = arg2;
18704
18705 Py_INCREF(Py_None); resultobj = Py_None;
18706 return resultobj;
18707 fail:
18708 return NULL;
18709 }
18710
18711
18712 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18713 PyObject *resultobj;
18714 wxListItem *arg1 = (wxListItem *) 0 ;
18715 long result;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 result = (long) ((arg1)->m_mask);
18724
18725 resultobj = SWIG_PyObj_FromLong((long)result);
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxListItem *arg1 = (wxListItem *) 0 ;
18735 long arg2 ;
18736 PyObject * obj0 = 0 ;
18737 PyObject * obj1 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self",(char *) "m_itemId", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 {
18745 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 if (arg1) (arg1)->m_itemId = arg2;
18749
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxListItem *arg1 = (wxListItem *) 0 ;
18760 long result;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18768 result = (long) ((arg1)->m_itemId);
18769
18770 resultobj = SWIG_PyObj_FromLong((long)result);
18771 return resultobj;
18772 fail:
18773 return NULL;
18774 }
18775
18776
18777 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18778 PyObject *resultobj;
18779 wxListItem *arg1 = (wxListItem *) 0 ;
18780 int arg2 ;
18781 PyObject * obj0 = 0 ;
18782 PyObject * obj1 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self",(char *) "m_col", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18789 {
18790 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 if (arg1) (arg1)->m_col = arg2;
18794
18795 Py_INCREF(Py_None); resultobj = Py_None;
18796 return resultobj;
18797 fail:
18798 return NULL;
18799 }
18800
18801
18802 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxListItem *arg1 = (wxListItem *) 0 ;
18805 int result;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18813 result = (int) ((arg1)->m_col);
18814
18815 resultobj = SWIG_PyObj_FromInt((int)result);
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxListItem *arg1 = (wxListItem *) 0 ;
18825 long arg2 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self",(char *) "m_state", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18834 {
18835 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 if (arg1) (arg1)->m_state = arg2;
18839
18840 Py_INCREF(Py_None); resultobj = Py_None;
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxListItem *arg1 = (wxListItem *) 0 ;
18850 long result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18858 result = (long) ((arg1)->m_state);
18859
18860 resultobj = SWIG_PyObj_FromLong((long)result);
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxListItem *arg1 = (wxListItem *) 0 ;
18870 long arg2 ;
18871 PyObject * obj0 = 0 ;
18872 PyObject * obj1 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "m_stateMask", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18879 {
18880 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 if (arg1) (arg1)->m_stateMask = arg2;
18884
18885 Py_INCREF(Py_None); resultobj = Py_None;
18886 return resultobj;
18887 fail:
18888 return NULL;
18889 }
18890
18891
18892 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18893 PyObject *resultobj;
18894 wxListItem *arg1 = (wxListItem *) 0 ;
18895 long result;
18896 PyObject * obj0 = 0 ;
18897 char *kwnames[] = {
18898 (char *) "self", NULL
18899 };
18900
18901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18903 result = (long) ((arg1)->m_stateMask);
18904
18905 resultobj = SWIG_PyObj_FromLong((long)result);
18906 return resultobj;
18907 fail:
18908 return NULL;
18909 }
18910
18911
18912 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxListItem *arg1 = (wxListItem *) 0 ;
18915 wxString *arg2 = (wxString *) 0 ;
18916 bool temp2 = False ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self",(char *) "m_text", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18925 {
18926 arg2 = wxString_in_helper(obj1);
18927 if (arg2 == NULL) SWIG_fail;
18928 temp2 = True;
18929 }
18930 if (arg1) (arg1)->m_text = *arg2;
18931
18932 Py_INCREF(Py_None); resultobj = Py_None;
18933 {
18934 if (temp2)
18935 delete arg2;
18936 }
18937 return resultobj;
18938 fail:
18939 {
18940 if (temp2)
18941 delete arg2;
18942 }
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxListItem *arg1 = (wxListItem *) 0 ;
18950 wxString *result;
18951 PyObject * obj0 = 0 ;
18952 char *kwnames[] = {
18953 (char *) "self", NULL
18954 };
18955
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18958 result = (wxString *)& ((arg1)->m_text);
18959
18960 {
18961 #if wxUSE_UNICODE
18962 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18963 #else
18964 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18965 #endif
18966 }
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxListItem *arg1 = (wxListItem *) 0 ;
18976 int arg2 ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "m_image", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18985 {
18986 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 if (arg1) (arg1)->m_image = arg2;
18990
18991 Py_INCREF(Py_None); resultobj = Py_None;
18992 return resultobj;
18993 fail:
18994 return NULL;
18995 }
18996
18997
18998 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18999 PyObject *resultobj;
19000 wxListItem *arg1 = (wxListItem *) 0 ;
19001 int result;
19002 PyObject * obj0 = 0 ;
19003 char *kwnames[] = {
19004 (char *) "self", NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19009 result = (int) ((arg1)->m_image);
19010
19011 resultobj = SWIG_PyObj_FromInt((int)result);
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxListItem *arg1 = (wxListItem *) 0 ;
19021 long arg2 ;
19022 PyObject * obj0 = 0 ;
19023 PyObject * obj1 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "m_data", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19030 {
19031 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 if (arg1) (arg1)->m_data = arg2;
19035
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxListItem *arg1 = (wxListItem *) 0 ;
19046 long result;
19047 PyObject * obj0 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19054 result = (long) ((arg1)->m_data);
19055
19056 resultobj = SWIG_PyObj_FromLong((long)result);
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxListItem *arg1 = (wxListItem *) 0 ;
19066 int arg2 ;
19067 PyObject * obj0 = 0 ;
19068 PyObject * obj1 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self",(char *) "m_format", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 {
19076 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 if (arg1) (arg1)->m_format = arg2;
19080
19081 Py_INCREF(Py_None); resultobj = Py_None;
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxListItem *arg1 = (wxListItem *) 0 ;
19091 int result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19099 result = (int) ((arg1)->m_format);
19100
19101 resultobj = SWIG_PyObj_FromInt((int)result);
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxListItem *arg1 = (wxListItem *) 0 ;
19111 int arg2 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "m_width", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19120 {
19121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 if (arg1) (arg1)->m_width = arg2;
19125
19126 Py_INCREF(Py_None); resultobj = Py_None;
19127 return resultobj;
19128 fail:
19129 return NULL;
19130 }
19131
19132
19133 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxListItem *arg1 = (wxListItem *) 0 ;
19136 int result;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19144 result = (int) ((arg1)->m_width);
19145
19146 resultobj = SWIG_PyObj_FromInt((int)result);
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19154 PyObject *obj;
19155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19156 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19157 Py_INCREF(obj);
19158 return Py_BuildValue((char *)"");
19159 }
19160 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj;
19162 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19163 int arg2 = (int) 0 ;
19164 wxListEvent *result;
19165 PyObject * obj0 = 0 ;
19166 PyObject * obj1 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "commandType",(char *) "id", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19172 if (obj0) {
19173 {
19174 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 }
19178 if (obj1) {
19179 {
19180 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 }
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxListEvent *arg1 = (wxListEvent *) 0 ;
19201 int arg2 ;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "m_code", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19210 {
19211 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 if (arg1) (arg1)->m_code = arg2;
19215
19216 Py_INCREF(Py_None); resultobj = Py_None;
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxListEvent *arg1 = (wxListEvent *) 0 ;
19226 int result;
19227 PyObject * obj0 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self", NULL
19230 };
19231
19232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19234 result = (int) ((arg1)->m_code);
19235
19236 resultobj = SWIG_PyObj_FromInt((int)result);
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxListEvent *arg1 = (wxListEvent *) 0 ;
19246 long arg2 ;
19247 PyObject * obj0 = 0 ;
19248 PyObject * obj1 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self",(char *) "m_oldItemIndex", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19255 {
19256 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
19259 if (arg1) (arg1)->m_oldItemIndex = arg2;
19260
19261 Py_INCREF(Py_None); resultobj = Py_None;
19262 return resultobj;
19263 fail:
19264 return NULL;
19265 }
19266
19267
19268 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj;
19270 wxListEvent *arg1 = (wxListEvent *) 0 ;
19271 long result;
19272 PyObject * obj0 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19279 result = (long) ((arg1)->m_oldItemIndex);
19280
19281 resultobj = SWIG_PyObj_FromLong((long)result);
19282 return resultobj;
19283 fail:
19284 return NULL;
19285 }
19286
19287
19288 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxListEvent *arg1 = (wxListEvent *) 0 ;
19291 long arg2 ;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "m_itemIndex", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19300 {
19301 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 if (arg1) (arg1)->m_itemIndex = arg2;
19305
19306 Py_INCREF(Py_None); resultobj = Py_None;
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj;
19315 wxListEvent *arg1 = (wxListEvent *) 0 ;
19316 long result;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19324 result = (long) ((arg1)->m_itemIndex);
19325
19326 resultobj = SWIG_PyObj_FromLong((long)result);
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxListEvent *arg1 = (wxListEvent *) 0 ;
19336 int arg2 ;
19337 PyObject * obj0 = 0 ;
19338 PyObject * obj1 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self",(char *) "m_col", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19345 {
19346 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 }
19349 if (arg1) (arg1)->m_col = arg2;
19350
19351 Py_INCREF(Py_None); resultobj = Py_None;
19352 return resultobj;
19353 fail:
19354 return NULL;
19355 }
19356
19357
19358 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19359 PyObject *resultobj;
19360 wxListEvent *arg1 = (wxListEvent *) 0 ;
19361 int result;
19362 PyObject * obj0 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19369 result = (int) ((arg1)->m_col);
19370
19371 resultobj = SWIG_PyObj_FromInt((int)result);
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxListEvent *arg1 = (wxListEvent *) 0 ;
19381 wxPoint *arg2 = (wxPoint *) 0 ;
19382 PyObject * obj0 = 0 ;
19383 PyObject * obj1 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self",(char *) "m_pointDrag", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19391 if (arg1) (arg1)->m_pointDrag = *arg2;
19392
19393 Py_INCREF(Py_None); resultobj = Py_None;
19394 return resultobj;
19395 fail:
19396 return NULL;
19397 }
19398
19399
19400 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19401 PyObject *resultobj;
19402 wxListEvent *arg1 = (wxListEvent *) 0 ;
19403 wxPoint *result;
19404 PyObject * obj0 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19411 result = (wxPoint *)& ((arg1)->m_pointDrag);
19412
19413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19414 return resultobj;
19415 fail:
19416 return NULL;
19417 }
19418
19419
19420 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxListEvent *arg1 = (wxListEvent *) 0 ;
19423 wxListItem *result;
19424 PyObject * obj0 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19431 result = (wxListItem *)& ((arg1)->m_item);
19432
19433 {
19434 resultobj = wxPyMake_wxObject(result);
19435 }
19436 return resultobj;
19437 fail:
19438 return NULL;
19439 }
19440
19441
19442 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxListEvent *arg1 = (wxListEvent *) 0 ;
19445 int result;
19446 PyObject * obj0 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (int)(arg1)->GetKeyCode();
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 resultobj = SWIG_PyObj_FromInt((int)result);
19461 return resultobj;
19462 fail:
19463 return NULL;
19464 }
19465
19466
19467 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxListEvent *arg1 = (wxListEvent *) 0 ;
19470 long result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 result = (long)(arg1)->GetIndex();
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 resultobj = SWIG_PyObj_FromLong((long)result);
19486 return resultobj;
19487 fail:
19488 return NULL;
19489 }
19490
19491
19492 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxListEvent *arg1 = (wxListEvent *) 0 ;
19495 int result;
19496 PyObject * obj0 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (int)(arg1)->GetColumn();
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 resultobj = SWIG_PyObj_FromInt((int)result);
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxListEvent *arg1 = (wxListEvent *) 0 ;
19520 wxPoint result;
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 result = (arg1)->GetPoint();
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 {
19536 wxPoint * resultptr;
19537 resultptr = new wxPoint((wxPoint &) result);
19538 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19539 }
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxListEvent *arg1 = (wxListEvent *) 0 ;
19549 wxString *result;
19550 PyObject * obj0 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 {
19560 wxString const &_result_ref = (arg1)->GetLabel();
19561 result = (wxString *) &_result_ref;
19562 }
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 {
19568 #if wxUSE_UNICODE
19569 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19570 #else
19571 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19572 #endif
19573 }
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxListEvent *arg1 = (wxListEvent *) 0 ;
19583 wxString *result;
19584 PyObject * obj0 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self", NULL
19587 };
19588
19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 {
19594 wxString const &_result_ref = (arg1)->GetText();
19595 result = (wxString *) &_result_ref;
19596 }
19597
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 {
19602 #if wxUSE_UNICODE
19603 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19604 #else
19605 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19606 #endif
19607 }
19608 return resultobj;
19609 fail:
19610 return NULL;
19611 }
19612
19613
19614 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxListEvent *arg1 = (wxListEvent *) 0 ;
19617 int result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (int)(arg1)->GetImage();
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 resultobj = SWIG_PyObj_FromInt((int)result);
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxListEvent *arg1 = (wxListEvent *) 0 ;
19642 long result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (long)(arg1)->GetData();
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = SWIG_PyObj_FromLong((long)result);
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxListEvent *arg1 = (wxListEvent *) 0 ;
19667 long result;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (long)(arg1)->GetMask();
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = SWIG_PyObj_FromLong((long)result);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxListEvent *arg1 = (wxListEvent *) 0 ;
19692 wxListItem *result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 {
19703 wxListItem const &_result_ref = (arg1)->GetItem();
19704 result = (wxListItem *) &_result_ref;
19705 }
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxListEvent *arg1 = (wxListEvent *) 0 ;
19720 long result;
19721 PyObject * obj0 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 result = (long)(arg1)->GetCacheFrom();
19731
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_PyObj_FromLong((long)result);
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19743 PyObject *resultobj;
19744 wxListEvent *arg1 = (wxListEvent *) 0 ;
19745 long result;
19746 PyObject * obj0 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 result = (long)(arg1)->GetCacheTo();
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 resultobj = SWIG_PyObj_FromLong((long)result);
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19768 PyObject *resultobj;
19769 wxListEvent *arg1 = (wxListEvent *) 0 ;
19770 bool result;
19771 PyObject * obj0 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19781
19782 wxPyEndAllowThreads(__tstate);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 }
19785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19786 return resultobj;
19787 fail:
19788 return NULL;
19789 }
19790
19791
19792 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxListEvent *arg1 = (wxListEvent *) 0 ;
19795 bool arg2 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "editCancelled", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 {
19805 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 (arg1)->SetEditCanceled(arg2);
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 Py_INCREF(Py_None); resultobj = Py_None;
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19823 PyObject *obj;
19824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19825 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19826 Py_INCREF(obj);
19827 return Py_BuildValue((char *)"");
19828 }
19829 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxWindow *arg1 = (wxWindow *) 0 ;
19832 int arg2 = (int) -1 ;
19833 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19834 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19835 wxSize const &arg4_defvalue = wxDefaultSize ;
19836 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19837 long arg5 = (long) wxLC_ICON ;
19838 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19839 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19840 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19841 wxString *arg7 = (wxString *) &arg7_defvalue ;
19842 wxPyListCtrl *result;
19843 wxPoint temp3 ;
19844 wxSize temp4 ;
19845 bool temp7 = False ;
19846 PyObject * obj0 = 0 ;
19847 PyObject * obj1 = 0 ;
19848 PyObject * obj2 = 0 ;
19849 PyObject * obj3 = 0 ;
19850 PyObject * obj4 = 0 ;
19851 PyObject * obj5 = 0 ;
19852 PyObject * obj6 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19859 if (obj1) {
19860 {
19861 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 }
19865 if (obj2) {
19866 {
19867 arg3 = &temp3;
19868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19869 }
19870 }
19871 if (obj3) {
19872 {
19873 arg4 = &temp4;
19874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19875 }
19876 }
19877 if (obj4) {
19878 {
19879 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 }
19883 if (obj5) {
19884 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19885 if (arg6 == NULL) {
19886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19887 }
19888 }
19889 if (obj6) {
19890 {
19891 arg7 = wxString_in_helper(obj6);
19892 if (arg7 == NULL) SWIG_fail;
19893 temp7 = True;
19894 }
19895 }
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19904 {
19905 if (temp7)
19906 delete arg7;
19907 }
19908 return resultobj;
19909 fail:
19910 {
19911 if (temp7)
19912 delete arg7;
19913 }
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxPyListCtrl *result;
19921 char *kwnames[] = {
19922 NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 result = (wxPyListCtrl *)new wxPyListCtrl();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj;
19942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19943 wxWindow *arg2 = (wxWindow *) 0 ;
19944 int arg3 = (int) -1 ;
19945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19947 wxSize const &arg5_defvalue = wxDefaultSize ;
19948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19949 long arg6 = (long) wxLC_ICON ;
19950 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19951 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19952 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19953 wxString *arg8 = (wxString *) &arg8_defvalue ;
19954 bool result;
19955 wxPoint temp4 ;
19956 wxSize temp5 ;
19957 bool temp8 = False ;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960 PyObject * obj2 = 0 ;
19961 PyObject * obj3 = 0 ;
19962 PyObject * obj4 = 0 ;
19963 PyObject * obj5 = 0 ;
19964 PyObject * obj6 = 0 ;
19965 PyObject * obj7 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 if (obj2) {
19974 {
19975 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 }
19979 if (obj3) {
19980 {
19981 arg4 = &temp4;
19982 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19983 }
19984 }
19985 if (obj4) {
19986 {
19987 arg5 = &temp5;
19988 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19989 }
19990 }
19991 if (obj5) {
19992 {
19993 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 }
19997 if (obj6) {
19998 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19999 if (arg7 == NULL) {
20000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20001 }
20002 }
20003 if (obj7) {
20004 {
20005 arg8 = wxString_in_helper(obj7);
20006 if (arg8 == NULL) SWIG_fail;
20007 temp8 = True;
20008 }
20009 }
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20018 {
20019 if (temp8)
20020 delete arg8;
20021 }
20022 return resultobj;
20023 fail:
20024 {
20025 if (temp8)
20026 delete arg8;
20027 }
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20035 PyObject *arg2 = (PyObject *) 0 ;
20036 PyObject *arg3 = (PyObject *) 0 ;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 PyObject * obj2 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "self",(char *) "_class", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 arg2 = obj1;
20047 arg3 = obj2;
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 (arg1)->_setCallbackInfo(arg2,arg3);
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 Py_INCREF(Py_None); resultobj = Py_None;
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20065 wxColour *arg2 = 0 ;
20066 bool result;
20067 wxColour temp2 ;
20068 PyObject * obj0 = 0 ;
20069 PyObject * obj1 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self",(char *) "col", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20076 {
20077 arg2 = &temp2;
20078 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20079 }
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20097 wxColour *arg2 = 0 ;
20098 bool result;
20099 wxColour temp2 ;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "col", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 {
20109 arg2 = &temp2;
20110 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20111 }
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20120 return resultobj;
20121 fail:
20122 return NULL;
20123 }
20124
20125
20126 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20127 PyObject *resultobj;
20128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20129 int arg2 ;
20130 wxListItem *result;
20131 PyObject * obj0 = 0 ;
20132 PyObject * obj1 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self",(char *) "col", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20139 {
20140 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151 resultobj = wxPyMake_wxObject(result);
20152 }
20153 return resultobj;
20154 fail:
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj;
20161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20162 int arg2 ;
20163 wxListItem *arg3 = 0 ;
20164 bool result;
20165 PyObject * obj0 = 0 ;
20166 PyObject * obj1 = 0 ;
20167 PyObject * obj2 = 0 ;
20168 char *kwnames[] = {
20169 (char *) "self",(char *) "col",(char *) "item", NULL
20170 };
20171
20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20174 {
20175 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20179 if (arg3 == NULL) {
20180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20181 }
20182 {
20183 PyThreadState* __tstate = wxPyBeginAllowThreads();
20184 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20185
20186 wxPyEndAllowThreads(__tstate);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20190 return resultobj;
20191 fail:
20192 return NULL;
20193 }
20194
20195
20196 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20197 PyObject *resultobj;
20198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20199 int arg2 ;
20200 int result;
20201 PyObject * obj0 = 0 ;
20202 PyObject * obj1 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self",(char *) "col", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20209 {
20210 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 resultobj = SWIG_PyObj_FromInt((int)result);
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj;
20229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20230 int arg2 ;
20231 int arg3 ;
20232 bool result;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 PyObject * obj2 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self",(char *) "col",(char *) "width", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20242 {
20243 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 }
20246 {
20247 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 }
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20267 int result;
20268 PyObject * obj0 = 0 ;
20269 char *kwnames[] = {
20270 (char *) "self", NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 resultobj = SWIG_PyObj_FromInt((int)result);
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20292 wxRect result;
20293 PyObject * obj0 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 {
20308 wxRect * resultptr;
20309 resultptr = new wxRect((wxRect &) result);
20310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20311 }
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20321 long arg2 ;
20322 int arg3 = (int) 0 ;
20323 wxListItem *result;
20324 PyObject * obj0 = 0 ;
20325 PyObject * obj1 = 0 ;
20326 PyObject * obj2 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self",(char *) "itemId",(char *) "col", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20333 {
20334 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 if (obj2) {
20338 {
20339 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 }
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20346
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 {
20351 resultobj = wxPyMake_wxObject(result);
20352 }
20353 return resultobj;
20354 fail:
20355 return NULL;
20356 }
20357
20358
20359 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20362 wxListItem *arg2 = 0 ;
20363 bool result;
20364 PyObject * obj0 = 0 ;
20365 PyObject * obj1 = 0 ;
20366 char *kwnames[] = {
20367 (char *) "self",(char *) "info", NULL
20368 };
20369
20370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20373 if (arg2 == NULL) {
20374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20375 }
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (bool)(arg1)->SetItem(*arg2);
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20393 long arg2 ;
20394 int arg3 ;
20395 wxString *arg4 = 0 ;
20396 int arg5 = (int) -1 ;
20397 long result;
20398 bool temp4 = False ;
20399 PyObject * obj0 = 0 ;
20400 PyObject * obj1 = 0 ;
20401 PyObject * obj2 = 0 ;
20402 PyObject * obj3 = 0 ;
20403 PyObject * obj4 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20410 {
20411 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 {
20415 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 {
20419 arg4 = wxString_in_helper(obj3);
20420 if (arg4 == NULL) SWIG_fail;
20421 temp4 = True;
20422 }
20423 if (obj4) {
20424 {
20425 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 }
20429 {
20430 PyThreadState* __tstate = wxPyBeginAllowThreads();
20431 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20432
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 resultobj = SWIG_PyObj_FromLong((long)result);
20437 {
20438 if (temp4)
20439 delete arg4;
20440 }
20441 return resultobj;
20442 fail:
20443 {
20444 if (temp4)
20445 delete arg4;
20446 }
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20454 long arg2 ;
20455 long arg3 ;
20456 int result;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj1 = 0 ;
20459 PyObject * obj2 = 0 ;
20460 char *kwnames[] = {
20461 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20462 };
20463
20464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20466 {
20467 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 {
20471 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 resultobj = SWIG_PyObj_FromInt((int)result);
20482 return resultobj;
20483 fail:
20484 return NULL;
20485 }
20486
20487
20488 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20491 long arg2 ;
20492 long arg3 ;
20493 long arg4 ;
20494 bool result;
20495 PyObject * obj0 = 0 ;
20496 PyObject * obj1 = 0 ;
20497 PyObject * obj2 = 0 ;
20498 PyObject * obj3 = 0 ;
20499 char *kwnames[] = {
20500 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20505 {
20506 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 {
20510 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 {
20514 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20534 long arg2 ;
20535 int arg3 ;
20536 int arg4 ;
20537 bool result;
20538 PyObject * obj0 = 0 ;
20539 PyObject * obj1 = 0 ;
20540 PyObject * obj2 = 0 ;
20541 PyObject * obj3 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20548 {
20549 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 {
20553 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
20556 {
20557 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20577 long arg2 ;
20578 wxString result;
20579 PyObject * obj0 = 0 ;
20580 PyObject * obj1 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "item", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20587 {
20588 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 {
20599 #if wxUSE_UNICODE
20600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20601 #else
20602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20603 #endif
20604 }
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20614 long arg2 ;
20615 wxString *arg3 = 0 ;
20616 bool temp3 = False ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619 PyObject * obj2 = 0 ;
20620 char *kwnames[] = {
20621 (char *) "self",(char *) "item",(char *) "str", NULL
20622 };
20623
20624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20626 {
20627 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 {
20631 arg3 = wxString_in_helper(obj2);
20632 if (arg3 == NULL) SWIG_fail;
20633 temp3 = True;
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 Py_INCREF(Py_None); resultobj = Py_None;
20643 {
20644 if (temp3)
20645 delete arg3;
20646 }
20647 return resultobj;
20648 fail:
20649 {
20650 if (temp3)
20651 delete arg3;
20652 }
20653 return NULL;
20654 }
20655
20656
20657 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20658 PyObject *resultobj;
20659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20660 long arg2 ;
20661 long result;
20662 PyObject * obj0 = 0 ;
20663 PyObject * obj1 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "item", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 {
20671 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 resultobj = SWIG_PyObj_FromLong((long)result);
20682 return resultobj;
20683 fail:
20684 return NULL;
20685 }
20686
20687
20688 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20689 PyObject *resultobj;
20690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20691 long arg2 ;
20692 long arg3 ;
20693 bool result;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 PyObject * obj2 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "item",(char *) "data", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20703 {
20704 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 {
20708 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (bool)(arg1)->SetItemData(arg2,arg3);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20728 long arg2 ;
20729 wxPoint result;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "item", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20738 {
20739 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 {
20750 wxPoint * resultptr;
20751 resultptr = new wxPoint((wxPoint &) result);
20752 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20753 }
20754 return resultobj;
20755 fail:
20756 return NULL;
20757 }
20758
20759
20760 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20763 long arg2 ;
20764 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20765 wxRect result;
20766 PyObject * obj0 = 0 ;
20767 PyObject * obj1 = 0 ;
20768 PyObject * obj2 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "self",(char *) "item",(char *) "code", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20775 {
20776 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 if (obj2) {
20780 {
20781 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 }
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 {
20793 wxRect * resultptr;
20794 resultptr = new wxRect((wxRect &) result);
20795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20796 }
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj;
20805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20806 long arg2 ;
20807 wxPoint *arg3 = 0 ;
20808 bool result;
20809 wxPoint temp3 ;
20810 PyObject * obj0 = 0 ;
20811 PyObject * obj1 = 0 ;
20812 PyObject * obj2 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "self",(char *) "item",(char *) "pos", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20819 {
20820 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 {
20824 arg3 = &temp3;
20825 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20826 }
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20835 return resultobj;
20836 fail:
20837 return NULL;
20838 }
20839
20840
20841 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20842 PyObject *resultobj;
20843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20844 int result;
20845 PyObject * obj0 = 0 ;
20846 char *kwnames[] = {
20847 (char *) "self", NULL
20848 };
20849
20850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 resultobj = SWIG_PyObj_FromInt((int)result);
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20869 int result;
20870 PyObject * obj0 = 0 ;
20871 char *kwnames[] = {
20872 (char *) "self", NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 resultobj = SWIG_PyObj_FromInt((int)result);
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20894 wxSize result;
20895 PyObject * obj0 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 {
20910 wxSize * resultptr;
20911 resultptr = new wxSize((wxSize &) result);
20912 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20913 }
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20923 int arg2 ;
20924 bool arg3 = (bool) False ;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 PyObject * obj2 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20934 {
20935 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 if (obj2) {
20939 {
20940 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 }
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 (arg1)->SetItemSpacing(arg2,arg3);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 Py_INCREF(Py_None); resultobj = Py_None;
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20961 int result;
20962 PyObject * obj0 = 0 ;
20963 char *kwnames[] = {
20964 (char *) "self", NULL
20965 };
20966
20967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 resultobj = SWIG_PyObj_FromInt((int)result);
20977 return resultobj;
20978 fail:
20979 return NULL;
20980 }
20981
20982
20983 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20986 wxColour result;
20987 PyObject * obj0 = 0 ;
20988 char *kwnames[] = {
20989 (char *) "self", NULL
20990 };
20991
20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 {
21002 wxColour * resultptr;
21003 resultptr = new wxColour((wxColour &) result);
21004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21005 }
21006 return resultobj;
21007 fail:
21008 return NULL;
21009 }
21010
21011
21012 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21015 wxColour *arg2 = 0 ;
21016 wxColour temp2 ;
21017 PyObject * obj0 = 0 ;
21018 PyObject * obj1 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self",(char *) "col", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21025 {
21026 arg2 = &temp2;
21027 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21028 }
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 (arg1)->SetTextColour((wxColour const &)*arg2);
21032
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
21036 Py_INCREF(Py_None); resultobj = Py_None;
21037 return resultobj;
21038 fail:
21039 return NULL;
21040 }
21041
21042
21043 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj;
21045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21046 long result;
21047 PyObject * obj0 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21054 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21057
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 resultobj = SWIG_PyObj_FromLong((long)result);
21062 return resultobj;
21063 fail:
21064 return NULL;
21065 }
21066
21067
21068 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21071 long arg2 ;
21072 bool arg3 = (bool) True ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 PyObject * obj2 = 0 ;
21076 char *kwnames[] = {
21077 (char *) "self",(char *) "style",(char *) "add", NULL
21078 };
21079
21080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21082 {
21083 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 if (obj2) {
21087 {
21088 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 }
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 (arg1)->SetSingleStyle(arg2,arg3);
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 Py_INCREF(Py_None); resultobj = Py_None;
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21109 long arg2 ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self",(char *) "style", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21118 {
21119 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21120 if (PyErr_Occurred()) SWIG_fail;
21121 }
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 (arg1)->SetWindowStyleFlag(arg2);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 Py_INCREF(Py_None); resultobj = Py_None;
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21139 long arg2 ;
21140 int arg3 = (int) wxLIST_NEXT_ALL ;
21141 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21142 long result;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 PyObject * obj2 = 0 ;
21146 PyObject * obj3 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21153 {
21154 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 if (obj2) {
21158 {
21159 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 }
21163 if (obj3) {
21164 {
21165 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 }
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 resultobj = SWIG_PyObj_FromLong((long)result);
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj;
21185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21186 int arg2 ;
21187 wxImageList *result;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 char *kwnames[] = {
21191 (char *) "self",(char *) "which", NULL
21192 };
21193
21194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21196 {
21197 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21203
21204 wxPyEndAllowThreads(__tstate);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 }
21207 {
21208 resultobj = wxPyMake_wxObject(result);
21209 }
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21219 wxImageList *arg2 = (wxImageList *) 0 ;
21220 int arg3 ;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 PyObject * obj2 = 0 ;
21224 char *kwnames[] = {
21225 (char *) "self",(char *) "imageList",(char *) "which", NULL
21226 };
21227
21228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21231 {
21232 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 (arg1)->SetImageList(arg2,arg3);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 Py_INCREF(Py_None); resultobj = Py_None;
21243 return resultobj;
21244 fail:
21245 return NULL;
21246 }
21247
21248
21249 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21250 PyObject *resultobj;
21251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21252 wxImageList *arg2 = (wxImageList *) 0 ;
21253 int arg3 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 PyObject * obj2 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self",(char *) "imageList",(char *) "which", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21264 {
21265 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 (arg1)->AssignImageList(arg2,arg3);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 Py_INCREF(Py_None); resultobj = Py_None;
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21285 bool result;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21310 long arg2 ;
21311 PyObject * obj0 = 0 ;
21312 PyObject * obj1 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self",(char *) "item", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21319 {
21320 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 (arg1)->RefreshItem(arg2);
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 Py_INCREF(Py_None); resultobj = Py_None;
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21340 long arg2 ;
21341 long arg3 ;
21342 PyObject * obj0 = 0 ;
21343 PyObject * obj1 = 0 ;
21344 PyObject * obj2 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21351 {
21352 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 {
21356 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 (arg1)->RefreshItems(arg2,arg3);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21376 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21377 bool result;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "flag", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 if (obj1) {
21387 {
21388 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 }
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 result = (bool)(arg1)->Arrange(arg2);
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21409 long arg2 ;
21410 bool result;
21411 PyObject * obj0 = 0 ;
21412 PyObject * obj1 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "item", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21419 {
21420 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
21425 result = (bool)(arg1)->DeleteItem(arg2);
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21431 return resultobj;
21432 fail:
21433 return NULL;
21434 }
21435
21436
21437 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj;
21439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21440 bool result;
21441 PyObject * obj0 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 result = (bool)(arg1)->DeleteAllItems();
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21465 int arg2 ;
21466 bool result;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self",(char *) "col", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 {
21476 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (bool)(arg1)->DeleteColumn(arg2);
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21496 bool result;
21497 PyObject * obj0 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (bool)(arg1)->DeleteAllColumns();
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21521 PyObject * obj0 = 0 ;
21522 char *kwnames[] = {
21523 (char *) "self", NULL
21524 };
21525
21526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->ClearAll();
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21545 long arg2 ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "item", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21554 {
21555 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 (arg1)->EditLabel(arg2);
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 Py_INCREF(Py_None); resultobj = Py_None;
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21575 long arg2 ;
21576 bool result;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "item", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21585 {
21586 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = (bool)(arg1)->EnsureVisible(arg2);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21606 long arg2 ;
21607 wxString *arg3 = 0 ;
21608 bool arg4 = (bool) False ;
21609 long result;
21610 bool temp3 = False ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 PyObject * obj2 = 0 ;
21614 PyObject * obj3 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21621 {
21622 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 {
21626 arg3 = wxString_in_helper(obj2);
21627 if (arg3 == NULL) SWIG_fail;
21628 temp3 = True;
21629 }
21630 if (obj3) {
21631 {
21632 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 }
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 resultobj = SWIG_PyObj_FromLong((long)result);
21644 {
21645 if (temp3)
21646 delete arg3;
21647 }
21648 return resultobj;
21649 fail:
21650 {
21651 if (temp3)
21652 delete arg3;
21653 }
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21661 long arg2 ;
21662 long arg3 ;
21663 long result;
21664 PyObject * obj0 = 0 ;
21665 PyObject * obj1 = 0 ;
21666 PyObject * obj2 = 0 ;
21667 char *kwnames[] = {
21668 (char *) "self",(char *) "start",(char *) "data", NULL
21669 };
21670
21671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21673 {
21674 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 {
21678 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (long)(arg1)->FindItem(arg2,arg3);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 resultobj = SWIG_PyObj_FromLong((long)result);
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj;
21697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21698 long arg2 ;
21699 wxPoint *arg3 = 0 ;
21700 int arg4 ;
21701 long result;
21702 wxPoint temp3 ;
21703 PyObject * obj0 = 0 ;
21704 PyObject * obj1 = 0 ;
21705 PyObject * obj2 = 0 ;
21706 PyObject * obj3 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21713 {
21714 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 arg3 = &temp3;
21719 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21720 }
21721 {
21722 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 resultobj = SWIG_PyObj_FromLong((long)result);
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj;
21741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21742 wxPoint *arg2 = 0 ;
21743 int *arg3 = 0 ;
21744 long result;
21745 wxPoint temp2 ;
21746 int temp3 ;
21747 PyObject * obj0 = 0 ;
21748 PyObject * obj1 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self",(char *) "point", NULL
21751 };
21752
21753 arg3 = &temp3;
21754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21756 {
21757 arg2 = &temp2;
21758 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21759 }
21760 {
21761 PyThreadState* __tstate = wxPyBeginAllowThreads();
21762 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21763
21764 wxPyEndAllowThreads(__tstate);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 resultobj = SWIG_PyObj_FromLong((long)result);
21768 {
21769 PyObject *o = PyInt_FromLong((long) (*arg3));
21770 resultobj = t_output_helper(resultobj,o);
21771 }
21772 return resultobj;
21773 fail:
21774 return NULL;
21775 }
21776
21777
21778 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj;
21780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21781 wxListItem *arg2 = 0 ;
21782 long result;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self",(char *) "info", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21792 if (arg2 == NULL) {
21793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21794 }
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 result = (long)(arg1)->InsertItem(*arg2);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 resultobj = SWIG_PyObj_FromLong((long)result);
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21812 long arg2 ;
21813 wxString *arg3 = 0 ;
21814 long result;
21815 bool temp3 = False ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 PyObject * obj2 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "index",(char *) "label", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21825 {
21826 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 {
21830 arg3 = wxString_in_helper(obj2);
21831 if (arg3 == NULL) SWIG_fail;
21832 temp3 = True;
21833 }
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 resultobj = SWIG_PyObj_FromLong((long)result);
21842 {
21843 if (temp3)
21844 delete arg3;
21845 }
21846 return resultobj;
21847 fail:
21848 {
21849 if (temp3)
21850 delete arg3;
21851 }
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21859 long arg2 ;
21860 int arg3 ;
21861 long result;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 PyObject * obj2 = 0 ;
21865 char *kwnames[] = {
21866 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21867 };
21868
21869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21871 {
21872 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 {
21876 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 {
21880 PyThreadState* __tstate = wxPyBeginAllowThreads();
21881 result = (long)(arg1)->InsertItem(arg2,arg3);
21882
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 resultobj = SWIG_PyObj_FromLong((long)result);
21887 return resultobj;
21888 fail:
21889 return NULL;
21890 }
21891
21892
21893 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21894 PyObject *resultobj;
21895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21896 long arg2 ;
21897 wxString *arg3 = 0 ;
21898 int arg4 ;
21899 long result;
21900 bool temp3 = False ;
21901 PyObject * obj0 = 0 ;
21902 PyObject * obj1 = 0 ;
21903 PyObject * obj2 = 0 ;
21904 PyObject * obj3 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21911 {
21912 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 {
21916 arg3 = wxString_in_helper(obj2);
21917 if (arg3 == NULL) SWIG_fail;
21918 temp3 = True;
21919 }
21920 {
21921 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 }
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 resultobj = SWIG_PyObj_FromLong((long)result);
21932 {
21933 if (temp3)
21934 delete arg3;
21935 }
21936 return resultobj;
21937 fail:
21938 {
21939 if (temp3)
21940 delete arg3;
21941 }
21942 return NULL;
21943 }
21944
21945
21946 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21949 long arg2 ;
21950 wxListItem *arg3 = 0 ;
21951 long result;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 PyObject * obj2 = 0 ;
21955 char *kwnames[] = {
21956 (char *) "self",(char *) "col",(char *) "info", NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21961 {
21962 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 if (arg3 == NULL) {
21967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21968 }
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 resultobj = SWIG_PyObj_FromLong((long)result);
21977 return resultobj;
21978 fail:
21979 return NULL;
21980 }
21981
21982
21983 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21984 PyObject *resultobj;
21985 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21986 long arg2 ;
21987 wxString *arg3 = 0 ;
21988 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21989 int arg5 = (int) -1 ;
21990 long result;
21991 bool temp3 = False ;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 PyObject * obj2 = 0 ;
21995 PyObject * obj3 = 0 ;
21996 PyObject * obj4 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 {
22004 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 {
22008 arg3 = wxString_in_helper(obj2);
22009 if (arg3 == NULL) SWIG_fail;
22010 temp3 = True;
22011 }
22012 if (obj3) {
22013 {
22014 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 }
22018 if (obj4) {
22019 {
22020 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 }
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 resultobj = SWIG_PyObj_FromLong((long)result);
22032 {
22033 if (temp3)
22034 delete arg3;
22035 }
22036 return resultobj;
22037 fail:
22038 {
22039 if (temp3)
22040 delete arg3;
22041 }
22042 return NULL;
22043 }
22044
22045
22046 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22047 PyObject *resultobj;
22048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22049 long arg2 ;
22050 PyObject * obj0 = 0 ;
22051 PyObject * obj1 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "count", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22058 {
22059 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->SetItemCount(arg2);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22079 int arg2 ;
22080 int arg3 ;
22081 bool result;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 PyObject * obj2 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "dx",(char *) "dy", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22091 {
22092 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
22095 {
22096 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (bool)(arg1)->ScrollList(arg2,arg3);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22107 return resultobj;
22108 fail:
22109 return NULL;
22110 }
22111
22112
22113 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj;
22115 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22116 long arg2 ;
22117 wxColour *arg3 = 0 ;
22118 wxColour temp3 ;
22119 PyObject * obj0 = 0 ;
22120 PyObject * obj1 = 0 ;
22121 PyObject * obj2 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self",(char *) "item",(char *) "col", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22128 {
22129 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 {
22133 arg3 = &temp3;
22134 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22135 }
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 Py_INCREF(Py_None); resultobj = Py_None;
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22153 long arg2 ;
22154 wxColour result;
22155 PyObject * obj0 = 0 ;
22156 PyObject * obj1 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self",(char *) "item", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22163 {
22164 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22170
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 {
22175 wxColour * resultptr;
22176 resultptr = new wxColour((wxColour &) result);
22177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22178 }
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj;
22187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22188 long arg2 ;
22189 wxColour *arg3 = 0 ;
22190 wxColour temp3 ;
22191 PyObject * obj0 = 0 ;
22192 PyObject * obj1 = 0 ;
22193 PyObject * obj2 = 0 ;
22194 char *kwnames[] = {
22195 (char *) "self",(char *) "item",(char *) "col", NULL
22196 };
22197
22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22200 {
22201 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 {
22205 arg3 = &temp3;
22206 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 Py_INCREF(Py_None); resultobj = Py_None;
22216 return resultobj;
22217 fail:
22218 return NULL;
22219 }
22220
22221
22222 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22223 PyObject *resultobj;
22224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22225 long arg2 ;
22226 wxColour result;
22227 PyObject * obj0 = 0 ;
22228 PyObject * obj1 = 0 ;
22229 char *kwnames[] = {
22230 (char *) "self",(char *) "item", NULL
22231 };
22232
22233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22235 {
22236 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
22246 {
22247 wxColour * resultptr;
22248 resultptr = new wxColour((wxColour &) result);
22249 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22250 }
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22260 PyObject *arg2 = (PyObject *) 0 ;
22261 bool result;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "func", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 arg2 = obj1;
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22279 return resultobj;
22280 fail:
22281 return NULL;
22282 }
22283
22284
22285 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj;
22287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22288 wxWindow *result;
22289 PyObject * obj0 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 {
22304 resultobj = wxPyMake_wxObject(result);
22305 }
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22313 PyObject *obj;
22314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22315 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22316 Py_INCREF(obj);
22317 return Py_BuildValue((char *)"");
22318 }
22319 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxWindow *arg1 = (wxWindow *) 0 ;
22322 int arg2 = (int) -1 ;
22323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22325 wxSize const &arg4_defvalue = wxDefaultSize ;
22326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22327 long arg5 = (long) wxLC_REPORT ;
22328 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22329 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22330 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22331 wxString *arg7 = (wxString *) &arg7_defvalue ;
22332 wxListView *result;
22333 wxPoint temp3 ;
22334 wxSize temp4 ;
22335 bool temp7 = False ;
22336 PyObject * obj0 = 0 ;
22337 PyObject * obj1 = 0 ;
22338 PyObject * obj2 = 0 ;
22339 PyObject * obj3 = 0 ;
22340 PyObject * obj4 = 0 ;
22341 PyObject * obj5 = 0 ;
22342 PyObject * obj6 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22349 if (obj1) {
22350 {
22351 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 }
22355 if (obj2) {
22356 {
22357 arg3 = &temp3;
22358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22359 }
22360 }
22361 if (obj3) {
22362 {
22363 arg4 = &temp4;
22364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22365 }
22366 }
22367 if (obj4) {
22368 {
22369 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 }
22372 }
22373 if (obj5) {
22374 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22375 if (arg6 == NULL) {
22376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22377 }
22378 }
22379 if (obj6) {
22380 {
22381 arg7 = wxString_in_helper(obj6);
22382 if (arg7 == NULL) SWIG_fail;
22383 temp7 = True;
22384 }
22385 }
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22394 {
22395 if (temp7)
22396 delete arg7;
22397 }
22398 return resultobj;
22399 fail:
22400 {
22401 if (temp7)
22402 delete arg7;
22403 }
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxListView *result;
22411 char *kwnames[] = {
22412 NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 result = (wxListView *)new wxListView();
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22424 return resultobj;
22425 fail:
22426 return NULL;
22427 }
22428
22429
22430 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22431 PyObject *resultobj;
22432 wxListView *arg1 = (wxListView *) 0 ;
22433 wxWindow *arg2 = (wxWindow *) 0 ;
22434 int arg3 = (int) -1 ;
22435 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22436 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22437 wxSize const &arg5_defvalue = wxDefaultSize ;
22438 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22439 long arg6 = (long) wxLC_REPORT ;
22440 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22441 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22442 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22443 wxString *arg8 = (wxString *) &arg8_defvalue ;
22444 bool result;
22445 wxPoint temp4 ;
22446 wxSize temp5 ;
22447 bool temp8 = False ;
22448 PyObject * obj0 = 0 ;
22449 PyObject * obj1 = 0 ;
22450 PyObject * obj2 = 0 ;
22451 PyObject * obj3 = 0 ;
22452 PyObject * obj4 = 0 ;
22453 PyObject * obj5 = 0 ;
22454 PyObject * obj6 = 0 ;
22455 PyObject * obj7 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22463 if (obj2) {
22464 {
22465 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 }
22469 if (obj3) {
22470 {
22471 arg4 = &temp4;
22472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22473 }
22474 }
22475 if (obj4) {
22476 {
22477 arg5 = &temp5;
22478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22479 }
22480 }
22481 if (obj5) {
22482 {
22483 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22484 if (PyErr_Occurred()) SWIG_fail;
22485 }
22486 }
22487 if (obj6) {
22488 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22489 if (arg7 == NULL) {
22490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22491 }
22492 }
22493 if (obj7) {
22494 {
22495 arg8 = wxString_in_helper(obj7);
22496 if (arg8 == NULL) SWIG_fail;
22497 temp8 = True;
22498 }
22499 }
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22508 {
22509 if (temp8)
22510 delete arg8;
22511 }
22512 return resultobj;
22513 fail:
22514 {
22515 if (temp8)
22516 delete arg8;
22517 }
22518 return NULL;
22519 }
22520
22521
22522 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22523 PyObject *resultobj;
22524 wxListView *arg1 = (wxListView *) 0 ;
22525 long arg2 ;
22526 bool arg3 = (bool) True ;
22527 PyObject * obj0 = 0 ;
22528 PyObject * obj1 = 0 ;
22529 PyObject * obj2 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self",(char *) "n",(char *) "on", NULL
22532 };
22533
22534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22536 {
22537 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 if (obj2) {
22541 {
22542 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 }
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 (arg1)->Select(arg2,arg3);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 Py_INCREF(Py_None); resultobj = Py_None;
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxListView *arg1 = (wxListView *) 0 ;
22563 long arg2 ;
22564 PyObject * obj0 = 0 ;
22565 PyObject * obj1 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self",(char *) "index", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22572 {
22573 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 (arg1)->Focus(arg2);
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 Py_INCREF(Py_None); resultobj = Py_None;
22584 return resultobj;
22585 fail:
22586 return NULL;
22587 }
22588
22589
22590 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22591 PyObject *resultobj;
22592 wxListView *arg1 = (wxListView *) 0 ;
22593 long result;
22594 PyObject * obj0 = 0 ;
22595 char *kwnames[] = {
22596 (char *) "self", NULL
22597 };
22598
22599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22601 {
22602 PyThreadState* __tstate = wxPyBeginAllowThreads();
22603 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22604
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 resultobj = SWIG_PyObj_FromLong((long)result);
22609 return resultobj;
22610 fail:
22611 return NULL;
22612 }
22613
22614
22615 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj;
22617 wxListView *arg1 = (wxListView *) 0 ;
22618 long arg2 ;
22619 long result;
22620 PyObject * obj0 = 0 ;
22621 PyObject * obj1 = 0 ;
22622 char *kwnames[] = {
22623 (char *) "self",(char *) "item", NULL
22624 };
22625
22626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22628 {
22629 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 resultobj = SWIG_PyObj_FromLong((long)result);
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxListView *arg1 = (wxListView *) 0 ;
22649 long result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 resultobj = SWIG_PyObj_FromLong((long)result);
22665 return resultobj;
22666 fail:
22667 return NULL;
22668 }
22669
22670
22671 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22672 PyObject *resultobj;
22673 wxListView *arg1 = (wxListView *) 0 ;
22674 long arg2 ;
22675 bool result;
22676 PyObject * obj0 = 0 ;
22677 PyObject * obj1 = 0 ;
22678 char *kwnames[] = {
22679 (char *) "self",(char *) "index", NULL
22680 };
22681
22682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22684 {
22685 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 result = (bool)(arg1)->IsSelected(arg2);
22691
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22703 PyObject *resultobj;
22704 wxListView *arg1 = (wxListView *) 0 ;
22705 int arg2 ;
22706 int arg3 ;
22707 PyObject * obj0 = 0 ;
22708 PyObject * obj1 = 0 ;
22709 PyObject * obj2 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self",(char *) "col",(char *) "image", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22716 {
22717 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 {
22721 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 }
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 (arg1)->SetColumnImage(arg2,arg3);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 Py_INCREF(Py_None); resultobj = Py_None;
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxListView *arg1 = (wxListView *) 0 ;
22741 int arg2 ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "col", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22750 {
22751 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 (arg1)->ClearColumnImage(arg2);
22757
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 Py_INCREF(Py_None); resultobj = Py_None;
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22769 PyObject *obj;
22770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22771 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22772 Py_INCREF(obj);
22773 return Py_BuildValue((char *)"");
22774 }
22775 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
22776 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22777 return 1;
22778 }
22779
22780
22781 static PyObject *_wrap_TreeCtrlNameStr_get() {
22782 PyObject *pyobj;
22783
22784 {
22785 #if wxUSE_UNICODE
22786 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22787 #else
22788 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22789 #endif
22790 }
22791 return pyobj;
22792 }
22793
22794
22795 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22796 PyObject *resultobj;
22797 wxTreeItemId *result;
22798 char *kwnames[] = {
22799 NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = (wxTreeItemId *)new wxTreeItemId();
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22811 return resultobj;
22812 fail:
22813 return NULL;
22814 }
22815
22816
22817 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj;
22819 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22820 PyObject * obj0 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 delete arg1;
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 Py_INCREF(Py_None); resultobj = Py_None;
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22844 bool result;
22845 PyObject * obj0 = 0 ;
22846 char *kwnames[] = {
22847 (char *) "self", NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22860 return resultobj;
22861 fail:
22862 return NULL;
22863 }
22864
22865
22866 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj;
22868 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22869 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22870 bool result;
22871 PyObject * obj0 = 0 ;
22872 PyObject * obj1 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self",(char *) "other", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22888 return resultobj;
22889 fail:
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22897 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22898 bool result;
22899 PyObject * obj0 = 0 ;
22900 PyObject * obj1 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "other", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22925 void *arg2 = (void *) 0 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "m_pItem", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22935 if (arg1) (arg1)->m_pItem = arg2;
22936
22937 Py_INCREF(Py_None); resultobj = Py_None;
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22947 void *result;
22948 PyObject * obj0 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22955 result = (void *) ((arg1)->m_pItem);
22956
22957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22958 return resultobj;
22959 fail:
22960 return NULL;
22961 }
22962
22963
22964 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22965 PyObject *obj;
22966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22967 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22968 Py_INCREF(obj);
22969 return Py_BuildValue((char *)"");
22970 }
22971 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj;
22973 PyObject *arg1 = (PyObject *) NULL ;
22974 wxPyTreeItemData *result;
22975 PyObject * obj0 = 0 ;
22976 char *kwnames[] = {
22977 (char *) "obj", NULL
22978 };
22979
22980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22981 if (obj0) {
22982 arg1 = obj0;
22983 }
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23001 PyObject *result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23009 {
23010 PyThreadState* __tstate = wxPyBeginAllowThreads();
23011 result = (PyObject *)(arg1)->GetData();
23012
23013 wxPyEndAllowThreads(__tstate);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 resultobj = result;
23017 return resultobj;
23018 fail:
23019 return NULL;
23020 }
23021
23022
23023 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23024 PyObject *resultobj;
23025 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23026 PyObject *arg2 = (PyObject *) 0 ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "self",(char *) "obj", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23035 arg2 = obj1;
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 (arg1)->SetData(arg2);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 Py_INCREF(Py_None); resultobj = Py_None;
23044 return resultobj;
23045 fail:
23046 return NULL;
23047 }
23048
23049
23050 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23053 wxTreeItemId *result;
23054 PyObject * obj0 = 0 ;
23055 char *kwnames[] = {
23056 (char *) "self", NULL
23057 };
23058
23059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 {
23064 wxTreeItemId const &_result_ref = (arg1)->GetId();
23065 result = (wxTreeItemId *) &_result_ref;
23066 }
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23081 wxTreeItemId *arg2 = 0 ;
23082 PyObject * obj0 = 0 ;
23083 PyObject * obj1 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self",(char *) "id", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23091 if (arg2 == NULL) {
23092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23093 }
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 (arg1)->SetId((wxTreeItemId const &)*arg2);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 Py_INCREF(Py_None); resultobj = Py_None;
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23111 PyObject * obj0 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 wxPyTreeItemData_Destroy(arg1);
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 Py_INCREF(Py_None); resultobj = Py_None;
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23133 PyObject *obj;
23134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23135 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23136 Py_INCREF(obj);
23137 return Py_BuildValue((char *)"");
23138 }
23139 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23142 int arg2 = (int) 0 ;
23143 wxTreeEvent *result;
23144 PyObject * obj0 = 0 ;
23145 PyObject * obj1 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "commandType",(char *) "id", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23151 if (obj0) {
23152 {
23153 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 }
23157 if (obj1) {
23158 {
23159 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 }
23163 {
23164 PyThreadState* __tstate = wxPyBeginAllowThreads();
23165 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23166
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj;
23179 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23180 wxTreeItemId result;
23181 PyObject * obj0 = 0 ;
23182 char *kwnames[] = {
23183 (char *) "self", NULL
23184 };
23185
23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23188 {
23189 PyThreadState* __tstate = wxPyBeginAllowThreads();
23190 result = ((wxTreeEvent const *)arg1)->GetItem();
23191
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 {
23196 wxTreeItemId * resultptr;
23197 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23198 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23199 }
23200 return resultobj;
23201 fail:
23202 return NULL;
23203 }
23204
23205
23206 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23207 PyObject *resultobj;
23208 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23209 wxTreeItemId *arg2 = 0 ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self",(char *) "item", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23219 if (arg2 == NULL) {
23220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23221 }
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 Py_INCREF(Py_None); resultobj = Py_None;
23230 return resultobj;
23231 fail:
23232 return NULL;
23233 }
23234
23235
23236 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23237 PyObject *resultobj;
23238 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23239 wxTreeItemId result;
23240 PyObject * obj0 = 0 ;
23241 char *kwnames[] = {
23242 (char *) "self", NULL
23243 };
23244
23245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 {
23255 wxTreeItemId * resultptr;
23256 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23257 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23258 }
23259 return resultobj;
23260 fail:
23261 return NULL;
23262 }
23263
23264
23265 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23266 PyObject *resultobj;
23267 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23268 wxTreeItemId *arg2 = 0 ;
23269 PyObject * obj0 = 0 ;
23270 PyObject * obj1 = 0 ;
23271 char *kwnames[] = {
23272 (char *) "self",(char *) "item", NULL
23273 };
23274
23275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23278 if (arg2 == NULL) {
23279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23280 }
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 Py_INCREF(Py_None); resultobj = Py_None;
23289 return resultobj;
23290 fail:
23291 return NULL;
23292 }
23293
23294
23295 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj;
23297 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23298 wxPoint result;
23299 PyObject * obj0 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = ((wxTreeEvent const *)arg1)->GetPoint();
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 wxPoint * resultptr;
23315 resultptr = new wxPoint((wxPoint &) result);
23316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23317 }
23318 return resultobj;
23319 fail:
23320 return NULL;
23321 }
23322
23323
23324 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23325 PyObject *resultobj;
23326 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23327 wxPoint *arg2 = 0 ;
23328 wxPoint temp2 ;
23329 PyObject * obj0 = 0 ;
23330 PyObject * obj1 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self",(char *) "pt", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23337 {
23338 arg2 = &temp2;
23339 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23340 }
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 (arg1)->SetPoint((wxPoint const &)*arg2);
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 Py_INCREF(Py_None); resultobj = Py_None;
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23358 wxKeyEvent *result;
23359 PyObject * obj0 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 {
23369 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23370 result = (wxKeyEvent *) &_result_ref;
23371 }
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23386 int result;
23387 PyObject * obj0 = 0 ;
23388 char *kwnames[] = {
23389 (char *) "self", NULL
23390 };
23391
23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 resultobj = SWIG_PyObj_FromInt((int)result);
23402 return resultobj;
23403 fail:
23404 return NULL;
23405 }
23406
23407
23408 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23409 PyObject *resultobj;
23410 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23411 wxKeyEvent *arg2 = 0 ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 char *kwnames[] = {
23415 (char *) "self",(char *) "evt", NULL
23416 };
23417
23418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23421 if (arg2 == NULL) {
23422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23423 }
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 Py_INCREF(Py_None); resultobj = Py_None;
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23441 wxString *result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 {
23452 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23453 result = (wxString *) &_result_ref;
23454 }
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 #if wxUSE_UNICODE
23461 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23462 #else
23463 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23464 #endif
23465 }
23466 return resultobj;
23467 fail:
23468 return NULL;
23469 }
23470
23471
23472 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23473 PyObject *resultobj;
23474 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23475 wxString *arg2 = 0 ;
23476 bool temp2 = False ;
23477 PyObject * obj0 = 0 ;
23478 PyObject * obj1 = 0 ;
23479 char *kwnames[] = {
23480 (char *) "self",(char *) "label", NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23485 {
23486 arg2 = wxString_in_helper(obj1);
23487 if (arg2 == NULL) SWIG_fail;
23488 temp2 = True;
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 (arg1)->SetLabel((wxString const &)*arg2);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 Py_INCREF(Py_None); resultobj = Py_None;
23498 {
23499 if (temp2)
23500 delete arg2;
23501 }
23502 return resultobj;
23503 fail:
23504 {
23505 if (temp2)
23506 delete arg2;
23507 }
23508 return NULL;
23509 }
23510
23511
23512 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23515 bool result;
23516 PyObject * obj0 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23531 return resultobj;
23532 fail:
23533 return NULL;
23534 }
23535
23536
23537 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23540 bool arg2 ;
23541 PyObject * obj0 = 0 ;
23542 PyObject * obj1 = 0 ;
23543 char *kwnames[] = {
23544 (char *) "self",(char *) "editCancelled", NULL
23545 };
23546
23547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23549 {
23550 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 (arg1)->SetEditCanceled(arg2);
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 Py_INCREF(Py_None); resultobj = Py_None;
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23570 wxString *arg2 = 0 ;
23571 bool temp2 = False ;
23572 PyObject * obj0 = 0 ;
23573 PyObject * obj1 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self",(char *) "toolTip", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23580 {
23581 arg2 = wxString_in_helper(obj1);
23582 if (arg2 == NULL) SWIG_fail;
23583 temp2 = True;
23584 }
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 (arg1)->SetToolTip((wxString const &)*arg2);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 Py_INCREF(Py_None); resultobj = Py_None;
23593 {
23594 if (temp2)
23595 delete arg2;
23596 }
23597 return resultobj;
23598 fail:
23599 {
23600 if (temp2)
23601 delete arg2;
23602 }
23603 return NULL;
23604 }
23605
23606
23607 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23608 PyObject *obj;
23609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23610 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23611 Py_INCREF(obj);
23612 return Py_BuildValue((char *)"");
23613 }
23614 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxWindow *arg1 = (wxWindow *) 0 ;
23617 int arg2 = (int) -1 ;
23618 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23619 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23620 wxSize const &arg4_defvalue = wxDefaultSize ;
23621 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23622 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23623 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23624 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23625 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23626 wxString *arg7 = (wxString *) &arg7_defvalue ;
23627 wxPyTreeCtrl *result;
23628 wxPoint temp3 ;
23629 wxSize temp4 ;
23630 bool temp7 = False ;
23631 PyObject * obj0 = 0 ;
23632 PyObject * obj1 = 0 ;
23633 PyObject * obj2 = 0 ;
23634 PyObject * obj3 = 0 ;
23635 PyObject * obj4 = 0 ;
23636 PyObject * obj5 = 0 ;
23637 PyObject * obj6 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23644 if (obj1) {
23645 {
23646 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 }
23650 if (obj2) {
23651 {
23652 arg3 = &temp3;
23653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23654 }
23655 }
23656 if (obj3) {
23657 {
23658 arg4 = &temp4;
23659 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23660 }
23661 }
23662 if (obj4) {
23663 {
23664 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 }
23668 if (obj5) {
23669 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23670 if (arg6 == NULL) {
23671 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23672 }
23673 }
23674 if (obj6) {
23675 {
23676 arg7 = wxString_in_helper(obj6);
23677 if (arg7 == NULL) SWIG_fail;
23678 temp7 = True;
23679 }
23680 }
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 {
23689 resultobj = wxPyMake_wxObject(result);
23690 }
23691 {
23692 if (temp7)
23693 delete arg7;
23694 }
23695 return resultobj;
23696 fail:
23697 {
23698 if (temp7)
23699 delete arg7;
23700 }
23701 return NULL;
23702 }
23703
23704
23705 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxPyTreeCtrl *result;
23708 char *kwnames[] = {
23709 NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23713 {
23714 PyThreadState* __tstate = wxPyBeginAllowThreads();
23715 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23716
23717 wxPyEndAllowThreads(__tstate);
23718 if (PyErr_Occurred()) SWIG_fail;
23719 }
23720 {
23721 resultobj = wxPyMake_wxObject(result);
23722 }
23723 return resultobj;
23724 fail:
23725 return NULL;
23726 }
23727
23728
23729 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23730 PyObject *resultobj;
23731 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23732 wxWindow *arg2 = (wxWindow *) 0 ;
23733 int arg3 = (int) -1 ;
23734 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23735 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23736 wxSize const &arg5_defvalue = wxDefaultSize ;
23737 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23738 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23739 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23740 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23741 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23742 wxString *arg8 = (wxString *) &arg8_defvalue ;
23743 bool result;
23744 wxPoint temp4 ;
23745 wxSize temp5 ;
23746 bool temp8 = False ;
23747 PyObject * obj0 = 0 ;
23748 PyObject * obj1 = 0 ;
23749 PyObject * obj2 = 0 ;
23750 PyObject * obj3 = 0 ;
23751 PyObject * obj4 = 0 ;
23752 PyObject * obj5 = 0 ;
23753 PyObject * obj6 = 0 ;
23754 PyObject * obj7 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23762 if (obj2) {
23763 {
23764 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 }
23768 if (obj3) {
23769 {
23770 arg4 = &temp4;
23771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23772 }
23773 }
23774 if (obj4) {
23775 {
23776 arg5 = &temp5;
23777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23778 }
23779 }
23780 if (obj5) {
23781 {
23782 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 }
23786 if (obj6) {
23787 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23788 if (arg7 == NULL) {
23789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23790 }
23791 }
23792 if (obj7) {
23793 {
23794 arg8 = wxString_in_helper(obj7);
23795 if (arg8 == NULL) SWIG_fail;
23796 temp8 = True;
23797 }
23798 }
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23807 {
23808 if (temp8)
23809 delete arg8;
23810 }
23811 return resultobj;
23812 fail:
23813 {
23814 if (temp8)
23815 delete arg8;
23816 }
23817 return NULL;
23818 }
23819
23820
23821 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj;
23823 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23824 PyObject *arg2 = (PyObject *) 0 ;
23825 PyObject *arg3 = (PyObject *) 0 ;
23826 PyObject * obj0 = 0 ;
23827 PyObject * obj1 = 0 ;
23828 PyObject * obj2 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "self",(char *) "self",(char *) "_class", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23835 arg2 = obj1;
23836 arg3 = obj2;
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 (arg1)->_setCallbackInfo(arg2,arg3);
23840
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 Py_INCREF(Py_None); resultobj = Py_None;
23845 return resultobj;
23846 fail:
23847 return NULL;
23848 }
23849
23850
23851 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23852 PyObject *resultobj;
23853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23854 size_t result;
23855 PyObject * obj0 = 0 ;
23856 char *kwnames[] = {
23857 (char *) "self", NULL
23858 };
23859
23860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23870 return resultobj;
23871 fail:
23872 return NULL;
23873 }
23874
23875
23876 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23879 unsigned int result;
23880 PyObject * obj0 = 0 ;
23881 char *kwnames[] = {
23882 (char *) "self", NULL
23883 };
23884
23885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23890
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23895 return resultobj;
23896 fail:
23897 return NULL;
23898 }
23899
23900
23901 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23904 unsigned int arg2 ;
23905 PyObject * obj0 = 0 ;
23906 PyObject * obj1 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self",(char *) "indent", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23913 {
23914 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->SetIndent(arg2);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 Py_INCREF(Py_None); resultobj = Py_None;
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23934 unsigned int result;
23935 PyObject * obj0 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23959 unsigned int arg2 ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 char *kwnames[] = {
23963 (char *) "self",(char *) "spacing", NULL
23964 };
23965
23966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23968 {
23969 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 (arg1)->SetSpacing(arg2);
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 Py_INCREF(Py_None); resultobj = Py_None;
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23989 wxImageList *result;
23990 PyObject * obj0 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 {
24005 resultobj = wxPyMake_wxObject(result);
24006 }
24007 return resultobj;
24008 fail:
24009 return NULL;
24010 }
24011
24012
24013 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24014 PyObject *resultobj;
24015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24016 wxImageList *result;
24017 PyObject * obj0 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "self", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 {
24032 resultobj = wxPyMake_wxObject(result);
24033 }
24034 return resultobj;
24035 fail:
24036 return NULL;
24037 }
24038
24039
24040 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24043 wxImageList *arg2 = (wxImageList *) 0 ;
24044 PyObject * obj0 = 0 ;
24045 PyObject * obj1 = 0 ;
24046 char *kwnames[] = {
24047 (char *) "self",(char *) "imageList", NULL
24048 };
24049
24050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 (arg1)->SetImageList(arg2);
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 Py_INCREF(Py_None); resultobj = Py_None;
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24068 PyObject *resultobj;
24069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24070 wxImageList *arg2 = (wxImageList *) 0 ;
24071 PyObject * obj0 = 0 ;
24072 PyObject * obj1 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self",(char *) "imageList", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 (arg1)->SetStateImageList(arg2);
24083
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 Py_INCREF(Py_None); resultobj = Py_None;
24088 return resultobj;
24089 fail:
24090 return NULL;
24091 }
24092
24093
24094 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj;
24096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24097 wxImageList *arg2 = (wxImageList *) 0 ;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "self",(char *) "imageList", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 (arg1)->AssignImageList(arg2);
24110
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 Py_INCREF(Py_None); resultobj = Py_None;
24115 return resultobj;
24116 fail:
24117 return NULL;
24118 }
24119
24120
24121 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj;
24123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24124 wxImageList *arg2 = (wxImageList *) 0 ;
24125 PyObject * obj0 = 0 ;
24126 PyObject * obj1 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "self",(char *) "imageList", NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
24136 (arg1)->AssignStateImageList(arg2);
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 Py_INCREF(Py_None); resultobj = Py_None;
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24149 PyObject *resultobj;
24150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24151 wxTreeItemId *arg2 = 0 ;
24152 wxString result;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self",(char *) "item", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24162 if (arg2 == NULL) {
24163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24164 }
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 {
24173 #if wxUSE_UNICODE
24174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24175 #else
24176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24177 #endif
24178 }
24179 return resultobj;
24180 fail:
24181 return NULL;
24182 }
24183
24184
24185 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24186 PyObject *resultobj;
24187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24188 wxTreeItemId *arg2 = 0 ;
24189 int arg3 = (int) wxTreeItemIcon_Normal ;
24190 int result;
24191 PyObject * obj0 = 0 ;
24192 PyObject * obj1 = 0 ;
24193 PyObject * obj2 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "item",(char *) "which", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24201 if (arg2 == NULL) {
24202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24203 }
24204 if (obj2) {
24205 {
24206 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
24209 }
24210 {
24211 PyThreadState* __tstate = wxPyBeginAllowThreads();
24212 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 resultobj = SWIG_PyObj_FromInt((int)result);
24218 return resultobj;
24219 fail:
24220 return NULL;
24221 }
24222
24223
24224 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24225 PyObject *resultobj;
24226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24227 wxTreeItemId *arg2 = 0 ;
24228 wxPyTreeItemData *result;
24229 PyObject * obj0 = 0 ;
24230 PyObject * obj1 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "item", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24238 if (arg2 == NULL) {
24239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24240 }
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
24249 return resultobj;
24250 fail:
24251 return NULL;
24252 }
24253
24254
24255 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24258 wxTreeItemId *arg2 = 0 ;
24259 PyObject *result;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self",(char *) "item", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24269 if (arg2 == NULL) {
24270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24271 }
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 resultobj = result;
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24289 wxTreeItemId *arg2 = 0 ;
24290 wxColour result;
24291 PyObject * obj0 = 0 ;
24292 PyObject * obj1 = 0 ;
24293 char *kwnames[] = {
24294 (char *) "self",(char *) "item", NULL
24295 };
24296
24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 if (arg2 == NULL) {
24301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24302 }
24303 {
24304 PyThreadState* __tstate = wxPyBeginAllowThreads();
24305 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24306
24307 wxPyEndAllowThreads(__tstate);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 {
24311 wxColour * resultptr;
24312 resultptr = new wxColour((wxColour &) result);
24313 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24314 }
24315 return resultobj;
24316 fail:
24317 return NULL;
24318 }
24319
24320
24321 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24322 PyObject *resultobj;
24323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24324 wxTreeItemId *arg2 = 0 ;
24325 wxColour result;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "item", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24335 if (arg2 == NULL) {
24336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24337 }
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
24345 {
24346 wxColour * resultptr;
24347 resultptr = new wxColour((wxColour &) result);
24348 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24349 }
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24359 wxTreeItemId *arg2 = 0 ;
24360 wxFont result;
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self",(char *) "item", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24370 if (arg2 == NULL) {
24371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24372 }
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 {
24381 wxFont * resultptr;
24382 resultptr = new wxFont((wxFont &) result);
24383 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24384 }
24385 return resultobj;
24386 fail:
24387 return NULL;
24388 }
24389
24390
24391 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj;
24393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24394 wxTreeItemId *arg2 = 0 ;
24395 wxString *arg3 = 0 ;
24396 bool temp3 = False ;
24397 PyObject * obj0 = 0 ;
24398 PyObject * obj1 = 0 ;
24399 PyObject * obj2 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "item",(char *) "text", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24407 if (arg2 == NULL) {
24408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24409 }
24410 {
24411 arg3 = wxString_in_helper(obj2);
24412 if (arg3 == NULL) SWIG_fail;
24413 temp3 = True;
24414 }
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 Py_INCREF(Py_None); resultobj = Py_None;
24423 {
24424 if (temp3)
24425 delete arg3;
24426 }
24427 return resultobj;
24428 fail:
24429 {
24430 if (temp3)
24431 delete arg3;
24432 }
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj;
24439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24440 wxTreeItemId *arg2 = 0 ;
24441 int arg3 ;
24442 int arg4 = (int) wxTreeItemIcon_Normal ;
24443 PyObject * obj0 = 0 ;
24444 PyObject * obj1 = 0 ;
24445 PyObject * obj2 = 0 ;
24446 PyObject * obj3 = 0 ;
24447 char *kwnames[] = {
24448 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24454 if (arg2 == NULL) {
24455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24456 }
24457 {
24458 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 if (obj3) {
24462 {
24463 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 }
24467 {
24468 PyThreadState* __tstate = wxPyBeginAllowThreads();
24469 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24470
24471 wxPyEndAllowThreads(__tstate);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 Py_INCREF(Py_None); resultobj = Py_None;
24475 return resultobj;
24476 fail:
24477 return NULL;
24478 }
24479
24480
24481 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24482 PyObject *resultobj;
24483 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24484 wxTreeItemId *arg2 = 0 ;
24485 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24486 PyObject * obj0 = 0 ;
24487 PyObject * obj1 = 0 ;
24488 PyObject * obj2 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self",(char *) "item",(char *) "data", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24496 if (arg2 == NULL) {
24497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24498 }
24499 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 Py_INCREF(Py_None); resultobj = Py_None;
24508 return resultobj;
24509 fail:
24510 return NULL;
24511 }
24512
24513
24514 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj;
24516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24517 wxTreeItemId *arg2 = 0 ;
24518 PyObject *arg3 = (PyObject *) 0 ;
24519 PyObject * obj0 = 0 ;
24520 PyObject * obj1 = 0 ;
24521 PyObject * obj2 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self",(char *) "item",(char *) "obj", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24529 if (arg2 == NULL) {
24530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24531 }
24532 arg3 = obj2;
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 Py_INCREF(Py_None); resultobj = Py_None;
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24550 wxTreeItemId *arg2 = 0 ;
24551 bool arg3 = (bool) True ;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 PyObject * obj2 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self",(char *) "item",(char *) "has", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24562 if (arg2 == NULL) {
24563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24564 }
24565 if (obj2) {
24566 {
24567 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 }
24571 {
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24574
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 Py_INCREF(Py_None); resultobj = Py_None;
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj;
24587 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24588 wxTreeItemId *arg2 = 0 ;
24589 bool arg3 = (bool) True ;
24590 PyObject * obj0 = 0 ;
24591 PyObject * obj1 = 0 ;
24592 PyObject * obj2 = 0 ;
24593 char *kwnames[] = {
24594 (char *) "self",(char *) "item",(char *) "bold", NULL
24595 };
24596
24597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24600 if (arg2 == NULL) {
24601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24602 }
24603 if (obj2) {
24604 {
24605 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 }
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 Py_INCREF(Py_None); resultobj = Py_None;
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj;
24625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24626 wxTreeItemId *arg2 = 0 ;
24627 wxColour *arg3 = 0 ;
24628 wxColour temp3 ;
24629 PyObject * obj0 = 0 ;
24630 PyObject * obj1 = 0 ;
24631 PyObject * obj2 = 0 ;
24632 char *kwnames[] = {
24633 (char *) "self",(char *) "item",(char *) "col", NULL
24634 };
24635
24636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24639 if (arg2 == NULL) {
24640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24641 }
24642 {
24643 arg3 = &temp3;
24644 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24645 }
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24649
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 Py_INCREF(Py_None); resultobj = Py_None;
24654 return resultobj;
24655 fail:
24656 return NULL;
24657 }
24658
24659
24660 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj;
24662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24663 wxTreeItemId *arg2 = 0 ;
24664 wxColour *arg3 = 0 ;
24665 wxColour temp3 ;
24666 PyObject * obj0 = 0 ;
24667 PyObject * obj1 = 0 ;
24668 PyObject * obj2 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "self",(char *) "item",(char *) "col", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24676 if (arg2 == NULL) {
24677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24678 }
24679 {
24680 arg3 = &temp3;
24681 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24682 }
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24686
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 Py_INCREF(Py_None); resultobj = Py_None;
24691 return resultobj;
24692 fail:
24693 return NULL;
24694 }
24695
24696
24697 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj;
24699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24700 wxTreeItemId *arg2 = 0 ;
24701 wxFont *arg3 = 0 ;
24702 PyObject * obj0 = 0 ;
24703 PyObject * obj1 = 0 ;
24704 PyObject * obj2 = 0 ;
24705 char *kwnames[] = {
24706 (char *) "self",(char *) "item",(char *) "font", NULL
24707 };
24708
24709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24712 if (arg2 == NULL) {
24713 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24714 }
24715 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24716 if (arg3 == NULL) {
24717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24718 }
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 Py_INCREF(Py_None); resultobj = Py_None;
24727 return resultobj;
24728 fail:
24729 return NULL;
24730 }
24731
24732
24733 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj;
24735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24736 wxTreeItemId *arg2 = 0 ;
24737 bool result;
24738 PyObject * obj0 = 0 ;
24739 PyObject * obj1 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "self",(char *) "item", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24747 if (arg2 == NULL) {
24748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24765 PyObject *resultobj;
24766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24767 wxTreeItemId *arg2 = 0 ;
24768 bool result;
24769 PyObject * obj0 = 0 ;
24770 PyObject * obj1 = 0 ;
24771 char *kwnames[] = {
24772 (char *) "self",(char *) "item", NULL
24773 };
24774
24775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24778 if (arg2 == NULL) {
24779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24780 }
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24798 wxTreeItemId *arg2 = 0 ;
24799 bool result;
24800 PyObject * obj0 = 0 ;
24801 PyObject * obj1 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self",(char *) "item", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24809 if (arg2 == NULL) {
24810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24811 }
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24820 return resultobj;
24821 fail:
24822 return NULL;
24823 }
24824
24825
24826 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24829 wxTreeItemId *arg2 = 0 ;
24830 bool result;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "item", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24840 if (arg2 == NULL) {
24841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24842 }
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24860 wxTreeItemId *arg2 = 0 ;
24861 bool result;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self",(char *) "item", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24871 if (arg2 == NULL) {
24872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24873 }
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882 return resultobj;
24883 fail:
24884 return NULL;
24885 }
24886
24887
24888 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24891 wxTreeItemId *arg2 = 0 ;
24892 bool arg3 = (bool) True ;
24893 size_t result;
24894 PyObject * obj0 = 0 ;
24895 PyObject * obj1 = 0 ;
24896 PyObject * obj2 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self",(char *) "item",(char *) "recursively", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24904 if (arg2 == NULL) {
24905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24906 }
24907 if (obj2) {
24908 {
24909 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 }
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj;
24929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24930 wxTreeItemId result;
24931 PyObject * obj0 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 {
24946 wxTreeItemId * resultptr;
24947 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24949 }
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24959 wxTreeItemId result;
24960 PyObject * obj0 = 0 ;
24961 char *kwnames[] = {
24962 (char *) "self", NULL
24963 };
24964
24965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 {
24975 wxTreeItemId * resultptr;
24976 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24977 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24978 }
24979 return resultobj;
24980 fail:
24981 return NULL;
24982 }
24983
24984
24985 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
24986 PyObject *resultobj;
24987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24988 PyObject *result;
24989 PyObject * obj0 = 0 ;
24990 char *kwnames[] = {
24991 (char *) "self", NULL
24992 };
24993
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 resultobj = result;
25004 return resultobj;
25005 fail:
25006 return NULL;
25007 }
25008
25009
25010 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25011 PyObject *resultobj;
25012 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25013 wxTreeItemId *arg2 = 0 ;
25014 wxTreeItemId result;
25015 PyObject * obj0 = 0 ;
25016 PyObject * obj1 = 0 ;
25017 char *kwnames[] = {
25018 (char *) "self",(char *) "item", NULL
25019 };
25020
25021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25024 if (arg2 == NULL) {
25025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25026 }
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 {
25035 wxTreeItemId * resultptr;
25036 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25037 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25038 }
25039 return resultobj;
25040 fail:
25041 return NULL;
25042 }
25043
25044
25045 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25046 PyObject *resultobj;
25047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25048 wxTreeItemId *arg2 = 0 ;
25049 PyObject *result;
25050 PyObject * obj0 = 0 ;
25051 PyObject * obj1 = 0 ;
25052 char *kwnames[] = {
25053 (char *) "self",(char *) "item", NULL
25054 };
25055
25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25059 if (arg2 == NULL) {
25060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 resultobj = result;
25070 return resultobj;
25071 fail:
25072 return NULL;
25073 }
25074
25075
25076 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25079 wxTreeItemId *arg2 = 0 ;
25080 void *arg3 = (void *) 0 ;
25081 PyObject *result;
25082 PyObject * obj0 = 0 ;
25083 PyObject * obj1 = 0 ;
25084 PyObject * obj2 = 0 ;
25085 char *kwnames[] = {
25086 (char *) "self",(char *) "item",(char *) "cookie", NULL
25087 };
25088
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25092 if (arg2 == NULL) {
25093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25094 }
25095 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 resultobj = result;
25104 return resultobj;
25105 fail:
25106 return NULL;
25107 }
25108
25109
25110 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj;
25112 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25113 wxTreeItemId *arg2 = 0 ;
25114 wxTreeItemId result;
25115 PyObject * obj0 = 0 ;
25116 PyObject * obj1 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self",(char *) "item", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 if (arg2 == NULL) {
25125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25126 }
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 {
25135 wxTreeItemId * resultptr;
25136 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25137 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25138 }
25139 return resultobj;
25140 fail:
25141 return NULL;
25142 }
25143
25144
25145 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25146 PyObject *resultobj;
25147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25148 wxTreeItemId *arg2 = 0 ;
25149 wxTreeItemId result;
25150 PyObject * obj0 = 0 ;
25151 PyObject * obj1 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "self",(char *) "item", NULL
25154 };
25155
25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25159 if (arg2 == NULL) {
25160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25161 }
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 {
25170 wxTreeItemId * resultptr;
25171 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25173 }
25174 return resultobj;
25175 fail:
25176 return NULL;
25177 }
25178
25179
25180 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25181 PyObject *resultobj;
25182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25183 wxTreeItemId *arg2 = 0 ;
25184 wxTreeItemId result;
25185 PyObject * obj0 = 0 ;
25186 PyObject * obj1 = 0 ;
25187 char *kwnames[] = {
25188 (char *) "self",(char *) "item", NULL
25189 };
25190
25191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25194 if (arg2 == NULL) {
25195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25196 }
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 {
25205 wxTreeItemId * resultptr;
25206 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25208 }
25209 return resultobj;
25210 fail:
25211 return NULL;
25212 }
25213
25214
25215 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25216 PyObject *resultobj;
25217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25218 wxTreeItemId result;
25219 PyObject * obj0 = 0 ;
25220 char *kwnames[] = {
25221 (char *) "self", NULL
25222 };
25223
25224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 {
25234 wxTreeItemId * resultptr;
25235 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25236 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25237 }
25238 return resultobj;
25239 fail:
25240 return NULL;
25241 }
25242
25243
25244 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25245 PyObject *resultobj;
25246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25247 wxTreeItemId *arg2 = 0 ;
25248 wxTreeItemId result;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 char *kwnames[] = {
25252 (char *) "self",(char *) "item", NULL
25253 };
25254
25255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25258 if (arg2 == NULL) {
25259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25260 }
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 {
25269 wxTreeItemId * resultptr;
25270 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25272 }
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25280 PyObject *resultobj;
25281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25282 wxTreeItemId *arg2 = 0 ;
25283 wxTreeItemId result;
25284 PyObject * obj0 = 0 ;
25285 PyObject * obj1 = 0 ;
25286 char *kwnames[] = {
25287 (char *) "self",(char *) "item", NULL
25288 };
25289
25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25293 if (arg2 == NULL) {
25294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25295 }
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 {
25304 wxTreeItemId * resultptr;
25305 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25306 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25307 }
25308 return resultobj;
25309 fail:
25310 return NULL;
25311 }
25312
25313
25314 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25315 PyObject *resultobj;
25316 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25317 wxString *arg2 = 0 ;
25318 int arg3 = (int) -1 ;
25319 int arg4 = (int) -1 ;
25320 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25321 wxTreeItemId result;
25322 bool temp2 = False ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 PyObject * obj2 = 0 ;
25326 PyObject * obj3 = 0 ;
25327 PyObject * obj4 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25334 {
25335 arg2 = wxString_in_helper(obj1);
25336 if (arg2 == NULL) SWIG_fail;
25337 temp2 = True;
25338 }
25339 if (obj2) {
25340 {
25341 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 }
25345 if (obj3) {
25346 {
25347 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 }
25351 if (obj4) {
25352 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25353 }
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 {
25362 wxTreeItemId * resultptr;
25363 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25365 }
25366 {
25367 if (temp2)
25368 delete arg2;
25369 }
25370 return resultobj;
25371 fail:
25372 {
25373 if (temp2)
25374 delete arg2;
25375 }
25376 return NULL;
25377 }
25378
25379
25380 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj;
25382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25383 wxTreeItemId *arg2 = 0 ;
25384 wxString *arg3 = 0 ;
25385 int arg4 = (int) -1 ;
25386 int arg5 = (int) -1 ;
25387 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25388 wxTreeItemId result;
25389 bool temp3 = False ;
25390 PyObject * obj0 = 0 ;
25391 PyObject * obj1 = 0 ;
25392 PyObject * obj2 = 0 ;
25393 PyObject * obj3 = 0 ;
25394 PyObject * obj4 = 0 ;
25395 PyObject * obj5 = 0 ;
25396 char *kwnames[] = {
25397 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25398 };
25399
25400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25403 if (arg2 == NULL) {
25404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25405 }
25406 {
25407 arg3 = wxString_in_helper(obj2);
25408 if (arg3 == NULL) SWIG_fail;
25409 temp3 = True;
25410 }
25411 if (obj3) {
25412 {
25413 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25414 if (PyErr_Occurred()) SWIG_fail;
25415 }
25416 }
25417 if (obj4) {
25418 {
25419 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 }
25423 if (obj5) {
25424 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25425 }
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25429
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 {
25434 wxTreeItemId * resultptr;
25435 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25436 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25437 }
25438 {
25439 if (temp3)
25440 delete arg3;
25441 }
25442 return resultobj;
25443 fail:
25444 {
25445 if (temp3)
25446 delete arg3;
25447 }
25448 return NULL;
25449 }
25450
25451
25452 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj;
25454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25455 wxTreeItemId *arg2 = 0 ;
25456 wxTreeItemId *arg3 = 0 ;
25457 wxString *arg4 = 0 ;
25458 int arg5 = (int) -1 ;
25459 int arg6 = (int) -1 ;
25460 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25461 wxTreeItemId result;
25462 bool temp4 = False ;
25463 PyObject * obj0 = 0 ;
25464 PyObject * obj1 = 0 ;
25465 PyObject * obj2 = 0 ;
25466 PyObject * obj3 = 0 ;
25467 PyObject * obj4 = 0 ;
25468 PyObject * obj5 = 0 ;
25469 PyObject * obj6 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25476 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25477 if (arg2 == NULL) {
25478 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25479 }
25480 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25481 if (arg3 == NULL) {
25482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25483 }
25484 {
25485 arg4 = wxString_in_helper(obj3);
25486 if (arg4 == NULL) SWIG_fail;
25487 temp4 = True;
25488 }
25489 if (obj4) {
25490 {
25491 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25492 if (PyErr_Occurred()) SWIG_fail;
25493 }
25494 }
25495 if (obj5) {
25496 {
25497 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 }
25501 if (obj6) {
25502 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25503 }
25504 {
25505 PyThreadState* __tstate = wxPyBeginAllowThreads();
25506 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25507
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
25511 {
25512 wxTreeItemId * resultptr;
25513 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25515 }
25516 {
25517 if (temp4)
25518 delete arg4;
25519 }
25520 return resultobj;
25521 fail:
25522 {
25523 if (temp4)
25524 delete arg4;
25525 }
25526 return NULL;
25527 }
25528
25529
25530 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25533 wxTreeItemId *arg2 = 0 ;
25534 size_t arg3 ;
25535 wxString *arg4 = 0 ;
25536 int arg5 = (int) -1 ;
25537 int arg6 = (int) -1 ;
25538 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25539 wxTreeItemId result;
25540 bool temp4 = False ;
25541 PyObject * obj0 = 0 ;
25542 PyObject * obj1 = 0 ;
25543 PyObject * obj2 = 0 ;
25544 PyObject * obj3 = 0 ;
25545 PyObject * obj4 = 0 ;
25546 PyObject * obj5 = 0 ;
25547 PyObject * obj6 = 0 ;
25548 char *kwnames[] = {
25549 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25550 };
25551
25552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25555 if (arg2 == NULL) {
25556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25557 }
25558 {
25559 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 {
25563 arg4 = wxString_in_helper(obj3);
25564 if (arg4 == NULL) SWIG_fail;
25565 temp4 = True;
25566 }
25567 if (obj4) {
25568 {
25569 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 }
25573 if (obj5) {
25574 {
25575 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25576 if (PyErr_Occurred()) SWIG_fail;
25577 }
25578 }
25579 if (obj6) {
25580 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25581 }
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 {
25590 wxTreeItemId * resultptr;
25591 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25592 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25593 }
25594 {
25595 if (temp4)
25596 delete arg4;
25597 }
25598 return resultobj;
25599 fail:
25600 {
25601 if (temp4)
25602 delete arg4;
25603 }
25604 return NULL;
25605 }
25606
25607
25608 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj;
25610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25611 wxTreeItemId *arg2 = 0 ;
25612 wxString *arg3 = 0 ;
25613 int arg4 = (int) -1 ;
25614 int arg5 = (int) -1 ;
25615 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25616 wxTreeItemId result;
25617 bool temp3 = False ;
25618 PyObject * obj0 = 0 ;
25619 PyObject * obj1 = 0 ;
25620 PyObject * obj2 = 0 ;
25621 PyObject * obj3 = 0 ;
25622 PyObject * obj4 = 0 ;
25623 PyObject * obj5 = 0 ;
25624 char *kwnames[] = {
25625 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25626 };
25627
25628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25631 if (arg2 == NULL) {
25632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25633 }
25634 {
25635 arg3 = wxString_in_helper(obj2);
25636 if (arg3 == NULL) SWIG_fail;
25637 temp3 = True;
25638 }
25639 if (obj3) {
25640 {
25641 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 }
25645 if (obj4) {
25646 {
25647 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 }
25651 if (obj5) {
25652 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25653 }
25654 {
25655 PyThreadState* __tstate = wxPyBeginAllowThreads();
25656 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25657
25658 wxPyEndAllowThreads(__tstate);
25659 if (PyErr_Occurred()) SWIG_fail;
25660 }
25661 {
25662 wxTreeItemId * resultptr;
25663 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25665 }
25666 {
25667 if (temp3)
25668 delete arg3;
25669 }
25670 return resultobj;
25671 fail:
25672 {
25673 if (temp3)
25674 delete arg3;
25675 }
25676 return NULL;
25677 }
25678
25679
25680 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25681 PyObject *resultobj;
25682 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25683 wxTreeItemId *arg2 = 0 ;
25684 PyObject * obj0 = 0 ;
25685 PyObject * obj1 = 0 ;
25686 char *kwnames[] = {
25687 (char *) "self",(char *) "item", NULL
25688 };
25689
25690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25693 if (arg2 == NULL) {
25694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25695 }
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 (arg1)->Delete((wxTreeItemId const &)*arg2);
25699
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 Py_INCREF(Py_None); resultobj = Py_None;
25704 return resultobj;
25705 fail:
25706 return NULL;
25707 }
25708
25709
25710 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25711 PyObject *resultobj;
25712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25713 wxTreeItemId *arg2 = 0 ;
25714 PyObject * obj0 = 0 ;
25715 PyObject * obj1 = 0 ;
25716 char *kwnames[] = {
25717 (char *) "self",(char *) "item", NULL
25718 };
25719
25720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25723 if (arg2 == NULL) {
25724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25725 }
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 Py_INCREF(Py_None); resultobj = Py_None;
25734 return resultobj;
25735 fail:
25736 return NULL;
25737 }
25738
25739
25740 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25741 PyObject *resultobj;
25742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25743 PyObject * obj0 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25750 {
25751 PyThreadState* __tstate = wxPyBeginAllowThreads();
25752 (arg1)->DeleteAllItems();
25753
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 Py_INCREF(Py_None); resultobj = Py_None;
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25765 PyObject *resultobj;
25766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25767 wxTreeItemId *arg2 = 0 ;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "self",(char *) "item", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25777 if (arg2 == NULL) {
25778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25779 }
25780 {
25781 PyThreadState* __tstate = wxPyBeginAllowThreads();
25782 (arg1)->Expand((wxTreeItemId const &)*arg2);
25783
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 Py_INCREF(Py_None); resultobj = Py_None;
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25795 PyObject *resultobj;
25796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25797 wxTreeItemId *arg2 = 0 ;
25798 PyObject * obj0 = 0 ;
25799 PyObject * obj1 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self",(char *) "item", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25807 if (arg2 == NULL) {
25808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25809 }
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 Py_INCREF(Py_None); resultobj = Py_None;
25818 return resultobj;
25819 fail:
25820 return NULL;
25821 }
25822
25823
25824 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25825 PyObject *resultobj;
25826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25827 wxTreeItemId *arg2 = 0 ;
25828 PyObject * obj0 = 0 ;
25829 PyObject * obj1 = 0 ;
25830 char *kwnames[] = {
25831 (char *) "self",(char *) "item", NULL
25832 };
25833
25834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25837 if (arg2 == NULL) {
25838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25839 }
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25843
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 Py_INCREF(Py_None); resultobj = Py_None;
25848 return resultobj;
25849 fail:
25850 return NULL;
25851 }
25852
25853
25854 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25855 PyObject *resultobj;
25856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25857 wxTreeItemId *arg2 = 0 ;
25858 PyObject * obj0 = 0 ;
25859 PyObject * obj1 = 0 ;
25860 char *kwnames[] = {
25861 (char *) "self",(char *) "item", NULL
25862 };
25863
25864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25867 if (arg2 == NULL) {
25868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25869 }
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 Py_INCREF(Py_None); resultobj = Py_None;
25878 return resultobj;
25879 fail:
25880 return NULL;
25881 }
25882
25883
25884 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj;
25886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25887 PyObject * obj0 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25894 {
25895 PyThreadState* __tstate = wxPyBeginAllowThreads();
25896 (arg1)->Unselect();
25897
25898 wxPyEndAllowThreads(__tstate);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 Py_INCREF(Py_None); resultobj = Py_None;
25902 return resultobj;
25903 fail:
25904 return NULL;
25905 }
25906
25907
25908 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25909 PyObject *resultobj;
25910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25911 wxTreeItemId *arg2 = 0 ;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 char *kwnames[] = {
25915 (char *) "self",(char *) "item", NULL
25916 };
25917
25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
25919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25921 if (arg2 == NULL) {
25922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25923 }
25924 {
25925 PyThreadState* __tstate = wxPyBeginAllowThreads();
25926 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
25927
25928 wxPyEndAllowThreads(__tstate);
25929 if (PyErr_Occurred()) SWIG_fail;
25930 }
25931 Py_INCREF(Py_None); resultobj = Py_None;
25932 return resultobj;
25933 fail:
25934 return NULL;
25935 }
25936
25937
25938 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25939 PyObject *resultobj;
25940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25941 PyObject * obj0 = 0 ;
25942 char *kwnames[] = {
25943 (char *) "self", NULL
25944 };
25945
25946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 (arg1)->UnselectAll();
25951
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 Py_INCREF(Py_None); resultobj = Py_None;
25956 return resultobj;
25957 fail:
25958 return NULL;
25959 }
25960
25961
25962 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25963 PyObject *resultobj;
25964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25965 wxTreeItemId *arg2 = 0 ;
25966 bool arg3 = (bool) True ;
25967 PyObject * obj0 = 0 ;
25968 PyObject * obj1 = 0 ;
25969 PyObject * obj2 = 0 ;
25970 char *kwnames[] = {
25971 (char *) "self",(char *) "item",(char *) "select", NULL
25972 };
25973
25974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25977 if (arg2 == NULL) {
25978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25979 }
25980 if (obj2) {
25981 {
25982 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 }
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 Py_INCREF(Py_None); resultobj = Py_None;
25994 return resultobj;
25995 fail:
25996 return NULL;
25997 }
25998
25999
26000 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj;
26002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26003 wxTreeItemId *arg2 = 0 ;
26004 PyObject * obj0 = 0 ;
26005 PyObject * obj1 = 0 ;
26006 char *kwnames[] = {
26007 (char *) "self",(char *) "item", NULL
26008 };
26009
26010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26013 if (arg2 == NULL) {
26014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26015 }
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 Py_INCREF(Py_None); resultobj = Py_None;
26024 return resultobj;
26025 fail:
26026 return NULL;
26027 }
26028
26029
26030 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26031 PyObject *resultobj;
26032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26033 wxTreeItemId *arg2 = 0 ;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "item", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26043 if (arg2 == NULL) {
26044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26045 }
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26049
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 Py_INCREF(Py_None); resultobj = Py_None;
26054 return resultobj;
26055 fail:
26056 return NULL;
26057 }
26058
26059
26060 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26061 PyObject *resultobj;
26062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26063 wxTreeItemId *arg2 = 0 ;
26064 PyObject * obj0 = 0 ;
26065 PyObject * obj1 = 0 ;
26066 char *kwnames[] = {
26067 (char *) "self",(char *) "item", NULL
26068 };
26069
26070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26073 if (arg2 == NULL) {
26074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26075 }
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26079
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 Py_INCREF(Py_None); resultobj = Py_None;
26084 return resultobj;
26085 fail:
26086 return NULL;
26087 }
26088
26089
26090 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26091 PyObject *resultobj;
26092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26093 wxTreeItemId *arg2 = 0 ;
26094 PyObject * obj0 = 0 ;
26095 PyObject * obj1 = 0 ;
26096 char *kwnames[] = {
26097 (char *) "self",(char *) "item", NULL
26098 };
26099
26100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26103 if (arg2 == NULL) {
26104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26105 }
26106 {
26107 PyThreadState* __tstate = wxPyBeginAllowThreads();
26108 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26109
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 Py_INCREF(Py_None); resultobj = Py_None;
26114 return resultobj;
26115 fail:
26116 return NULL;
26117 }
26118
26119
26120 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26121 PyObject *resultobj;
26122 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26123 wxTextCtrl *result;
26124 PyObject * obj0 = 0 ;
26125 char *kwnames[] = {
26126 (char *) "self", NULL
26127 };
26128
26129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26134
26135 wxPyEndAllowThreads(__tstate);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 }
26138 {
26139 resultobj = wxPyMake_wxObject(result);
26140 }
26141 return resultobj;
26142 fail:
26143 return NULL;
26144 }
26145
26146
26147 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26148 PyObject *resultobj;
26149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26150 wxTreeItemId *arg2 = 0 ;
26151 PyObject * obj0 = 0 ;
26152 PyObject * obj1 = 0 ;
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "item", NULL
26155 };
26156
26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26160 if (arg2 == NULL) {
26161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26162 }
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26166
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 Py_INCREF(Py_None); resultobj = Py_None;
26171 return resultobj;
26172 fail:
26173 return NULL;
26174 }
26175
26176
26177 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26178 PyObject *resultobj;
26179 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26180 wxPoint *arg2 = 0 ;
26181 int *arg3 = 0 ;
26182 wxTreeItemId result;
26183 wxPoint temp2 ;
26184 int temp3 ;
26185 PyObject * obj0 = 0 ;
26186 PyObject * obj1 = 0 ;
26187 char *kwnames[] = {
26188 (char *) "self",(char *) "point", NULL
26189 };
26190
26191 arg3 = &temp3;
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26194 {
26195 arg2 = &temp2;
26196 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26197 }
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 {
26206 wxTreeItemId * resultptr;
26207 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26209 }
26210 {
26211 PyObject *o = PyInt_FromLong((long) (*arg3));
26212 resultobj = t_output_helper(resultobj,o);
26213 }
26214 return resultobj;
26215 fail:
26216 return NULL;
26217 }
26218
26219
26220 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26221 PyObject *resultobj;
26222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26223 wxTreeItemId *arg2 = 0 ;
26224 bool arg3 = (bool) False ;
26225 PyObject *result;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 PyObject * obj2 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26236 if (arg2 == NULL) {
26237 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26238 }
26239 if (obj2) {
26240 {
26241 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26242 if (PyErr_Occurred()) SWIG_fail;
26243 }
26244 }
26245 {
26246 PyThreadState* __tstate = wxPyBeginAllowThreads();
26247 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26248
26249 wxPyEndAllowThreads(__tstate);
26250 if (PyErr_Occurred()) SWIG_fail;
26251 }
26252 resultobj = result;
26253 return resultobj;
26254 fail:
26255 return NULL;
26256 }
26257
26258
26259 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26260 PyObject *obj;
26261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26263 Py_INCREF(obj);
26264 return Py_BuildValue((char *)"");
26265 }
26266 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26267 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26268 return 1;
26269 }
26270
26271
26272 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26273 PyObject *pyobj;
26274
26275 {
26276 #if wxUSE_UNICODE
26277 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26278 #else
26279 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26280 #endif
26281 }
26282 return pyobj;
26283 }
26284
26285
26286 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26287 PyObject *resultobj;
26288 wxWindow *arg1 = (wxWindow *) 0 ;
26289 int arg2 = (int) (int)-1 ;
26290 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26291 wxString *arg3 = (wxString *) &arg3_defvalue ;
26292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26294 wxSize const &arg5_defvalue = wxDefaultSize ;
26295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26296 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26297 wxString const &arg7_defvalue = wxPyEmptyString ;
26298 wxString *arg7 = (wxString *) &arg7_defvalue ;
26299 int arg8 = (int) 0 ;
26300 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26301 wxString *arg9 = (wxString *) &arg9_defvalue ;
26302 wxGenericDirCtrl *result;
26303 bool temp3 = False ;
26304 wxPoint temp4 ;
26305 wxSize temp5 ;
26306 bool temp7 = False ;
26307 bool temp9 = False ;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 PyObject * obj2 = 0 ;
26311 PyObject * obj3 = 0 ;
26312 PyObject * obj4 = 0 ;
26313 PyObject * obj5 = 0 ;
26314 PyObject * obj6 = 0 ;
26315 PyObject * obj7 = 0 ;
26316 PyObject * obj8 = 0 ;
26317 char *kwnames[] = {
26318 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26319 };
26320
26321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26323 if (obj1) {
26324 {
26325 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 }
26329 if (obj2) {
26330 {
26331 arg3 = wxString_in_helper(obj2);
26332 if (arg3 == NULL) SWIG_fail;
26333 temp3 = True;
26334 }
26335 }
26336 if (obj3) {
26337 {
26338 arg4 = &temp4;
26339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26340 }
26341 }
26342 if (obj4) {
26343 {
26344 arg5 = &temp5;
26345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26346 }
26347 }
26348 if (obj5) {
26349 {
26350 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 }
26354 if (obj6) {
26355 {
26356 arg7 = wxString_in_helper(obj6);
26357 if (arg7 == NULL) SWIG_fail;
26358 temp7 = True;
26359 }
26360 }
26361 if (obj7) {
26362 {
26363 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 }
26367 if (obj8) {
26368 {
26369 arg9 = wxString_in_helper(obj8);
26370 if (arg9 == NULL) SWIG_fail;
26371 temp9 = True;
26372 }
26373 }
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26382 {
26383 if (temp3)
26384 delete arg3;
26385 }
26386 {
26387 if (temp7)
26388 delete arg7;
26389 }
26390 {
26391 if (temp9)
26392 delete arg9;
26393 }
26394 return resultobj;
26395 fail:
26396 {
26397 if (temp3)
26398 delete arg3;
26399 }
26400 {
26401 if (temp7)
26402 delete arg7;
26403 }
26404 {
26405 if (temp9)
26406 delete arg9;
26407 }
26408 return NULL;
26409 }
26410
26411
26412 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26413 PyObject *resultobj;
26414 wxGenericDirCtrl *result;
26415 char *kwnames[] = {
26416 NULL
26417 };
26418
26419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26428 return resultobj;
26429 fail:
26430 return NULL;
26431 }
26432
26433
26434 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26435 PyObject *resultobj;
26436 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26437 wxWindow *arg2 = (wxWindow *) 0 ;
26438 int arg3 = (int) (int)-1 ;
26439 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26440 wxString *arg4 = (wxString *) &arg4_defvalue ;
26441 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26442 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26443 wxSize const &arg6_defvalue = wxDefaultSize ;
26444 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26445 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26446 wxString const &arg8_defvalue = wxPyEmptyString ;
26447 wxString *arg8 = (wxString *) &arg8_defvalue ;
26448 int arg9 = (int) 0 ;
26449 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26450 wxString *arg10 = (wxString *) &arg10_defvalue ;
26451 bool result;
26452 bool temp4 = False ;
26453 wxPoint temp5 ;
26454 wxSize temp6 ;
26455 bool temp8 = False ;
26456 bool temp10 = False ;
26457 PyObject * obj0 = 0 ;
26458 PyObject * obj1 = 0 ;
26459 PyObject * obj2 = 0 ;
26460 PyObject * obj3 = 0 ;
26461 PyObject * obj4 = 0 ;
26462 PyObject * obj5 = 0 ;
26463 PyObject * obj6 = 0 ;
26464 PyObject * obj7 = 0 ;
26465 PyObject * obj8 = 0 ;
26466 PyObject * obj9 = 0 ;
26467 char *kwnames[] = {
26468 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26469 };
26470
26471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26474 if (obj2) {
26475 {
26476 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 }
26479 }
26480 if (obj3) {
26481 {
26482 arg4 = wxString_in_helper(obj3);
26483 if (arg4 == NULL) SWIG_fail;
26484 temp4 = True;
26485 }
26486 }
26487 if (obj4) {
26488 {
26489 arg5 = &temp5;
26490 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26491 }
26492 }
26493 if (obj5) {
26494 {
26495 arg6 = &temp6;
26496 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26497 }
26498 }
26499 if (obj6) {
26500 {
26501 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26502 if (PyErr_Occurred()) SWIG_fail;
26503 }
26504 }
26505 if (obj7) {
26506 {
26507 arg8 = wxString_in_helper(obj7);
26508 if (arg8 == NULL) SWIG_fail;
26509 temp8 = True;
26510 }
26511 }
26512 if (obj8) {
26513 {
26514 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 }
26518 if (obj9) {
26519 {
26520 arg10 = wxString_in_helper(obj9);
26521 if (arg10 == NULL) SWIG_fail;
26522 temp10 = True;
26523 }
26524 }
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26528
26529 wxPyEndAllowThreads(__tstate);
26530 if (PyErr_Occurred()) SWIG_fail;
26531 }
26532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26533 {
26534 if (temp4)
26535 delete arg4;
26536 }
26537 {
26538 if (temp8)
26539 delete arg8;
26540 }
26541 {
26542 if (temp10)
26543 delete arg10;
26544 }
26545 return resultobj;
26546 fail:
26547 {
26548 if (temp4)
26549 delete arg4;
26550 }
26551 {
26552 if (temp8)
26553 delete arg8;
26554 }
26555 {
26556 if (temp10)
26557 delete arg10;
26558 }
26559 return NULL;
26560 }
26561
26562
26563 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26564 PyObject *resultobj;
26565 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26566 wxString *arg2 = 0 ;
26567 bool result;
26568 bool temp2 = False ;
26569 PyObject * obj0 = 0 ;
26570 PyObject * obj1 = 0 ;
26571 char *kwnames[] = {
26572 (char *) "self",(char *) "path", NULL
26573 };
26574
26575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26577 {
26578 arg2 = wxString_in_helper(obj1);
26579 if (arg2 == NULL) SWIG_fail;
26580 temp2 = True;
26581 }
26582 {
26583 PyThreadState* __tstate = wxPyBeginAllowThreads();
26584 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26585
26586 wxPyEndAllowThreads(__tstate);
26587 if (PyErr_Occurred()) SWIG_fail;
26588 }
26589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26590 {
26591 if (temp2)
26592 delete arg2;
26593 }
26594 return resultobj;
26595 fail:
26596 {
26597 if (temp2)
26598 delete arg2;
26599 }
26600 return NULL;
26601 }
26602
26603
26604 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26605 PyObject *resultobj;
26606 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26607 wxString result;
26608 PyObject * obj0 = 0 ;
26609 char *kwnames[] = {
26610 (char *) "self", NULL
26611 };
26612
26613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26615 {
26616 PyThreadState* __tstate = wxPyBeginAllowThreads();
26617 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26618
26619 wxPyEndAllowThreads(__tstate);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
26622 {
26623 #if wxUSE_UNICODE
26624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26625 #else
26626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26627 #endif
26628 }
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26636 PyObject *resultobj;
26637 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26638 wxString *arg2 = 0 ;
26639 bool temp2 = False ;
26640 PyObject * obj0 = 0 ;
26641 PyObject * obj1 = 0 ;
26642 char *kwnames[] = {
26643 (char *) "self",(char *) "path", NULL
26644 };
26645
26646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26648 {
26649 arg2 = wxString_in_helper(obj1);
26650 if (arg2 == NULL) SWIG_fail;
26651 temp2 = True;
26652 }
26653 {
26654 PyThreadState* __tstate = wxPyBeginAllowThreads();
26655 (arg1)->SetDefaultPath((wxString const &)*arg2);
26656
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 Py_INCREF(Py_None); resultobj = Py_None;
26661 {
26662 if (temp2)
26663 delete arg2;
26664 }
26665 return resultobj;
26666 fail:
26667 {
26668 if (temp2)
26669 delete arg2;
26670 }
26671 return NULL;
26672 }
26673
26674
26675 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26676 PyObject *resultobj;
26677 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26678 wxString result;
26679 PyObject * obj0 = 0 ;
26680 char *kwnames[] = {
26681 (char *) "self", NULL
26682 };
26683
26684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26686 {
26687 PyThreadState* __tstate = wxPyBeginAllowThreads();
26688 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26689
26690 wxPyEndAllowThreads(__tstate);
26691 if (PyErr_Occurred()) SWIG_fail;
26692 }
26693 {
26694 #if wxUSE_UNICODE
26695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26696 #else
26697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26698 #endif
26699 }
26700 return resultobj;
26701 fail:
26702 return NULL;
26703 }
26704
26705
26706 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26707 PyObject *resultobj;
26708 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26709 wxString result;
26710 PyObject * obj0 = 0 ;
26711 char *kwnames[] = {
26712 (char *) "self", NULL
26713 };
26714
26715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26720
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 {
26725 #if wxUSE_UNICODE
26726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26727 #else
26728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26729 #endif
26730 }
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj;
26739 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26740 wxString *arg2 = 0 ;
26741 bool temp2 = False ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char *kwnames[] = {
26745 (char *) "self",(char *) "path", NULL
26746 };
26747
26748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26750 {
26751 arg2 = wxString_in_helper(obj1);
26752 if (arg2 == NULL) SWIG_fail;
26753 temp2 = True;
26754 }
26755 {
26756 PyThreadState* __tstate = wxPyBeginAllowThreads();
26757 (arg1)->SetPath((wxString const &)*arg2);
26758
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 Py_INCREF(Py_None); resultobj = Py_None;
26763 {
26764 if (temp2)
26765 delete arg2;
26766 }
26767 return resultobj;
26768 fail:
26769 {
26770 if (temp2)
26771 delete arg2;
26772 }
26773 return NULL;
26774 }
26775
26776
26777 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26778 PyObject *resultobj;
26779 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26780 bool arg2 ;
26781 PyObject * obj0 = 0 ;
26782 PyObject * obj1 = 0 ;
26783 char *kwnames[] = {
26784 (char *) "self",(char *) "show", NULL
26785 };
26786
26787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26789 {
26790 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 {
26794 PyThreadState* __tstate = wxPyBeginAllowThreads();
26795 (arg1)->ShowHidden(arg2);
26796
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 Py_INCREF(Py_None); resultobj = Py_None;
26801 return resultobj;
26802 fail:
26803 return NULL;
26804 }
26805
26806
26807 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26808 PyObject *resultobj;
26809 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26810 bool result;
26811 PyObject * obj0 = 0 ;
26812 char *kwnames[] = {
26813 (char *) "self", NULL
26814 };
26815
26816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26818 {
26819 PyThreadState* __tstate = wxPyBeginAllowThreads();
26820 result = (bool)(arg1)->GetShowHidden();
26821
26822 wxPyEndAllowThreads(__tstate);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26826 return resultobj;
26827 fail:
26828 return NULL;
26829 }
26830
26831
26832 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26833 PyObject *resultobj;
26834 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26835 wxString result;
26836 PyObject * obj0 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26846
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
26850 {
26851 #if wxUSE_UNICODE
26852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26853 #else
26854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26855 #endif
26856 }
26857 return resultobj;
26858 fail:
26859 return NULL;
26860 }
26861
26862
26863 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26864 PyObject *resultobj;
26865 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26866 wxString *arg2 = 0 ;
26867 bool temp2 = False ;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char *kwnames[] = {
26871 (char *) "self",(char *) "filter", NULL
26872 };
26873
26874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26876 {
26877 arg2 = wxString_in_helper(obj1);
26878 if (arg2 == NULL) SWIG_fail;
26879 temp2 = True;
26880 }
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 (arg1)->SetFilter((wxString const &)*arg2);
26884
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
26888 Py_INCREF(Py_None); resultobj = Py_None;
26889 {
26890 if (temp2)
26891 delete arg2;
26892 }
26893 return resultobj;
26894 fail:
26895 {
26896 if (temp2)
26897 delete arg2;
26898 }
26899 return NULL;
26900 }
26901
26902
26903 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26906 int result;
26907 PyObject * obj0 = 0 ;
26908 char *kwnames[] = {
26909 (char *) "self", NULL
26910 };
26911
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26917
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 resultobj = SWIG_PyObj_FromInt((int)result);
26922 return resultobj;
26923 fail:
26924 return NULL;
26925 }
26926
26927
26928 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26929 PyObject *resultobj;
26930 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26931 int arg2 ;
26932 PyObject * obj0 = 0 ;
26933 PyObject * obj1 = 0 ;
26934 char *kwnames[] = {
26935 (char *) "self",(char *) "n", NULL
26936 };
26937
26938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26940 {
26941 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26942 if (PyErr_Occurred()) SWIG_fail;
26943 }
26944 {
26945 PyThreadState* __tstate = wxPyBeginAllowThreads();
26946 (arg1)->SetFilterIndex(arg2);
26947
26948 wxPyEndAllowThreads(__tstate);
26949 if (PyErr_Occurred()) SWIG_fail;
26950 }
26951 Py_INCREF(Py_None); resultobj = Py_None;
26952 return resultobj;
26953 fail:
26954 return NULL;
26955 }
26956
26957
26958 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26959 PyObject *resultobj;
26960 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26961 wxTreeItemId result;
26962 PyObject * obj0 = 0 ;
26963 char *kwnames[] = {
26964 (char *) "self", NULL
26965 };
26966
26967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (arg1)->GetRootId();
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 {
26977 wxTreeItemId * resultptr;
26978 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26980 }
26981 return resultobj;
26982 fail:
26983 return NULL;
26984 }
26985
26986
26987 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj;
26989 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26990 wxPyTreeCtrl *result;
26991 PyObject * obj0 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
26997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27001
27002 wxPyEndAllowThreads(__tstate);
27003 if (PyErr_Occurred()) SWIG_fail;
27004 }
27005 {
27006 resultobj = wxPyMake_wxObject(result);
27007 }
27008 return resultobj;
27009 fail:
27010 return NULL;
27011 }
27012
27013
27014 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27015 PyObject *resultobj;
27016 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27017 wxDirFilterListCtrl *result;
27018 PyObject * obj0 = 0 ;
27019 char *kwnames[] = {
27020 (char *) "self", NULL
27021 };
27022
27023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27025 {
27026 PyThreadState* __tstate = wxPyBeginAllowThreads();
27027 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27028
27029 wxPyEndAllowThreads(__tstate);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 }
27032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
27033 return resultobj;
27034 fail:
27035 return NULL;
27036 }
27037
27038
27039 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27040 PyObject *resultobj;
27041 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27042 wxTreeItemId arg2 ;
27043 wxString *arg3 = 0 ;
27044 bool *arg4 = 0 ;
27045 wxTreeItemId result;
27046 wxTreeItemId *argp2 ;
27047 bool temp3 = False ;
27048 bool temp4 ;
27049 PyObject * obj0 = 0 ;
27050 PyObject * obj1 = 0 ;
27051 PyObject * obj2 = 0 ;
27052 char *kwnames[] = {
27053 (char *) "self",(char *) "parentId",(char *) "path", NULL
27054 };
27055
27056 arg4 = &temp4;
27057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27059 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27060 arg2 = *argp2;
27061 {
27062 arg3 = wxString_in_helper(obj2);
27063 if (arg3 == NULL) SWIG_fail;
27064 temp3 = True;
27065 }
27066 {
27067 PyThreadState* __tstate = wxPyBeginAllowThreads();
27068 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27069
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
27073 {
27074 wxTreeItemId * resultptr;
27075 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27076 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
27077 }
27078 {
27079 PyObject *o = PyInt_FromLong((long) (*arg4));
27080 resultobj = t_output_helper(resultobj,o);
27081 }
27082 {
27083 if (temp3)
27084 delete arg3;
27085 }
27086 return resultobj;
27087 fail:
27088 {
27089 if (temp3)
27090 delete arg3;
27091 }
27092 return NULL;
27093 }
27094
27095
27096 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27097 PyObject *resultobj;
27098 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27099 PyObject * obj0 = 0 ;
27100 char *kwnames[] = {
27101 (char *) "self", NULL
27102 };
27103
27104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 (arg1)->DoResize();
27109
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 Py_INCREF(Py_None); resultobj = Py_None;
27114 return resultobj;
27115 fail:
27116 return NULL;
27117 }
27118
27119
27120 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27121 PyObject *resultobj;
27122 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27123 PyObject * obj0 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "self", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
27132 (arg1)->ReCreateTree();
27133
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 Py_INCREF(Py_None); resultobj = Py_None;
27138 return resultobj;
27139 fail:
27140 return NULL;
27141 }
27142
27143
27144 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27145 PyObject *obj;
27146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27147 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27148 Py_INCREF(obj);
27149 return Py_BuildValue((char *)"");
27150 }
27151 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27152 PyObject *resultobj;
27153 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27154 int arg2 = (int) (int)-1 ;
27155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27157 wxSize const &arg4_defvalue = wxDefaultSize ;
27158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27159 long arg5 = (long) 0 ;
27160 wxDirFilterListCtrl *result;
27161 wxPoint temp3 ;
27162 wxSize temp4 ;
27163 PyObject * obj0 = 0 ;
27164 PyObject * obj1 = 0 ;
27165 PyObject * obj2 = 0 ;
27166 PyObject * obj3 = 0 ;
27167 PyObject * obj4 = 0 ;
27168 char *kwnames[] = {
27169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27170 };
27171
27172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27174 if (obj1) {
27175 {
27176 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 }
27180 if (obj2) {
27181 {
27182 arg3 = &temp3;
27183 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27184 }
27185 }
27186 if (obj3) {
27187 {
27188 arg4 = &temp4;
27189 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27190 }
27191 }
27192 if (obj4) {
27193 {
27194 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27195 if (PyErr_Occurred()) SWIG_fail;
27196 }
27197 }
27198 {
27199 PyThreadState* __tstate = wxPyBeginAllowThreads();
27200 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27201
27202 wxPyEndAllowThreads(__tstate);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27206 return resultobj;
27207 fail:
27208 return NULL;
27209 }
27210
27211
27212 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27213 PyObject *resultobj;
27214 wxDirFilterListCtrl *result;
27215 char *kwnames[] = {
27216 NULL
27217 };
27218
27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27228 return resultobj;
27229 fail:
27230 return NULL;
27231 }
27232
27233
27234 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27235 PyObject *resultobj;
27236 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27237 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27238 int arg3 = (int) (int)-1 ;
27239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27241 wxSize const &arg5_defvalue = wxDefaultSize ;
27242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27243 long arg6 = (long) 0 ;
27244 bool result;
27245 wxPoint temp4 ;
27246 wxSize temp5 ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 PyObject * obj2 = 0 ;
27250 PyObject * obj3 = 0 ;
27251 PyObject * obj4 = 0 ;
27252 PyObject * obj5 = 0 ;
27253 char *kwnames[] = {
27254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27255 };
27256
27257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27260 if (obj2) {
27261 {
27262 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 }
27266 if (obj3) {
27267 {
27268 arg4 = &temp4;
27269 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27270 }
27271 }
27272 if (obj4) {
27273 {
27274 arg5 = &temp5;
27275 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27276 }
27277 }
27278 if (obj5) {
27279 {
27280 arg6 = (long) SWIG_PyObj_AsLong(obj5);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 }
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27287
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27292 return resultobj;
27293 fail:
27294 return NULL;
27295 }
27296
27297
27298 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27301 wxString *arg2 = 0 ;
27302 int arg3 ;
27303 bool temp2 = False ;
27304 PyObject * obj0 = 0 ;
27305 PyObject * obj1 = 0 ;
27306 PyObject * obj2 = 0 ;
27307 char *kwnames[] = {
27308 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27309 };
27310
27311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27313 {
27314 arg2 = wxString_in_helper(obj1);
27315 if (arg2 == NULL) SWIG_fail;
27316 temp2 = True;
27317 }
27318 {
27319 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 Py_INCREF(Py_None); resultobj = Py_None;
27330 {
27331 if (temp2)
27332 delete arg2;
27333 }
27334 return resultobj;
27335 fail:
27336 {
27337 if (temp2)
27338 delete arg2;
27339 }
27340 return NULL;
27341 }
27342
27343
27344 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27345 PyObject *obj;
27346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27347 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27348 Py_INCREF(obj);
27349 return Py_BuildValue((char *)"");
27350 }
27351 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27352 PyObject *resultobj;
27353 wxWindow *arg1 = (wxWindow *) 0 ;
27354 int arg2 ;
27355 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27356 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27357 wxSize const &arg4_defvalue = wxDefaultSize ;
27358 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27359 long arg5 = (long) 0 ;
27360 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27361 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27362 wxString const &arg7_defvalue = wxPyControlNameStr ;
27363 wxString *arg7 = (wxString *) &arg7_defvalue ;
27364 wxPyControl *result;
27365 wxPoint temp3 ;
27366 wxSize temp4 ;
27367 bool temp7 = False ;
27368 PyObject * obj0 = 0 ;
27369 PyObject * obj1 = 0 ;
27370 PyObject * obj2 = 0 ;
27371 PyObject * obj3 = 0 ;
27372 PyObject * obj4 = 0 ;
27373 PyObject * obj5 = 0 ;
27374 PyObject * obj6 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27381 {
27382 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
27385 if (obj2) {
27386 {
27387 arg3 = &temp3;
27388 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27389 }
27390 }
27391 if (obj3) {
27392 {
27393 arg4 = &temp4;
27394 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27395 }
27396 }
27397 if (obj4) {
27398 {
27399 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 }
27402 }
27403 if (obj5) {
27404 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27405 if (arg6 == NULL) {
27406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27407 }
27408 }
27409 if (obj6) {
27410 {
27411 arg7 = wxString_in_helper(obj6);
27412 if (arg7 == NULL) SWIG_fail;
27413 temp7 = True;
27414 }
27415 }
27416 {
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27419
27420 wxPyEndAllowThreads(__tstate);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27424 {
27425 if (temp7)
27426 delete arg7;
27427 }
27428 return resultobj;
27429 fail:
27430 {
27431 if (temp7)
27432 delete arg7;
27433 }
27434 return NULL;
27435 }
27436
27437
27438 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj;
27440 wxPyControl *arg1 = (wxPyControl *) 0 ;
27441 PyObject *arg2 = (PyObject *) 0 ;
27442 PyObject *arg3 = (PyObject *) 0 ;
27443 PyObject * obj0 = 0 ;
27444 PyObject * obj1 = 0 ;
27445 PyObject * obj2 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self",(char *) "self",(char *) "_class", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27452 arg2 = obj1;
27453 arg3 = obj2;
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 (arg1)->_setCallbackInfo(arg2,arg3);
27457
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 Py_INCREF(Py_None); resultobj = Py_None;
27462 return resultobj;
27463 fail:
27464 return NULL;
27465 }
27466
27467
27468 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27469 PyObject *resultobj;
27470 wxPyControl *arg1 = (wxPyControl *) 0 ;
27471 int arg2 ;
27472 int arg3 ;
27473 int arg4 ;
27474 int arg5 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 PyObject * obj2 = 0 ;
27478 PyObject * obj3 = 0 ;
27479 PyObject * obj4 = 0 ;
27480 char *kwnames[] = {
27481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27482 };
27483
27484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27486 {
27487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27488 if (PyErr_Occurred()) SWIG_fail;
27489 }
27490 {
27491 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 {
27495 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 {
27499 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 PyThreadState* __tstate = wxPyBeginAllowThreads();
27504 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27505
27506 wxPyEndAllowThreads(__tstate);
27507 if (PyErr_Occurred()) SWIG_fail;
27508 }
27509 Py_INCREF(Py_None); resultobj = Py_None;
27510 return resultobj;
27511 fail:
27512 return NULL;
27513 }
27514
27515
27516 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27517 PyObject *resultobj;
27518 wxPyControl *arg1 = (wxPyControl *) 0 ;
27519 int arg2 ;
27520 int arg3 ;
27521 int arg4 ;
27522 int arg5 ;
27523 int arg6 = (int) wxSIZE_AUTO ;
27524 PyObject * obj0 = 0 ;
27525 PyObject * obj1 = 0 ;
27526 PyObject * obj2 = 0 ;
27527 PyObject * obj3 = 0 ;
27528 PyObject * obj4 = 0 ;
27529 PyObject * obj5 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27536 {
27537 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27538 if (PyErr_Occurred()) SWIG_fail;
27539 }
27540 {
27541 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 {
27545 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27546 if (PyErr_Occurred()) SWIG_fail;
27547 }
27548 {
27549 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 if (obj5) {
27553 {
27554 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 }
27558 {
27559 PyThreadState* __tstate = wxPyBeginAllowThreads();
27560 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27561
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 Py_INCREF(Py_None); resultobj = Py_None;
27566 return resultobj;
27567 fail:
27568 return NULL;
27569 }
27570
27571
27572 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj;
27574 wxPyControl *arg1 = (wxPyControl *) 0 ;
27575 int arg2 ;
27576 int arg3 ;
27577 PyObject * obj0 = 0 ;
27578 PyObject * obj1 = 0 ;
27579 PyObject * obj2 = 0 ;
27580 char *kwnames[] = {
27581 (char *) "self",(char *) "width",(char *) "height", NULL
27582 };
27583
27584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27586 {
27587 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 }
27590 {
27591 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 (arg1)->base_DoSetClientSize(arg2,arg3);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 Py_INCREF(Py_None); resultobj = Py_None;
27602 return resultobj;
27603 fail:
27604 return NULL;
27605 }
27606
27607
27608 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj;
27610 wxPyControl *arg1 = (wxPyControl *) 0 ;
27611 int arg2 ;
27612 int arg3 ;
27613 PyObject * obj0 = 0 ;
27614 PyObject * obj1 = 0 ;
27615 PyObject * obj2 = 0 ;
27616 char *kwnames[] = {
27617 (char *) "self",(char *) "x",(char *) "y", NULL
27618 };
27619
27620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27622 {
27623 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 {
27627 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27633
27634 wxPyEndAllowThreads(__tstate);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
27637 Py_INCREF(Py_None); resultobj = Py_None;
27638 return resultobj;
27639 fail:
27640 return NULL;
27641 }
27642
27643
27644 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27645 PyObject *resultobj;
27646 wxPyControl *arg1 = (wxPyControl *) 0 ;
27647 int *arg2 = (int *) 0 ;
27648 int *arg3 = (int *) 0 ;
27649 int temp2 ;
27650 int temp3 ;
27651 PyObject * obj0 = 0 ;
27652 char *kwnames[] = {
27653 (char *) "self", NULL
27654 };
27655
27656 arg2 = &temp2;
27657 arg3 = &temp3;
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27660 {
27661 PyThreadState* __tstate = wxPyBeginAllowThreads();
27662 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27663
27664 wxPyEndAllowThreads(__tstate);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
27667 Py_INCREF(Py_None); resultobj = Py_None;
27668 {
27669 PyObject *o = PyInt_FromLong((long) (*arg2));
27670 resultobj = t_output_helper(resultobj,o);
27671 }
27672 {
27673 PyObject *o = PyInt_FromLong((long) (*arg3));
27674 resultobj = t_output_helper(resultobj,o);
27675 }
27676 return resultobj;
27677 fail:
27678 return NULL;
27679 }
27680
27681
27682 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27683 PyObject *resultobj;
27684 wxPyControl *arg1 = (wxPyControl *) 0 ;
27685 int *arg2 = (int *) 0 ;
27686 int *arg3 = (int *) 0 ;
27687 int temp2 ;
27688 int temp3 ;
27689 PyObject * obj0 = 0 ;
27690 char *kwnames[] = {
27691 (char *) "self", NULL
27692 };
27693
27694 arg2 = &temp2;
27695 arg3 = &temp3;
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27698 {
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27701
27702 wxPyEndAllowThreads(__tstate);
27703 if (PyErr_Occurred()) SWIG_fail;
27704 }
27705 Py_INCREF(Py_None); resultobj = Py_None;
27706 {
27707 PyObject *o = PyInt_FromLong((long) (*arg2));
27708 resultobj = t_output_helper(resultobj,o);
27709 }
27710 {
27711 PyObject *o = PyInt_FromLong((long) (*arg3));
27712 resultobj = t_output_helper(resultobj,o);
27713 }
27714 return resultobj;
27715 fail:
27716 return NULL;
27717 }
27718
27719
27720 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27721 PyObject *resultobj;
27722 wxPyControl *arg1 = (wxPyControl *) 0 ;
27723 int *arg2 = (int *) 0 ;
27724 int *arg3 = (int *) 0 ;
27725 int temp2 ;
27726 int temp3 ;
27727 PyObject * obj0 = 0 ;
27728 char *kwnames[] = {
27729 (char *) "self", NULL
27730 };
27731
27732 arg2 = &temp2;
27733 arg3 = &temp3;
27734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27736 {
27737 PyThreadState* __tstate = wxPyBeginAllowThreads();
27738 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27739
27740 wxPyEndAllowThreads(__tstate);
27741 if (PyErr_Occurred()) SWIG_fail;
27742 }
27743 Py_INCREF(Py_None); resultobj = Py_None;
27744 {
27745 PyObject *o = PyInt_FromLong((long) (*arg2));
27746 resultobj = t_output_helper(resultobj,o);
27747 }
27748 {
27749 PyObject *o = PyInt_FromLong((long) (*arg3));
27750 resultobj = t_output_helper(resultobj,o);
27751 }
27752 return resultobj;
27753 fail:
27754 return NULL;
27755 }
27756
27757
27758 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27759 PyObject *resultobj;
27760 wxPyControl *arg1 = (wxPyControl *) 0 ;
27761 wxSize result;
27762 PyObject * obj0 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27772
27773 wxPyEndAllowThreads(__tstate);
27774 if (PyErr_Occurred()) SWIG_fail;
27775 }
27776 {
27777 wxSize * resultptr;
27778 resultptr = new wxSize((wxSize &) result);
27779 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27780 }
27781 return resultobj;
27782 fail:
27783 return NULL;
27784 }
27785
27786
27787 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27788 PyObject *resultobj;
27789 wxPyControl *arg1 = (wxPyControl *) 0 ;
27790 wxSize result;
27791 PyObject * obj0 = 0 ;
27792 char *kwnames[] = {
27793 (char *) "self", NULL
27794 };
27795
27796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 {
27806 wxSize * resultptr;
27807 resultptr = new wxSize((wxSize &) result);
27808 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27809 }
27810 return resultobj;
27811 fail:
27812 return NULL;
27813 }
27814
27815
27816 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27817 PyObject *resultobj;
27818 wxPyControl *arg1 = (wxPyControl *) 0 ;
27819 PyObject * obj0 = 0 ;
27820 char *kwnames[] = {
27821 (char *) "self", NULL
27822 };
27823
27824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 (arg1)->base_InitDialog();
27829
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 Py_INCREF(Py_None); resultobj = Py_None;
27834 return resultobj;
27835 fail:
27836 return NULL;
27837 }
27838
27839
27840 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27841 PyObject *resultobj;
27842 wxPyControl *arg1 = (wxPyControl *) 0 ;
27843 bool result;
27844 PyObject * obj0 = 0 ;
27845 char *kwnames[] = {
27846 (char *) "self", NULL
27847 };
27848
27849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27851 {
27852 PyThreadState* __tstate = wxPyBeginAllowThreads();
27853 result = (bool)(arg1)->base_TransferDataToWindow();
27854
27855 wxPyEndAllowThreads(__tstate);
27856 if (PyErr_Occurred()) SWIG_fail;
27857 }
27858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27859 return resultobj;
27860 fail:
27861 return NULL;
27862 }
27863
27864
27865 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27866 PyObject *resultobj;
27867 wxPyControl *arg1 = (wxPyControl *) 0 ;
27868 bool result;
27869 PyObject * obj0 = 0 ;
27870 char *kwnames[] = {
27871 (char *) "self", NULL
27872 };
27873
27874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27876 {
27877 PyThreadState* __tstate = wxPyBeginAllowThreads();
27878 result = (bool)(arg1)->base_TransferDataFromWindow();
27879
27880 wxPyEndAllowThreads(__tstate);
27881 if (PyErr_Occurred()) SWIG_fail;
27882 }
27883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27891 PyObject *resultobj;
27892 wxPyControl *arg1 = (wxPyControl *) 0 ;
27893 bool result;
27894 PyObject * obj0 = 0 ;
27895 char *kwnames[] = {
27896 (char *) "self", NULL
27897 };
27898
27899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27901 {
27902 PyThreadState* __tstate = wxPyBeginAllowThreads();
27903 result = (bool)(arg1)->base_Validate();
27904
27905 wxPyEndAllowThreads(__tstate);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 }
27908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27909 return resultobj;
27910 fail:
27911 return NULL;
27912 }
27913
27914
27915 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27916 PyObject *resultobj;
27917 wxPyControl *arg1 = (wxPyControl *) 0 ;
27918 bool result;
27919 PyObject * obj0 = 0 ;
27920 char *kwnames[] = {
27921 (char *) "self", NULL
27922 };
27923
27924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27926 {
27927 PyThreadState* __tstate = wxPyBeginAllowThreads();
27928 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27929
27930 wxPyEndAllowThreads(__tstate);
27931 if (PyErr_Occurred()) SWIG_fail;
27932 }
27933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27934 return resultobj;
27935 fail:
27936 return NULL;
27937 }
27938
27939
27940 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27941 PyObject *resultobj;
27942 wxPyControl *arg1 = (wxPyControl *) 0 ;
27943 bool result;
27944 PyObject * obj0 = 0 ;
27945 char *kwnames[] = {
27946 (char *) "self", NULL
27947 };
27948
27949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27951 {
27952 PyThreadState* __tstate = wxPyBeginAllowThreads();
27953 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27954
27955 wxPyEndAllowThreads(__tstate);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27959 return resultobj;
27960 fail:
27961 return NULL;
27962 }
27963
27964
27965 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27966 PyObject *resultobj;
27967 wxPyControl *arg1 = (wxPyControl *) 0 ;
27968 wxSize result;
27969 PyObject * obj0 = 0 ;
27970 char *kwnames[] = {
27971 (char *) "self", NULL
27972 };
27973
27974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27976 {
27977 PyThreadState* __tstate = wxPyBeginAllowThreads();
27978 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27979
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 {
27984 wxSize * resultptr;
27985 resultptr = new wxSize((wxSize &) result);
27986 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27987 }
27988 return resultobj;
27989 fail:
27990 return NULL;
27991 }
27992
27993
27994 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27995 PyObject *resultobj;
27996 wxPyControl *arg1 = (wxPyControl *) 0 ;
27997 wxWindow *arg2 = (wxWindow *) 0 ;
27998 PyObject * obj0 = 0 ;
27999 PyObject * obj1 = 0 ;
28000 char *kwnames[] = {
28001 (char *) "self",(char *) "child", NULL
28002 };
28003
28004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 (arg1)->base_AddChild(arg2);
28010
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 Py_INCREF(Py_None); resultobj = Py_None;
28015 return resultobj;
28016 fail:
28017 return NULL;
28018 }
28019
28020
28021 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28022 PyObject *resultobj;
28023 wxPyControl *arg1 = (wxPyControl *) 0 ;
28024 wxWindow *arg2 = (wxWindow *) 0 ;
28025 PyObject * obj0 = 0 ;
28026 PyObject * obj1 = 0 ;
28027 char *kwnames[] = {
28028 (char *) "self",(char *) "child", NULL
28029 };
28030
28031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28034 {
28035 PyThreadState* __tstate = wxPyBeginAllowThreads();
28036 (arg1)->base_RemoveChild(arg2);
28037
28038 wxPyEndAllowThreads(__tstate);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 }
28041 Py_INCREF(Py_None); resultobj = Py_None;
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28049 PyObject *obj;
28050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28051 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28052 Py_INCREF(obj);
28053 return Py_BuildValue((char *)"");
28054 }
28055 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28056 PyObject *resultobj;
28057 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28058 int arg2 = (int) 0 ;
28059 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28060 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28061 wxHelpEvent *result;
28062 wxPoint temp3 ;
28063 PyObject * obj0 = 0 ;
28064 PyObject * obj1 = 0 ;
28065 PyObject * obj2 = 0 ;
28066 char *kwnames[] = {
28067 (char *) "type",(char *) "winid",(char *) "pt", NULL
28068 };
28069
28070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28071 if (obj0) {
28072 {
28073 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 }
28077 if (obj1) {
28078 {
28079 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 }
28083 if (obj2) {
28084 {
28085 arg3 = &temp3;
28086 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28087 }
28088 }
28089 {
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
28091 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28092
28093 wxPyEndAllowThreads(__tstate);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
28097 return resultobj;
28098 fail:
28099 return NULL;
28100 }
28101
28102
28103 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28104 PyObject *resultobj;
28105 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28106 wxPoint *result;
28107 PyObject * obj0 = 0 ;
28108 char *kwnames[] = {
28109 (char *) "self", NULL
28110 };
28111
28112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 {
28117 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
28118 result = (wxPoint *) &_result_ref;
28119 }
28120
28121 wxPyEndAllowThreads(__tstate);
28122 if (PyErr_Occurred()) SWIG_fail;
28123 }
28124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
28125 return resultobj;
28126 fail:
28127 return NULL;
28128 }
28129
28130
28131 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28132 PyObject *resultobj;
28133 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28134 wxPoint *arg2 = 0 ;
28135 wxPoint temp2 ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self",(char *) "pos", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28144 {
28145 arg2 = &temp2;
28146 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28147 }
28148 {
28149 PyThreadState* __tstate = wxPyBeginAllowThreads();
28150 (arg1)->SetPosition((wxPoint const &)*arg2);
28151
28152 wxPyEndAllowThreads(__tstate);
28153 if (PyErr_Occurred()) SWIG_fail;
28154 }
28155 Py_INCREF(Py_None); resultobj = Py_None;
28156 return resultobj;
28157 fail:
28158 return NULL;
28159 }
28160
28161
28162 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28163 PyObject *resultobj;
28164 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28165 wxString *result;
28166 PyObject * obj0 = 0 ;
28167 char *kwnames[] = {
28168 (char *) "self", NULL
28169 };
28170
28171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 {
28176 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28177 result = (wxString *) &_result_ref;
28178 }
28179
28180 wxPyEndAllowThreads(__tstate);
28181 if (PyErr_Occurred()) SWIG_fail;
28182 }
28183 {
28184 #if wxUSE_UNICODE
28185 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28186 #else
28187 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28188 #endif
28189 }
28190 return resultobj;
28191 fail:
28192 return NULL;
28193 }
28194
28195
28196 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28197 PyObject *resultobj;
28198 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28199 wxString *arg2 = 0 ;
28200 bool temp2 = False ;
28201 PyObject * obj0 = 0 ;
28202 PyObject * obj1 = 0 ;
28203 char *kwnames[] = {
28204 (char *) "self",(char *) "link", NULL
28205 };
28206
28207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28209 {
28210 arg2 = wxString_in_helper(obj1);
28211 if (arg2 == NULL) SWIG_fail;
28212 temp2 = True;
28213 }
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 (arg1)->SetLink((wxString const &)*arg2);
28217
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 Py_INCREF(Py_None); resultobj = Py_None;
28222 {
28223 if (temp2)
28224 delete arg2;
28225 }
28226 return resultobj;
28227 fail:
28228 {
28229 if (temp2)
28230 delete arg2;
28231 }
28232 return NULL;
28233 }
28234
28235
28236 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28237 PyObject *resultobj;
28238 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28239 wxString *result;
28240 PyObject * obj0 = 0 ;
28241 char *kwnames[] = {
28242 (char *) "self", NULL
28243 };
28244
28245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28247 {
28248 PyThreadState* __tstate = wxPyBeginAllowThreads();
28249 {
28250 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28251 result = (wxString *) &_result_ref;
28252 }
28253
28254 wxPyEndAllowThreads(__tstate);
28255 if (PyErr_Occurred()) SWIG_fail;
28256 }
28257 {
28258 #if wxUSE_UNICODE
28259 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28260 #else
28261 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28262 #endif
28263 }
28264 return resultobj;
28265 fail:
28266 return NULL;
28267 }
28268
28269
28270 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28271 PyObject *resultobj;
28272 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28273 wxString *arg2 = 0 ;
28274 bool temp2 = False ;
28275 PyObject * obj0 = 0 ;
28276 PyObject * obj1 = 0 ;
28277 char *kwnames[] = {
28278 (char *) "self",(char *) "target", NULL
28279 };
28280
28281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28283 {
28284 arg2 = wxString_in_helper(obj1);
28285 if (arg2 == NULL) SWIG_fail;
28286 temp2 = True;
28287 }
28288 {
28289 PyThreadState* __tstate = wxPyBeginAllowThreads();
28290 (arg1)->SetTarget((wxString const &)*arg2);
28291
28292 wxPyEndAllowThreads(__tstate);
28293 if (PyErr_Occurred()) SWIG_fail;
28294 }
28295 Py_INCREF(Py_None); resultobj = Py_None;
28296 {
28297 if (temp2)
28298 delete arg2;
28299 }
28300 return resultobj;
28301 fail:
28302 {
28303 if (temp2)
28304 delete arg2;
28305 }
28306 return NULL;
28307 }
28308
28309
28310 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28311 PyObject *obj;
28312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28313 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28314 Py_INCREF(obj);
28315 return Py_BuildValue((char *)"");
28316 }
28317 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28318 PyObject *resultobj;
28319 wxWindow *arg1 = (wxWindow *) NULL ;
28320 bool arg2 = (bool) True ;
28321 wxContextHelp *result;
28322 PyObject * obj0 = 0 ;
28323 PyObject * obj1 = 0 ;
28324 char *kwnames[] = {
28325 (char *) "window",(char *) "doNow", NULL
28326 };
28327
28328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28329 if (obj0) {
28330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28331 }
28332 if (obj1) {
28333 {
28334 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28335 if (PyErr_Occurred()) SWIG_fail;
28336 }
28337 }
28338 {
28339 PyThreadState* __tstate = wxPyBeginAllowThreads();
28340 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28341
28342 wxPyEndAllowThreads(__tstate);
28343 if (PyErr_Occurred()) SWIG_fail;
28344 }
28345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
28346 return resultobj;
28347 fail:
28348 return NULL;
28349 }
28350
28351
28352 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28353 PyObject *resultobj;
28354 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28355 PyObject * obj0 = 0 ;
28356 char *kwnames[] = {
28357 (char *) "self", NULL
28358 };
28359
28360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28362 {
28363 PyThreadState* __tstate = wxPyBeginAllowThreads();
28364 delete arg1;
28365
28366 wxPyEndAllowThreads(__tstate);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 Py_INCREF(Py_None); resultobj = Py_None;
28370 return resultobj;
28371 fail:
28372 return NULL;
28373 }
28374
28375
28376 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28377 PyObject *resultobj;
28378 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28379 wxWindow *arg2 = (wxWindow *) NULL ;
28380 bool result;
28381 PyObject * obj0 = 0 ;
28382 PyObject * obj1 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "self",(char *) "window", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28389 if (obj1) {
28390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28391 }
28392 {
28393 PyThreadState* __tstate = wxPyBeginAllowThreads();
28394 result = (bool)(arg1)->BeginContextHelp(arg2);
28395
28396 wxPyEndAllowThreads(__tstate);
28397 if (PyErr_Occurred()) SWIG_fail;
28398 }
28399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28400 return resultobj;
28401 fail:
28402 return NULL;
28403 }
28404
28405
28406 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28407 PyObject *resultobj;
28408 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28409 bool result;
28410 PyObject * obj0 = 0 ;
28411 char *kwnames[] = {
28412 (char *) "self", NULL
28413 };
28414
28415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 result = (bool)(arg1)->EndContextHelp();
28420
28421 wxPyEndAllowThreads(__tstate);
28422 if (PyErr_Occurred()) SWIG_fail;
28423 }
28424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28425 return resultobj;
28426 fail:
28427 return NULL;
28428 }
28429
28430
28431 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28432 PyObject *obj;
28433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28434 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28435 Py_INCREF(obj);
28436 return Py_BuildValue((char *)"");
28437 }
28438 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28439 PyObject *resultobj;
28440 wxWindow *arg1 = (wxWindow *) 0 ;
28441 int arg2 = (int) wxID_CONTEXT_HELP ;
28442 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28443 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28444 wxSize const &arg4_defvalue = wxDefaultSize ;
28445 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28446 long arg5 = (long) wxBU_AUTODRAW ;
28447 wxContextHelpButton *result;
28448 wxPoint temp3 ;
28449 wxSize temp4 ;
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 PyObject * obj2 = 0 ;
28453 PyObject * obj3 = 0 ;
28454 PyObject * obj4 = 0 ;
28455 char *kwnames[] = {
28456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28457 };
28458
28459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28461 if (obj1) {
28462 {
28463 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 }
28467 if (obj2) {
28468 {
28469 arg3 = &temp3;
28470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28471 }
28472 }
28473 if (obj3) {
28474 {
28475 arg4 = &temp4;
28476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28477 }
28478 }
28479 if (obj4) {
28480 {
28481 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 }
28485 {
28486 PyThreadState* __tstate = wxPyBeginAllowThreads();
28487 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28488
28489 wxPyEndAllowThreads(__tstate);
28490 if (PyErr_Occurred()) SWIG_fail;
28491 }
28492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28493 return resultobj;
28494 fail:
28495 return NULL;
28496 }
28497
28498
28499 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28500 PyObject *obj;
28501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28503 Py_INCREF(obj);
28504 return Py_BuildValue((char *)"");
28505 }
28506 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28507 PyObject *resultobj;
28508 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28509 wxHelpProvider *result;
28510 PyObject * obj0 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "helpProvider", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28517 {
28518 PyThreadState* __tstate = wxPyBeginAllowThreads();
28519 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28520
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28525 return resultobj;
28526 fail:
28527 return NULL;
28528 }
28529
28530
28531 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28532 PyObject *resultobj;
28533 wxHelpProvider *result;
28534 char *kwnames[] = {
28535 NULL
28536 };
28537
28538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28539 {
28540 PyThreadState* __tstate = wxPyBeginAllowThreads();
28541 result = (wxHelpProvider *)wxHelpProvider::Get();
28542
28543 wxPyEndAllowThreads(__tstate);
28544 if (PyErr_Occurred()) SWIG_fail;
28545 }
28546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28547 return resultobj;
28548 fail:
28549 return NULL;
28550 }
28551
28552
28553 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28554 PyObject *resultobj;
28555 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28556 wxWindow *arg2 = (wxWindow *) 0 ;
28557 wxString result;
28558 PyObject * obj0 = 0 ;
28559 PyObject * obj1 = 0 ;
28560 char *kwnames[] = {
28561 (char *) "self",(char *) "window", NULL
28562 };
28563
28564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28567 {
28568 PyThreadState* __tstate = wxPyBeginAllowThreads();
28569 result = (arg1)->GetHelp((wxWindow const *)arg2);
28570
28571 wxPyEndAllowThreads(__tstate);
28572 if (PyErr_Occurred()) SWIG_fail;
28573 }
28574 {
28575 #if wxUSE_UNICODE
28576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28577 #else
28578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28579 #endif
28580 }
28581 return resultobj;
28582 fail:
28583 return NULL;
28584 }
28585
28586
28587 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28588 PyObject *resultobj;
28589 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28590 wxWindow *arg2 = (wxWindow *) 0 ;
28591 bool result;
28592 PyObject * obj0 = 0 ;
28593 PyObject * obj1 = 0 ;
28594 char *kwnames[] = {
28595 (char *) "self",(char *) "window", NULL
28596 };
28597
28598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28601 {
28602 PyThreadState* __tstate = wxPyBeginAllowThreads();
28603 result = (bool)(arg1)->ShowHelp(arg2);
28604
28605 wxPyEndAllowThreads(__tstate);
28606 if (PyErr_Occurred()) SWIG_fail;
28607 }
28608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28609 return resultobj;
28610 fail:
28611 return NULL;
28612 }
28613
28614
28615 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28616 PyObject *resultobj;
28617 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28618 wxWindow *arg2 = (wxWindow *) 0 ;
28619 wxString *arg3 = 0 ;
28620 bool temp3 = False ;
28621 PyObject * obj0 = 0 ;
28622 PyObject * obj1 = 0 ;
28623 PyObject * obj2 = 0 ;
28624 char *kwnames[] = {
28625 (char *) "self",(char *) "window",(char *) "text", NULL
28626 };
28627
28628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28631 {
28632 arg3 = wxString_in_helper(obj2);
28633 if (arg3 == NULL) SWIG_fail;
28634 temp3 = True;
28635 }
28636 {
28637 PyThreadState* __tstate = wxPyBeginAllowThreads();
28638 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28639
28640 wxPyEndAllowThreads(__tstate);
28641 if (PyErr_Occurred()) SWIG_fail;
28642 }
28643 Py_INCREF(Py_None); resultobj = Py_None;
28644 {
28645 if (temp3)
28646 delete arg3;
28647 }
28648 return resultobj;
28649 fail:
28650 {
28651 if (temp3)
28652 delete arg3;
28653 }
28654 return NULL;
28655 }
28656
28657
28658 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28659 PyObject *resultobj;
28660 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28661 int arg2 ;
28662 wxString *arg3 = 0 ;
28663 bool temp3 = False ;
28664 PyObject * obj0 = 0 ;
28665 PyObject * obj1 = 0 ;
28666 PyObject * obj2 = 0 ;
28667 char *kwnames[] = {
28668 (char *) "self",(char *) "id",(char *) "text", NULL
28669 };
28670
28671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28673 {
28674 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 {
28678 arg3 = wxString_in_helper(obj2);
28679 if (arg3 == NULL) SWIG_fail;
28680 temp3 = True;
28681 }
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28685
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 Py_INCREF(Py_None); resultobj = Py_None;
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_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj;
28706 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28707 PyObject * obj0 = 0 ;
28708 char *kwnames[] = {
28709 (char *) "self", NULL
28710 };
28711
28712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28714 {
28715 PyThreadState* __tstate = wxPyBeginAllowThreads();
28716 wxHelpProvider_Destroy(arg1);
28717
28718 wxPyEndAllowThreads(__tstate);
28719 if (PyErr_Occurred()) SWIG_fail;
28720 }
28721 Py_INCREF(Py_None); resultobj = Py_None;
28722 return resultobj;
28723 fail:
28724 return NULL;
28725 }
28726
28727
28728 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28729 PyObject *obj;
28730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28731 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28732 Py_INCREF(obj);
28733 return Py_BuildValue((char *)"");
28734 }
28735 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28736 PyObject *resultobj;
28737 wxSimpleHelpProvider *result;
28738 char *kwnames[] = {
28739 NULL
28740 };
28741
28742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28746
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
28750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28751 return resultobj;
28752 fail:
28753 return NULL;
28754 }
28755
28756
28757 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28758 PyObject *obj;
28759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28760 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28761 Py_INCREF(obj);
28762 return Py_BuildValue((char *)"");
28763 }
28764 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28765 PyObject *resultobj;
28766 wxBitmap *arg1 = 0 ;
28767 wxCursor const &arg2_defvalue = wxNullCursor ;
28768 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28769 wxGenericDragImage *result;
28770 PyObject * obj0 = 0 ;
28771 PyObject * obj1 = 0 ;
28772 char *kwnames[] = {
28773 (char *) "image",(char *) "cursor", NULL
28774 };
28775
28776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28778 if (arg1 == NULL) {
28779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28780 }
28781 if (obj1) {
28782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28783 if (arg2 == NULL) {
28784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28785 }
28786 }
28787 {
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28790
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28795 return resultobj;
28796 fail:
28797 return NULL;
28798 }
28799
28800
28801 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28802 PyObject *resultobj;
28803 wxIcon *arg1 = 0 ;
28804 wxCursor const &arg2_defvalue = wxNullCursor ;
28805 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28806 wxGenericDragImage *result;
28807 PyObject * obj0 = 0 ;
28808 PyObject * obj1 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "image",(char *) "cursor", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28815 if (arg1 == NULL) {
28816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28817 }
28818 if (obj1) {
28819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28820 if (arg2 == NULL) {
28821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28822 }
28823 }
28824 {
28825 PyThreadState* __tstate = wxPyBeginAllowThreads();
28826 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28827
28828 wxPyEndAllowThreads(__tstate);
28829 if (PyErr_Occurred()) SWIG_fail;
28830 }
28831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28832 return resultobj;
28833 fail:
28834 return NULL;
28835 }
28836
28837
28838 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28839 PyObject *resultobj;
28840 wxString *arg1 = 0 ;
28841 wxCursor const &arg2_defvalue = wxNullCursor ;
28842 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28843 wxGenericDragImage *result;
28844 bool temp1 = False ;
28845 PyObject * obj0 = 0 ;
28846 PyObject * obj1 = 0 ;
28847 char *kwnames[] = {
28848 (char *) "str",(char *) "cursor", NULL
28849 };
28850
28851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28852 {
28853 arg1 = wxString_in_helper(obj0);
28854 if (arg1 == NULL) SWIG_fail;
28855 temp1 = True;
28856 }
28857 if (obj1) {
28858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28859 if (arg2 == NULL) {
28860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28861 }
28862 }
28863 {
28864 PyThreadState* __tstate = wxPyBeginAllowThreads();
28865 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28866
28867 wxPyEndAllowThreads(__tstate);
28868 if (PyErr_Occurred()) SWIG_fail;
28869 }
28870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28871 {
28872 if (temp1)
28873 delete arg1;
28874 }
28875 return resultobj;
28876 fail:
28877 {
28878 if (temp1)
28879 delete arg1;
28880 }
28881 return NULL;
28882 }
28883
28884
28885 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28886 PyObject *resultobj;
28887 wxPyTreeCtrl *arg1 = 0 ;
28888 wxTreeItemId *arg2 = 0 ;
28889 wxGenericDragImage *result;
28890 PyObject * obj0 = 0 ;
28891 PyObject * obj1 = 0 ;
28892 char *kwnames[] = {
28893 (char *) "treeCtrl",(char *) "id", NULL
28894 };
28895
28896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28898 if (arg1 == NULL) {
28899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28900 }
28901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28902 if (arg2 == NULL) {
28903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28904 }
28905 {
28906 PyThreadState* __tstate = wxPyBeginAllowThreads();
28907 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28908
28909 wxPyEndAllowThreads(__tstate);
28910 if (PyErr_Occurred()) SWIG_fail;
28911 }
28912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28913 return resultobj;
28914 fail:
28915 return NULL;
28916 }
28917
28918
28919 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28920 PyObject *resultobj;
28921 wxPyListCtrl *arg1 = 0 ;
28922 long arg2 ;
28923 wxGenericDragImage *result;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 char *kwnames[] = {
28927 (char *) "listCtrl",(char *) "id", NULL
28928 };
28929
28930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28932 if (arg1 == NULL) {
28933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28934 }
28935 {
28936 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28937 if (PyErr_Occurred()) SWIG_fail;
28938 }
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28942
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28947 return resultobj;
28948 fail:
28949 return NULL;
28950 }
28951
28952
28953 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28954 PyObject *resultobj;
28955 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28956 PyObject * obj0 = 0 ;
28957 char *kwnames[] = {
28958 (char *) "self", NULL
28959 };
28960
28961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28963 {
28964 PyThreadState* __tstate = wxPyBeginAllowThreads();
28965 delete arg1;
28966
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 Py_INCREF(Py_None); resultobj = Py_None;
28971 return resultobj;
28972 fail:
28973 return NULL;
28974 }
28975
28976
28977 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj;
28979 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28980 wxBitmap *arg2 = (wxBitmap *) 0 ;
28981 PyObject * obj0 = 0 ;
28982 PyObject * obj1 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "self",(char *) "bitmap", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
28988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28990 {
28991 PyThreadState* __tstate = wxPyBeginAllowThreads();
28992 (arg1)->SetBackingBitmap(arg2);
28993
28994 wxPyEndAllowThreads(__tstate);
28995 if (PyErr_Occurred()) SWIG_fail;
28996 }
28997 Py_INCREF(Py_None); resultobj = Py_None;
28998 return resultobj;
28999 fail:
29000 return NULL;
29001 }
29002
29003
29004 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29005 PyObject *resultobj;
29006 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29007 wxPoint *arg2 = 0 ;
29008 wxWindow *arg3 = (wxWindow *) 0 ;
29009 bool arg4 = (bool) False ;
29010 wxRect *arg5 = (wxRect *) NULL ;
29011 bool result;
29012 wxPoint temp2 ;
29013 PyObject * obj0 = 0 ;
29014 PyObject * obj1 = 0 ;
29015 PyObject * obj2 = 0 ;
29016 PyObject * obj3 = 0 ;
29017 PyObject * obj4 = 0 ;
29018 char *kwnames[] = {
29019 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29020 };
29021
29022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29024 {
29025 arg2 = &temp2;
29026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29027 }
29028 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29029 if (obj3) {
29030 {
29031 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 }
29035 if (obj4) {
29036 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29037 }
29038 {
29039 PyThreadState* __tstate = wxPyBeginAllowThreads();
29040 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29041
29042 wxPyEndAllowThreads(__tstate);
29043 if (PyErr_Occurred()) SWIG_fail;
29044 }
29045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29046 return resultobj;
29047 fail:
29048 return NULL;
29049 }
29050
29051
29052 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29053 PyObject *resultobj;
29054 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29055 wxPoint *arg2 = 0 ;
29056 wxWindow *arg3 = (wxWindow *) 0 ;
29057 wxWindow *arg4 = (wxWindow *) 0 ;
29058 bool result;
29059 wxPoint temp2 ;
29060 PyObject * obj0 = 0 ;
29061 PyObject * obj1 = 0 ;
29062 PyObject * obj2 = 0 ;
29063 PyObject * obj3 = 0 ;
29064 char *kwnames[] = {
29065 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29066 };
29067
29068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29070 {
29071 arg2 = &temp2;
29072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29073 }
29074 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29075 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29079
29080 wxPyEndAllowThreads(__tstate);
29081 if (PyErr_Occurred()) SWIG_fail;
29082 }
29083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29084 return resultobj;
29085 fail:
29086 return NULL;
29087 }
29088
29089
29090 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29091 PyObject *resultobj;
29092 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29093 bool result;
29094 PyObject * obj0 = 0 ;
29095 char *kwnames[] = {
29096 (char *) "self", NULL
29097 };
29098
29099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 result = (bool)(arg1)->EndDrag();
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29109 return resultobj;
29110 fail:
29111 return NULL;
29112 }
29113
29114
29115 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj;
29117 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29118 wxPoint *arg2 = 0 ;
29119 bool result;
29120 wxPoint temp2 ;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 char *kwnames[] = {
29124 (char *) "self",(char *) "pt", NULL
29125 };
29126
29127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29129 {
29130 arg2 = &temp2;
29131 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29132 }
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29148 PyObject *resultobj;
29149 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29150 bool result;
29151 PyObject * obj0 = 0 ;
29152 char *kwnames[] = {
29153 (char *) "self", NULL
29154 };
29155
29156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29158 {
29159 PyThreadState* __tstate = wxPyBeginAllowThreads();
29160 result = (bool)(arg1)->Show();
29161
29162 wxPyEndAllowThreads(__tstate);
29163 if (PyErr_Occurred()) SWIG_fail;
29164 }
29165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29166 return resultobj;
29167 fail:
29168 return NULL;
29169 }
29170
29171
29172 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29173 PyObject *resultobj;
29174 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29175 bool result;
29176 PyObject * obj0 = 0 ;
29177 char *kwnames[] = {
29178 (char *) "self", NULL
29179 };
29180
29181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 result = (bool)(arg1)->Hide();
29186
29187 wxPyEndAllowThreads(__tstate);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 }
29190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29191 return resultobj;
29192 fail:
29193 return NULL;
29194 }
29195
29196
29197 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29198 PyObject *resultobj;
29199 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29200 wxPoint *arg2 = 0 ;
29201 wxRect result;
29202 wxPoint temp2 ;
29203 PyObject * obj0 = 0 ;
29204 PyObject * obj1 = 0 ;
29205 char *kwnames[] = {
29206 (char *) "self",(char *) "pos", NULL
29207 };
29208
29209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29211 {
29212 arg2 = &temp2;
29213 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29214 }
29215 {
29216 PyThreadState* __tstate = wxPyBeginAllowThreads();
29217 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29218
29219 wxPyEndAllowThreads(__tstate);
29220 if (PyErr_Occurred()) SWIG_fail;
29221 }
29222 {
29223 wxRect * resultptr;
29224 resultptr = new wxRect((wxRect &) result);
29225 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
29226 }
29227 return resultobj;
29228 fail:
29229 return NULL;
29230 }
29231
29232
29233 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29234 PyObject *resultobj;
29235 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29236 wxDC *arg2 = 0 ;
29237 wxPoint *arg3 = 0 ;
29238 bool result;
29239 wxPoint temp3 ;
29240 PyObject * obj0 = 0 ;
29241 PyObject * obj1 = 0 ;
29242 PyObject * obj2 = 0 ;
29243 char *kwnames[] = {
29244 (char *) "self",(char *) "dc",(char *) "pos", NULL
29245 };
29246
29247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29250 if (arg2 == NULL) {
29251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29252 }
29253 {
29254 arg3 = &temp3;
29255 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29256 }
29257 {
29258 PyThreadState* __tstate = wxPyBeginAllowThreads();
29259 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29260
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29265 return resultobj;
29266 fail:
29267 return NULL;
29268 }
29269
29270
29271 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29272 PyObject *resultobj;
29273 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29274 wxDC *arg2 = 0 ;
29275 wxMemoryDC *arg3 = 0 ;
29276 wxRect *arg4 = 0 ;
29277 wxRect *arg5 = 0 ;
29278 bool result;
29279 wxRect temp4 ;
29280 wxRect temp5 ;
29281 PyObject * obj0 = 0 ;
29282 PyObject * obj1 = 0 ;
29283 PyObject * obj2 = 0 ;
29284 PyObject * obj3 = 0 ;
29285 PyObject * obj4 = 0 ;
29286 char *kwnames[] = {
29287 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29288 };
29289
29290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29293 if (arg2 == NULL) {
29294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29295 }
29296 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29297 if (arg3 == NULL) {
29298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29299 }
29300 {
29301 arg4 = &temp4;
29302 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29303 }
29304 {
29305 arg5 = &temp5;
29306 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29307 }
29308 {
29309 PyThreadState* __tstate = wxPyBeginAllowThreads();
29310 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29311
29312 wxPyEndAllowThreads(__tstate);
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
29315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29316 return resultobj;
29317 fail:
29318 return NULL;
29319 }
29320
29321
29322 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29323 PyObject *resultobj;
29324 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29325 wxPoint *arg2 = 0 ;
29326 wxPoint *arg3 = 0 ;
29327 bool arg4 ;
29328 bool arg5 ;
29329 bool result;
29330 wxPoint temp2 ;
29331 wxPoint temp3 ;
29332 PyObject * obj0 = 0 ;
29333 PyObject * obj1 = 0 ;
29334 PyObject * obj2 = 0 ;
29335 PyObject * obj3 = 0 ;
29336 PyObject * obj4 = 0 ;
29337 char *kwnames[] = {
29338 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29339 };
29340
29341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29343 {
29344 arg2 = &temp2;
29345 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29346 }
29347 {
29348 arg3 = &temp3;
29349 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29350 }
29351 {
29352 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29353 if (PyErr_Occurred()) SWIG_fail;
29354 }
29355 {
29356 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29357 if (PyErr_Occurred()) SWIG_fail;
29358 }
29359 {
29360 PyThreadState* __tstate = wxPyBeginAllowThreads();
29361 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29362
29363 wxPyEndAllowThreads(__tstate);
29364 if (PyErr_Occurred()) SWIG_fail;
29365 }
29366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29367 return resultobj;
29368 fail:
29369 return NULL;
29370 }
29371
29372
29373 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29374 PyObject *obj;
29375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29376 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29377 Py_INCREF(obj);
29378 return Py_BuildValue((char *)"");
29379 }
29380 static PyMethodDef SwigMethods[] = {
29381 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29382 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29383 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29384 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29385 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29386 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29387 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29388 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29389 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29390 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29391 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29392 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29393 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29394 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29395 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29396 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29397 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29398 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29399 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29400 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29401 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29402 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29403 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29404 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29405 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29406 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29407 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29408 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29409 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29410 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29411 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29412 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29413 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29415 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29419 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29421 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29422 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29425 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29427 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29436 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29440 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29441 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29446 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29447 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29450 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29451 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29453 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29456 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29457 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29458 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29463 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29467 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29468 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29469 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29473 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29474 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29479 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29480 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29484 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29486 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29487 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29488 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29490 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29491 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29495 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29496 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29497 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29501 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29502 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29505 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29506 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29507 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29508 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29518 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29535 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29537 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29575 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29582 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29587 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29589 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29594 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29605 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29617 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29628 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29632 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29649 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29655 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29680 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29687 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29690 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29707 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29713 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29720 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29722 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29724 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29729 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29731 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29736 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29741 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29763 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29771 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29781 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29805 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29811 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29816 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29821 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29833 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29835 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29838 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29844 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29847 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29850 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29853 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29854 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29855 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29856 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29861 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29862 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29863 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29864 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29867 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29868 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29870 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29873 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29877 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29878 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29883 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29885 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29886 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29912 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29925 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29937 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29942 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29953 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29960 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29964 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
29965 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29967 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
29970 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
29974 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29976 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
29979 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
29980 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
29981 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
29989 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
29993 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30001 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30003 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30008 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30013 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30015 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30023 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30024 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30028 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30059 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30060 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30061 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30064 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30070 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30072 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30074 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30075 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30076 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30077 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30079 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30081 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30084 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30087 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30089 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30091 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30097 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30098 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30101 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30114 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30120 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30125 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30126 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30133 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30140 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30141 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30146 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30154 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30158 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30159 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30161 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30164 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30169 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30171 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30181 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30189 { NULL, NULL }
30190 };
30191
30192
30193 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30194
30195 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30196 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30197 }
30198 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30199 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30200 }
30201 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30202 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30203 }
30204 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30205 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30206 }
30207 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30208 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30209 }
30210 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30211 return (void *)((wxSizer *) ((wxGridSizer *) x));
30212 }
30213 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30214 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30215 }
30216 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30217 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30218 }
30219 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30220 return (void *)((wxSizer *) ((wxPySizer *) x));
30221 }
30222 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30223 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30224 }
30225 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30226 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30227 }
30228 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30229 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30230 }
30231 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30232 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30233 }
30234 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30235 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30236 }
30237 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30238 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30239 }
30240 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30241 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30242 }
30243 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30244 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30245 }
30246 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30247 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30248 }
30249 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30250 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30251 }
30252 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30253 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30254 }
30255 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30256 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30257 }
30258 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30259 return (void *)((wxEvent *) ((wxPyEvent *) x));
30260 }
30261 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30262 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30263 }
30264 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30265 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30266 }
30267 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30268 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30269 }
30270 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30271 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30272 }
30273 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30274 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30275 }
30276 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30277 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30278 }
30279 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30280 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30281 }
30282 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30283 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30284 }
30285 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30286 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30287 }
30288 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30289 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30290 }
30291 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30292 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30293 }
30294 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30295 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30296 }
30297 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30298 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30299 }
30300 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30301 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30302 }
30303 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30304 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30305 }
30306 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30307 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30308 }
30309 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30310 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30311 }
30312 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30313 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30314 }
30315 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30316 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30317 }
30318 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30319 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30320 }
30321 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30322 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30323 }
30324 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30325 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30326 }
30327 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30328 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30329 }
30330 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30331 return (void *)((wxEvent *) ((wxShowEvent *) x));
30332 }
30333 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30334 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30335 }
30336 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30337 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30338 }
30339 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30340 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30341 }
30342 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30343 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30344 }
30345 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30346 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30347 }
30348 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30349 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30350 }
30351 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30352 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30353 }
30354 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30355 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30356 }
30357 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30358 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30359 }
30360 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30361 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30362 }
30363 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30364 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30365 }
30366 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30367 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30368 }
30369 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30370 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30371 }
30372 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30373 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30374 }
30375 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30376 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30377 }
30378 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30379 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30380 }
30381 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30382 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30383 }
30384 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30385 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30386 }
30387 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30388 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30389 }
30390 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30391 return (void *)((wxControl *) ((wxComboBox *) x));
30392 }
30393 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30394 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30395 }
30396 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30397 return (void *)((wxControl *) ((wxStaticBox *) x));
30398 }
30399 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30400 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30401 }
30402 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30403 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30404 }
30405 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30406 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30407 }
30408 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30409 return (void *)((wxControl *) ((wxScrollBar *) x));
30410 }
30411 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30412 return (void *)((wxControl *) ((wxBookCtrl *) x));
30413 }
30414 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30415 return (void *)((wxControl *) ((wxRadioButton *) x));
30416 }
30417 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30418 return (void *)((wxControl *) ((wxToggleButton *) x));
30419 }
30420 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30421 return (void *)((wxControl *) ((wxGauge *) x));
30422 }
30423 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30424 return (void *)((wxControl *) ((wxToolBarBase *) x));
30425 }
30426 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30427 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30428 }
30429 static void *_p_wxButtonTo_p_wxControl(void *x) {
30430 return (void *)((wxControl *) ((wxButton *) x));
30431 }
30432 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30433 return (void *)((wxControl *) ((wxSpinButton *) x));
30434 }
30435 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30436 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30437 }
30438 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30439 return (void *)((wxControl *) ((wxControlWithItems *) x));
30440 }
30441 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30442 return (void *)((wxControl *) ((wxRadioBox *) x));
30443 }
30444 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30445 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30446 }
30447 static void *_p_wxListbookTo_p_wxControl(void *x) {
30448 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30449 }
30450 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30451 return (void *)((wxControl *) ((wxCheckBox *) x));
30452 }
30453 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30454 return (void *)((wxControl *) ((wxTextCtrl *) x));
30455 }
30456 static void *_p_wxListViewTo_p_wxControl(void *x) {
30457 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30458 }
30459 static void *_p_wxSliderTo_p_wxControl(void *x) {
30460 return (void *)((wxControl *) ((wxSlider *) x));
30461 }
30462 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30463 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30464 }
30465 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30466 return (void *)((wxControl *) ((wxPyControl *) x));
30467 }
30468 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30469 return (void *)((wxControl *) ((wxStaticLine *) x));
30470 }
30471 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30472 return (void *)((wxControl *) ((wxStaticText *) x));
30473 }
30474 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30475 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30476 }
30477 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30478 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30479 }
30480 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30481 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30482 }
30483 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30484 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30485 }
30486 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30487 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30488 }
30489 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30490 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30491 }
30492 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30493 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30494 }
30495 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30496 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30497 }
30498 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30500 }
30501 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30502 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30503 }
30504 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30505 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30506 }
30507 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30508 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30509 }
30510 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30512 }
30513 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30514 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30515 }
30516 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30518 }
30519 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30520 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30521 }
30522 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30523 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30524 }
30525 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30526 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30527 }
30528 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30529 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30530 }
30531 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30532 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30533 }
30534 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30535 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30536 }
30537 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30538 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30539 }
30540 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30541 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30542 }
30543 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30544 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30545 }
30546 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30547 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30548 }
30549 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30550 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30551 }
30552 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30553 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30554 }
30555 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30556 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30557 }
30558 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30559 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30560 }
30561 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30562 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30563 }
30564 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30565 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30566 }
30567 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30568 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30569 }
30570 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30571 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30572 }
30573 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30574 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30575 }
30576 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30577 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30578 }
30579 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30580 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30581 }
30582 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30583 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30584 }
30585 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30586 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30587 }
30588 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30589 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30590 }
30591 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30593 }
30594 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30595 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30596 }
30597 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30598 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30599 }
30600 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30601 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30602 }
30603 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30605 }
30606 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30607 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30608 }
30609 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30610 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30611 }
30612 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30613 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30614 }
30615 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30616 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30617 }
30618 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30619 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30620 }
30621 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30622 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30623 }
30624 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30625 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30626 }
30627 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30628 return (void *)((wxButton *) ((wxBitmapButton *) x));
30629 }
30630 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30631 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30632 }
30633 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30634 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30635 }
30636 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30637 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30638 }
30639 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30640 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30641 }
30642 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30643 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30644 }
30645 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30646 return (void *)((wxObject *) ((wxSizerItem *) x));
30647 }
30648 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30650 }
30651 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30652 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30653 }
30654 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30655 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30656 }
30657 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30659 }
30660 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30661 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30662 }
30663 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30664 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30665 }
30666 static void *_p_wxSizerTo_p_wxObject(void *x) {
30667 return (void *)((wxObject *) ((wxSizer *) x));
30668 }
30669 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30670 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30671 }
30672 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30674 }
30675 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30677 }
30678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30680 }
30681 static void *_p_wxEventTo_p_wxObject(void *x) {
30682 return (void *)((wxObject *) ((wxEvent *) x));
30683 }
30684 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30685 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30686 }
30687 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30688 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30689 }
30690 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30691 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30692 }
30693 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30695 }
30696 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30698 }
30699 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30701 }
30702 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30703 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30704 }
30705 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30706 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30707 }
30708 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30709 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30710 }
30711 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30712 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30713 }
30714 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30715 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30716 }
30717 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30718 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30719 }
30720 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30722 }
30723 static void *_p_wxControlTo_p_wxObject(void *x) {
30724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30725 }
30726 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30728 }
30729 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30731 }
30732 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30734 }
30735 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30737 }
30738 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30740 }
30741 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30742 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30743 }
30744 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30746 }
30747 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30748 return (void *)((wxObject *) ((wxFSFile *) x));
30749 }
30750 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30751 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30752 }
30753 static void *_p_wxListViewTo_p_wxObject(void *x) {
30754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30755 }
30756 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30758 }
30759 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30761 }
30762 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30763 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30764 }
30765 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30767 }
30768 static void *_p_wxListbookTo_p_wxObject(void *x) {
30769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30770 }
30771 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30772 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30773 }
30774 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30776 }
30777 static void *_p_wxSliderTo_p_wxObject(void *x) {
30778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30779 }
30780 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30781 return (void *)((wxObject *) ((wxMenuItem *) x));
30782 }
30783 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30784 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30785 }
30786 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30788 }
30789 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30790 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30791 }
30792 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30793 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30794 }
30795 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30796 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30797 }
30798 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30799 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30800 }
30801 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30802 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30803 }
30804 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30805 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30806 }
30807 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30809 }
30810 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30811 return (void *)((wxObject *) ((wxContextHelp *) x));
30812 }
30813 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30814 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30815 }
30816 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30817 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30818 }
30819 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30820 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30821 }
30822 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30823 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30824 }
30825 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30826 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30827 }
30828 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30829 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30830 }
30831 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30832 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30833 }
30834 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30835 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30836 }
30837 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30838 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30839 }
30840 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30841 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30842 }
30843 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30844 return (void *)((wxObject *) ((wxImageHandler *) x));
30845 }
30846 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30847 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30848 }
30849 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30850 return (void *)((wxObject *) ((wxEvtHandler *) x));
30851 }
30852 static void *_p_wxListEventTo_p_wxObject(void *x) {
30853 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30854 }
30855 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30857 }
30858 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30860 }
30861 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30863 }
30864 static void *_p_wxButtonTo_p_wxObject(void *x) {
30865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30866 }
30867 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30869 }
30870 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30872 }
30873 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30875 }
30876 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30877 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30878 }
30879 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30881 }
30882 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30884 }
30885 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
30887 }
30888 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30890 }
30891 static void *_p_wxListItemTo_p_wxObject(void *x) {
30892 return (void *)((wxObject *) ((wxListItem *) x));
30893 }
30894 static void *_p_wxImageTo_p_wxObject(void *x) {
30895 return (void *)((wxObject *) ((wxImage *) x));
30896 }
30897 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30898 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30899 }
30900 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30901 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30902 }
30903 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30905 }
30906 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30907 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30908 }
30909 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30911 }
30912 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30914 }
30915 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30916 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30917 }
30918 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30920 }
30921 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30922 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30923 }
30924 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30925 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30926 }
30927 static void *_p_wxWindowTo_p_wxObject(void *x) {
30928 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30929 }
30930 static void *_p_wxMenuTo_p_wxObject(void *x) {
30931 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30932 }
30933 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30935 }
30936 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30937 return (void *)((wxObject *) ((wxFileSystem *) x));
30938 }
30939 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30941 }
30942 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30943 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30944 }
30945 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30946 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30947 }
30948 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30949 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30950 }
30951 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30952 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30953 }
30954 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30955 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30956 }
30957 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30959 }
30960 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30961 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30962 }
30963 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30964 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30965 }
30966 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
30967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
30968 }
30969 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30970 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30971 }
30972 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30973 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30974 }
30975 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30977 }
30978 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30980 }
30981 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
30982 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
30983 }
30984 static void *_p_wxToolBarTo_p_wxObject(void *x) {
30985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30986 }
30987 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30988 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30989 }
30990 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30991 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30992 }
30993 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
30994 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
30995 }
30996 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
30997 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
30998 }
30999 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31000 return (void *)((wxWindow *) ((wxMenuBar *) x));
31001 }
31002 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31003 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31004 }
31005 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31006 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31007 }
31008 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31009 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31010 }
31011 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31012 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31013 }
31014 static void *_p_wxControlTo_p_wxWindow(void *x) {
31015 return (void *)((wxWindow *) ((wxControl *) x));
31016 }
31017 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31018 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31019 }
31020 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31021 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31022 }
31023 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31024 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31025 }
31026 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31027 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31028 }
31029 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31030 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31031 }
31032 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31033 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31034 }
31035 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31036 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31037 }
31038 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31039 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31040 }
31041 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31042 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31043 }
31044 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31045 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31046 }
31047 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31048 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31049 }
31050 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31051 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31052 }
31053 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31054 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31055 }
31056 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31057 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31058 }
31059 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31060 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31061 }
31062 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31063 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31064 }
31065 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31066 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31067 }
31068 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31069 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31070 }
31071 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31072 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31073 }
31074 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31075 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31076 }
31077 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31078 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31079 }
31080 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31081 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31082 }
31083 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31084 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31085 }
31086 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31087 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31088 }
31089 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31090 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31091 }
31092 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31093 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31094 }
31095 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31096 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31097 }
31098 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31099 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31100 }
31101 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31102 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31103 }
31104 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31105 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31106 }
31107 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31108 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31109 }
31110 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31111 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31112 }
31113 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31114 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31115 }
31116 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31117 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31118 }
31119 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31120 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31121 }
31122 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31123 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31124 }
31125 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31126 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31127 }
31128 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31129 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31130 }
31131 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31132 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31133 }
31134 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31135 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31136 }
31137 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31138 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31139 }
31140 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31141 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31142 }
31143 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31144 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31145 }
31146 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31147 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31148 }
31149 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31150 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31151 }
31152 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31153 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31154 }
31155 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31156 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31157 }
31158 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31159 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31160 }
31161 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31162 return (void *)((wxValidator *) ((wxPyValidator *) x));
31163 }
31164 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31165 static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0},{"_p_wxBookCtrlEvent"},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent},{0}};
31166 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer},{0}};
31167 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31168 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31169 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
31170 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31171 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31172 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31173 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
31174 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31175 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
31176 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31177 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl},{"_p_wxListbook", _p_wxListbookTo_p_wxControl},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl},{"_p_wxListView", _p_wxListViewTo_p_wxControl},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl},{"_p_wxSlider", _p_wxSliderTo_p_wxControl},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl},{"_p_wxButton", _p_wxButtonTo_p_wxControl},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl},{0}};
31178 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31179 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31180 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
31181 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31182 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31183 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31184 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
31185 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31186 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31187 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31188 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31189 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31190 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31191 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31192 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31193 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31194 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31195 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
31196 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31197 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31198 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31199 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31200 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31201 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31202 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31203 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31204 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler},{0}};
31205 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31206 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
31207 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31208 static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl},{"_p_wxBookCtrl"},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl},{0}};
31209 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31210 static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0},{"_p_wxButton"},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton},{0}};
31211 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
31212 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31213 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31214 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31215 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31216 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31217 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31218 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31219 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31220 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31221 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31222 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31223 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31224 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31225 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31226 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
31227 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31228 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31229 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31230 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31231 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31232 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
31233 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31234 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31235 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}};
31236 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31237 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31238 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31239 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31240 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
31241 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31242 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
31243 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31244 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31245 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31246 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31247 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
31248
31249 static swig_type_info *swig_types_initial[] = {
31250 _swigt__p_wxTextUrlEvent,
31251 _swigt__p_wxBookCtrlEvent,
31252 _swigt__p_wxSizer,
31253 _swigt__p_wxCheckBox,
31254 _swigt__p_wxPyTreeCtrl,
31255 _swigt__p_wxEvent,
31256 _swigt__p_wxGenericDirCtrl,
31257 _swigt__p_bool,
31258 _swigt__p_wxPyTreeItemData,
31259 _swigt__p_wxItemContainer,
31260 _swigt__p_wxDirFilterListCtrl,
31261 _swigt__p_wxPyListCtrl,
31262 _swigt__p_wxStaticLine,
31263 _swigt__p_wxControl,
31264 _swigt__p_wxPyControl,
31265 _swigt__p_wxGauge,
31266 _swigt__p_wxToolBarBase,
31267 _swigt__p_wxFont,
31268 _swigt__p_wxToggleButton,
31269 _swigt__p_wxRadioButton,
31270 _swigt__p_wxChoice,
31271 _swigt__p_wxMemoryDC,
31272 _swigt__p_wxListItemAttr,
31273 _swigt__p_void,
31274 _swigt__p_int,
31275 _swigt__p_wxSize,
31276 _swigt__p_wxDC,
31277 _swigt__p_wxListView,
31278 _swigt__p_wxIcon,
31279 _swigt__p_wxTextCtrl,
31280 _swigt__p_wxNotebook,
31281 _swigt__p_wxNotifyEvent,
31282 _swigt__p_wxArrayString,
31283 _swigt__p_wxListbook,
31284 _swigt__p_wxStaticBitmap,
31285 _swigt__p_wxSlider,
31286 _swigt__p_wxStaticBox,
31287 _swigt__p_wxArrayInt,
31288 _swigt__p_wxContextHelp,
31289 _swigt__p_long,
31290 _swigt__p_wxEvtHandler,
31291 _swigt__p_wxListEvent,
31292 _swigt__p_wxListBox,
31293 _swigt__p_wxCheckListBox,
31294 _swigt__p_wxBookCtrl,
31295 _swigt__p_wxSpinButton,
31296 _swigt__p_wxButton,
31297 _swigt__p_wxBitmapButton,
31298 _swigt__p_wxRect,
31299 _swigt__p_wxContextHelpButton,
31300 _swigt__p_wxRadioBox,
31301 _swigt__p_wxScrollBar,
31302 _swigt__p_char,
31303 _swigt__p_wxTreeItemId,
31304 _swigt__p_wxComboBox,
31305 _swigt__p_wxHelpEvent,
31306 _swigt__p_wxListItem,
31307 _swigt__p_wxNotebookSizer,
31308 _swigt__p_wxSpinEvent,
31309 _swigt__p_wxGenericDragImage,
31310 _swigt__p_wxSpinCtrl,
31311 _swigt__p_wxImageList,
31312 _swigt__p_wxHelpProvider,
31313 _swigt__p_wxTextAttr,
31314 _swigt__p_wxSimpleHelpProvider,
31315 _swigt__p_wxPoint,
31316 _swigt__p_wxListbookEvent,
31317 _swigt__p_wxNotebookEvent,
31318 _swigt__p_wxObject,
31319 _swigt__p_wxCursor,
31320 _swigt__p_wxKeyEvent,
31321 _swigt__p_wxWindow,
31322 _swigt__p_wxString,
31323 _swigt__p_wxBitmap,
31324 _swigt__p_wxTreeEvent,
31325 _swigt__p_wxMouseEvent,
31326 _swigt__p_wxCommandEvent,
31327 _swigt__p_wxStaticText,
31328 _swigt__p_wxControlWithItems,
31329 _swigt__p_wxToolBarToolBase,
31330 _swigt__p_wxColour,
31331 _swigt__p_wxToolBar,
31332 _swigt__p_wxBookCtrlSizer,
31333 _swigt__p_wxValidator,
31334 0
31335 };
31336
31337
31338 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31339
31340 static swig_const_info swig_const_table[] = {
31341 {0}};
31342
31343 #ifdef __cplusplus
31344 }
31345 #endif
31346
31347 #ifdef __cplusplus
31348 extern "C"
31349 #endif
31350 SWIGEXPORT(void) SWIG_init(void) {
31351 static PyObject *SWIG_globals = 0;
31352 static int typeinit = 0;
31353 PyObject *m, *d;
31354 int i;
31355 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31356 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31357 d = PyModule_GetDict(m);
31358
31359 if (!typeinit) {
31360 for (i = 0; swig_types_initial[i]; i++) {
31361 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31362 }
31363 typeinit = 1;
31364 }
31365 SWIG_InstallConstants(d,swig_const_table);
31366
31367 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31368 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31369 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31370 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31371 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31372 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31373 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31374 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31375 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31376 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31377 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31378 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31379 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31380 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31381 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31382 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31383 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31384 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31385 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31386 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31387 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31388 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31389 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31390 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31391 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31392 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31393 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31394 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31395 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31396 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31397 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31398 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31399 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31400 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31401 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31402 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31403 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31404 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31405 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31406 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31407 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31408 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31409 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31410 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31411 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31412 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31413 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31414 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31415 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31416 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31417 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31418 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31419 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31420 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31421 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31422 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31423 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31424 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31425 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31426 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31427 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31428 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31429 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31430 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN));
31431 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE));
31432 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT));
31433 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW));
31434 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND));
31435 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31436 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31437 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31438 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31439 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31440 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31441 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31442 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31443 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31444 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31445 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31446 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31447 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31448 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31449 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31450 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31451 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31452 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31453 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31454 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31455 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31456 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31457 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31458 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31459 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31460 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31461 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31462 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31463 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31464 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31465 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31466 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31467 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31468 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31469 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31470 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31471 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31472 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31473 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31474 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31475 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31476 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31477 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31478 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31479 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31480 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31481 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31482 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31483 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31484 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31485 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31486 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31487 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31488 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31489 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31490 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31491 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31492 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31493 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31494 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31495 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31496 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31497 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31498 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31499 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31500 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31501 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31502 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31503 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31504 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31505 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31506 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31507 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31508 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31509 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31510 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31511 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31512 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31513 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31514 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31515 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31516 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31517 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31518 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31519 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31520 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31521 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31522 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31523 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31524 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31525 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31526 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31527 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31528 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31529 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31530 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31531 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31532 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31533 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31534 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31535 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31536 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31537 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31538 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31539 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31540 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31541 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31542 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31543 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31544 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31545 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31546 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31547 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31548 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31549 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31550 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31551 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31552 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31553 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31554 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31555 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31556 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31557 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31558 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31559 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31560 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31561 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31562 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31563 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31564 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31565 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31566 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31567 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31568 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31569 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31570 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31571 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31572 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31573 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31574 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31575 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31576 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31577 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31578
31579 // Map renamed classes back to their common name for OOR
31580 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31581
31582 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31583 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31584 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31585 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31586 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31587 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31588 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31589 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31590 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31591 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31592 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31593 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31594 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31595 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31596 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31597 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31598 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31599 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31600 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31601 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31602 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31603 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31604 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31605 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31606 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31607 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31608 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31609 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31610 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31611 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31612 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31613 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31614 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31615 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31616 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31617 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31618 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31619 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31620 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31621 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31622 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31623 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31624 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31625 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31626 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31627 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31628 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31629 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31630 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31631 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31632 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31633 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31634 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31635 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31636 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31637 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31638
31639 // Map renamed classes back to their common name for OOR
31640 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31641 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31642
31643 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31644 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31645 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31646 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31647 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31648 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31649 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31650 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31651 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31652 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31653
31654 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31655
31656 }
31657