]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
b4009ec989fb9073c9ca411dad3e076e4ebe2abc
[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 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
428
429 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
430 PyObject* o2;
431 PyObject* o3;
432
433 if (!target) {
434 target = o;
435 } else if (target == Py_None) {
436 Py_DECREF(Py_None);
437 target = o;
438 } else {
439 if (!PyTuple_Check(target)) {
440 o2 = target;
441 target = PyTuple_New(1);
442 PyTuple_SetItem(target, 0, o2);
443 }
444 o3 = PyTuple_New(1);
445 PyTuple_SetItem(o3, 0, o);
446
447 o2 = target;
448 target = PySequence_Concat(o2, o3);
449 Py_DECREF(o2);
450 Py_DECREF(o3);
451 }
452 return target;
453 }
454
455 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
456 self->AppendText(text);
457 }
458 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
459 return self->GetValue().Mid(from, to - from);
460 }
461 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
462 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
463 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
464 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
465 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
466 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
467 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
468 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
469
470 #include <wx/slider.h>
471
472
473 static const wxString wxPySliderNameStr(wxSliderNameStr);
474 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
475
476 #if defined(__WXMAC__) || defined(__WXX11__)
477 // implement dummy classes and such for wxMac
478
479 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
480
481 class wxToggleButton : public wxControl
482 {
483 public:
484 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
485 const wxPoint&, const wxSize&, long,
486 const wxValidator&, const wxString&)
487 { wxPyRaiseNotImplemented(); }
488
489 wxToggleButton()
490 { wxPyRaiseNotImplemented(); }
491 };
492 #endif
493
494 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
495
496 SWIGSTATIC(PyObject* )
497 SWIG_PyObj_FromUnsignedLong(unsigned long value)
498 {
499 return (value > (unsigned long)(LONG_MAX)) ?
500 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
501 }
502
503 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
504 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
505 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
506 if (udata) {
507 Py_INCREF(udata->m_obj);
508 return udata->m_obj;
509 } else {
510 Py_INCREF(Py_None);
511 return Py_None;
512 }
513 }
514 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
515 self->SetClientData(new wxPyUserData(clientData));
516 }
517 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){
518 wxPyUserData* udata = NULL;
519 if (clientData && clientData != Py_None)
520 udata = new wxPyUserData(clientData);
521 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
522 shortHelp, longHelp, udata);
523 }
524 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){
525 wxPyUserData* udata = NULL;
526 if (clientData && clientData != Py_None)
527 udata = new wxPyUserData(clientData);
528 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
529 shortHelp, longHelp, udata);
530 }
531 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
532 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
533 if (udata) {
534 Py_INCREF(udata->m_obj);
535 return udata->m_obj;
536 } else {
537 Py_INCREF(Py_None);
538 return Py_None;
539 }
540 }
541 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
542 self->SetToolClientData(id, new wxPyUserData(clientData));
543 }
544
545 #include <wx/listctrl.h>
546
547
548 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
549 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
550 // Python aware sorting function for wxPyListCtrl
551 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
552 int retval = 0;
553 PyObject* func = (PyObject*)funcPtr;
554 wxPyBeginBlockThreads();
555
556 PyObject* args = Py_BuildValue("(ii)", item1, item2);
557 PyObject* result = PyEval_CallObject(func, args);
558 Py_DECREF(args);
559 if (result) {
560 retval = PyInt_AsLong(result);
561 Py_DECREF(result);
562 }
563
564 wxPyEndBlockThreads();
565 return retval;
566 }
567
568 // C++ Version of a Python aware class
569 class wxPyListCtrl : public wxListCtrl {
570 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
571 public:
572 wxPyListCtrl() : wxListCtrl() {}
573 wxPyListCtrl(wxWindow* parent, wxWindowID id,
574 const wxPoint& pos,
575 const wxSize& size,
576 long style,
577 const wxValidator& validator,
578 const wxString& name) :
579 wxListCtrl(parent, id, pos, size, style, validator, name) {}
580
581 bool Create(wxWindow* parent, wxWindowID id,
582 const wxPoint& pos,
583 const wxSize& size,
584 long style,
585 const wxValidator& validator,
586 const wxString& name) {
587 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
588 }
589
590 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
591 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
592 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
593
594 PYPRIVATE;
595 };
596
597 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
598
599 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
600 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
601 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
602
603 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
604 wxListItem item;
605 item.SetMask( wxLIST_MASK_STATE |
606 wxLIST_MASK_TEXT |
607 wxLIST_MASK_IMAGE |
608 wxLIST_MASK_DATA |
609 wxLIST_SET_ITEM |
610 wxLIST_MASK_WIDTH |
611 wxLIST_MASK_FORMAT
612 );
613 if (self->GetColumn(col, item))
614 return new wxListItem(item);
615 else
616 return NULL;
617 }
618 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
619 wxListItem* info = new wxListItem;
620 info->m_itemId = itemId;
621 info->m_col = col;
622 info->m_mask = 0xFFFF;
623 self->GetItem(*info);
624 return info;
625 }
626 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
627 wxPoint pos;
628 self->GetItemPosition(item, pos);
629 return pos;
630 }
631 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
632 wxRect rect;
633 self->GetItemRect(item, rect, code);
634 return rect;
635 }
636 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
637 if (!PyCallable_Check(func))
638 return False;
639 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
640 }
641 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
642
643
644
645 return (wxWindow*)self->m_mainWin;
646
647 }
648
649 #include <wx/treectrl.h>
650 #include "wx/wxPython/pytree.h"
651
652 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
653 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
654 if (!other) return False;
655 return *self == *other;
656 }
657 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
658 if (!other) return True;
659 return *self != *other;
660 }
661 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
662 // C++ version of Python aware wxTreeCtrl
663 class wxPyTreeCtrl : public wxTreeCtrl {
664 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
665 public:
666 wxPyTreeCtrl() : wxTreeCtrl() {}
667 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
668 const wxPoint& pos,
669 const wxSize& size,
670 long style,
671 const wxValidator& validator,
672 const wxString& name) :
673 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
674
675 bool Create(wxWindow *parent, wxWindowID id,
676 const wxPoint& pos,
677 const wxSize& size,
678 long style,
679 const wxValidator& validator,
680 const wxString& name) {
681 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
682 }
683
684
685 int OnCompareItems(const wxTreeItemId& item1,
686 const wxTreeItemId& item2) {
687 int rval = 0;
688 bool found;
689 wxPyBeginBlockThreads();
690 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
691 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
692 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
693 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
694 Py_DECREF(o1);
695 Py_DECREF(o2);
696 }
697 wxPyEndBlockThreads();
698 if (! found)
699 rval = wxTreeCtrl::OnCompareItems(item1, item2);
700 return rval;
701 }
702 PYPRIVATE;
703 };
704
705 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
706
707
708
709 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
710
711
712 SWIGSTATIC(unsigned int)
713 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
714 {
715 return numeric_cast(unsigned int,
716 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
717 }
718
719 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
720 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
721 if (data == NULL) {
722 data = new wxPyTreeItemData();
723 data->SetId(item); // set the id
724 self->SetItemData(item, data);
725 }
726 return data;
727 }
728 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
729 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
730 if (data == NULL) {
731 data = new wxPyTreeItemData();
732 data->SetId(item); // set the id
733 self->SetItemData(item, data);
734 }
735 return data->GetData();
736 }
737 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
738 data->SetId(item); // set the id
739 self->SetItemData(item, data);
740 }
741 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
742 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
743 if (data == NULL) {
744 data = new wxPyTreeItemData(obj);
745 data->SetId(item); // set the id
746 self->SetItemData(item, data);
747 } else
748 data->SetData(obj);
749 }
750 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
751 wxPyBeginBlockThreads();
752 PyObject* rval = PyList_New(0);
753 wxArrayTreeItemIds array;
754 size_t num, x;
755 num = self->GetSelections(array);
756 for (x=0; x < num; x++) {
757 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
758 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
759 PyList_Append(rval, item);
760 }
761 wxPyEndBlockThreads();
762 return rval;
763 }
764 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
765 void* cookie = 0;
766 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
767 wxPyBeginBlockThreads();
768 PyObject* tup = PyTuple_New(2);
769 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
770 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
771 wxPyEndBlockThreads();
772 return tup;
773 }
774 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
775 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
776 wxPyBeginBlockThreads();
777 PyObject* tup = PyTuple_New(2);
778 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
779 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
780 wxPyEndBlockThreads();
781 return tup;
782 }
783 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
784 wxRect rect;
785 if (self->GetBoundingRect(item, rect, textOnly)) {
786 wxPyBeginBlockThreads();
787 wxRect* r = new wxRect(rect);
788 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
789 wxPyEndBlockThreads();
790 return val;
791 }
792 else
793 RETURN_NONE();
794 }
795 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
796 // C++ version of Python aware wxControl
797 class wxPyControl : public wxControl
798 {
799 DECLARE_DYNAMIC_CLASS(wxPyControl)
800 public:
801 wxPyControl() : wxControl() {}
802 wxPyControl(wxWindow* parent, const wxWindowID id,
803 const wxPoint& pos = wxDefaultPosition,
804 const wxSize& size = wxDefaultSize,
805 long style = 0,
806 const wxValidator& validator=wxDefaultValidator,
807 const wxString& name = wxPyControlNameStr)
808 : wxControl(parent, id, pos, size, style, validator, name) {}
809
810
811 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
812 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
813 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
814 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
815
816 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
817 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
818 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
819
820 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
821 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
822
823 DEC_PYCALLBACK__(InitDialog);
824 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
825 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
826 DEC_PYCALLBACK_BOOL_(Validate);
827
828 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
829 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
830 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
831
832 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
833 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
834
835 PYPRIVATE;
836 };
837
838 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
839
840 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
841 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
842 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
843 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
844
845 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
846 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
847 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
848
849 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
850 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
851
852 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
853 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
854 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
855 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
856
857 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
858 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
859 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
860
861 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
862 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
863
864
865
866
867 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
868
869 #include <wx/generic/dragimgg.h>
870
871 #ifdef __cplusplus
872 extern "C" {
873 #endif
874 static int _wrap_ButtonNameStr_set(PyObject *_val) {
875 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
876 return 1;
877 }
878
879
880 static PyObject *_wrap_ButtonNameStr_get() {
881 PyObject *pyobj;
882
883 {
884 #if wxUSE_UNICODE
885 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
886 #else
887 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
888 #endif
889 }
890 return pyobj;
891 }
892
893
894 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
895 PyObject *resultobj;
896 wxWindow *arg1 = (wxWindow *) 0 ;
897 int arg2 ;
898 wxString *arg3 = 0 ;
899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
901 wxSize const &arg5_defvalue = wxDefaultSize ;
902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
903 long arg6 = (long) 0 ;
904 wxValidator const &arg7_defvalue = wxDefaultValidator ;
905 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
906 wxString const &arg8_defvalue = wxPyButtonNameStr ;
907 wxString *arg8 = (wxString *) &arg8_defvalue ;
908 wxButton *result;
909 bool temp3 = False ;
910 wxPoint temp4 ;
911 wxSize temp5 ;
912 bool temp8 = False ;
913 PyObject * obj0 = 0 ;
914 PyObject * obj1 = 0 ;
915 PyObject * obj2 = 0 ;
916 PyObject * obj3 = 0 ;
917 PyObject * obj4 = 0 ;
918 PyObject * obj5 = 0 ;
919 PyObject * obj6 = 0 ;
920 PyObject * obj7 = 0 ;
921 char *kwnames[] = {
922 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
923 };
924
925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
927 {
928 arg2 = (int) SWIG_PyObj_AsInt(obj1);
929 if (PyErr_Occurred()) SWIG_fail;
930 }
931 {
932 arg3 = wxString_in_helper(obj2);
933 if (arg3 == NULL) SWIG_fail;
934 temp3 = True;
935 }
936 if (obj3) {
937 {
938 arg4 = &temp4;
939 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
940 }
941 }
942 if (obj4) {
943 {
944 arg5 = &temp5;
945 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
946 }
947 }
948 if (obj5) {
949 {
950 arg6 = (long) SWIG_PyObj_AsLong(obj5);
951 if (PyErr_Occurred()) SWIG_fail;
952 }
953 }
954 if (obj6) {
955 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
956 if (arg7 == NULL) {
957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
958 }
959 }
960 if (obj7) {
961 {
962 arg8 = wxString_in_helper(obj7);
963 if (arg8 == NULL) SWIG_fail;
964 temp8 = True;
965 }
966 }
967 {
968 PyThreadState* __tstate = wxPyBeginAllowThreads();
969 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
970
971 wxPyEndAllowThreads(__tstate);
972 if (PyErr_Occurred()) SWIG_fail;
973 }
974 {
975 resultobj = wxPyMake_wxObject(result);
976 }
977 {
978 if (temp3)
979 delete arg3;
980 }
981 {
982 if (temp8)
983 delete arg8;
984 }
985 return resultobj;
986 fail:
987 {
988 if (temp3)
989 delete arg3;
990 }
991 {
992 if (temp8)
993 delete arg8;
994 }
995 return NULL;
996 }
997
998
999 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject *resultobj;
1001 wxButton *result;
1002 char *kwnames[] = {
1003 NULL
1004 };
1005
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1007 {
1008 PyThreadState* __tstate = wxPyBeginAllowThreads();
1009 result = (wxButton *)new wxButton();
1010
1011 wxPyEndAllowThreads(__tstate);
1012 if (PyErr_Occurred()) SWIG_fail;
1013 }
1014 {
1015 resultobj = wxPyMake_wxObject(result);
1016 }
1017 return resultobj;
1018 fail:
1019 return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject *resultobj;
1025 wxButton *arg1 = (wxButton *) 0 ;
1026 wxWindow *arg2 = (wxWindow *) 0 ;
1027 int arg3 ;
1028 wxString *arg4 = 0 ;
1029 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1030 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1031 wxSize const &arg6_defvalue = wxDefaultSize ;
1032 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1033 long arg7 = (long) 0 ;
1034 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1035 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1036 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1037 wxString *arg9 = (wxString *) &arg9_defvalue ;
1038 bool result;
1039 bool temp4 = False ;
1040 wxPoint temp5 ;
1041 wxSize temp6 ;
1042 bool temp9 = False ;
1043 PyObject * obj0 = 0 ;
1044 PyObject * obj1 = 0 ;
1045 PyObject * obj2 = 0 ;
1046 PyObject * obj3 = 0 ;
1047 PyObject * obj4 = 0 ;
1048 PyObject * obj5 = 0 ;
1049 PyObject * obj6 = 0 ;
1050 PyObject * obj7 = 0 ;
1051 PyObject * obj8 = 0 ;
1052 char *kwnames[] = {
1053 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1054 };
1055
1056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1059 {
1060 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1061 if (PyErr_Occurred()) SWIG_fail;
1062 }
1063 {
1064 arg4 = wxString_in_helper(obj3);
1065 if (arg4 == NULL) SWIG_fail;
1066 temp4 = True;
1067 }
1068 if (obj4) {
1069 {
1070 arg5 = &temp5;
1071 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1072 }
1073 }
1074 if (obj5) {
1075 {
1076 arg6 = &temp6;
1077 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1078 }
1079 }
1080 if (obj6) {
1081 {
1082 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1083 if (PyErr_Occurred()) SWIG_fail;
1084 }
1085 }
1086 if (obj7) {
1087 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1088 if (arg8 == NULL) {
1089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1090 }
1091 }
1092 if (obj8) {
1093 {
1094 arg9 = wxString_in_helper(obj8);
1095 if (arg9 == NULL) SWIG_fail;
1096 temp9 = True;
1097 }
1098 }
1099 {
1100 PyThreadState* __tstate = wxPyBeginAllowThreads();
1101 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1102
1103 wxPyEndAllowThreads(__tstate);
1104 if (PyErr_Occurred()) SWIG_fail;
1105 }
1106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1107 {
1108 if (temp4)
1109 delete arg4;
1110 }
1111 {
1112 if (temp9)
1113 delete arg9;
1114 }
1115 return resultobj;
1116 fail:
1117 {
1118 if (temp4)
1119 delete arg4;
1120 }
1121 {
1122 if (temp9)
1123 delete arg9;
1124 }
1125 return NULL;
1126 }
1127
1128
1129 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1130 PyObject *resultobj;
1131 wxButton *arg1 = (wxButton *) 0 ;
1132 PyObject * obj0 = 0 ;
1133 char *kwnames[] = {
1134 (char *) "self", NULL
1135 };
1136
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1139 {
1140 PyThreadState* __tstate = wxPyBeginAllowThreads();
1141 (arg1)->SetDefault();
1142
1143 wxPyEndAllowThreads(__tstate);
1144 if (PyErr_Occurred()) SWIG_fail;
1145 }
1146 Py_INCREF(Py_None); resultobj = Py_None;
1147 return resultobj;
1148 fail:
1149 return NULL;
1150 }
1151
1152
1153 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1154 PyObject *resultobj;
1155 wxSize result;
1156 char *kwnames[] = {
1157 NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1161 {
1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
1163 result = wxButton::GetDefaultSize();
1164
1165 wxPyEndAllowThreads(__tstate);
1166 if (PyErr_Occurred()) SWIG_fail;
1167 }
1168 {
1169 wxSize * resultptr;
1170 resultptr = new wxSize((wxSize &) result);
1171 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1172 }
1173 return resultobj;
1174 fail:
1175 return NULL;
1176 }
1177
1178
1179 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1180 PyObject *obj;
1181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1182 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1183 Py_INCREF(obj);
1184 return Py_BuildValue((char *)"");
1185 }
1186 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject *resultobj;
1188 wxWindow *arg1 = (wxWindow *) 0 ;
1189 int arg2 ;
1190 wxBitmap *arg3 = 0 ;
1191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1193 wxSize const &arg5_defvalue = wxDefaultSize ;
1194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1195 long arg6 = (long) wxBU_AUTODRAW ;
1196 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1197 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1198 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1199 wxString *arg8 = (wxString *) &arg8_defvalue ;
1200 wxBitmapButton *result;
1201 wxPoint temp4 ;
1202 wxSize temp5 ;
1203 bool temp8 = False ;
1204 PyObject * obj0 = 0 ;
1205 PyObject * obj1 = 0 ;
1206 PyObject * obj2 = 0 ;
1207 PyObject * obj3 = 0 ;
1208 PyObject * obj4 = 0 ;
1209 PyObject * obj5 = 0 ;
1210 PyObject * obj6 = 0 ;
1211 PyObject * obj7 = 0 ;
1212 char *kwnames[] = {
1213 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1214 };
1215
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1218 {
1219 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1220 if (PyErr_Occurred()) SWIG_fail;
1221 }
1222 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1223 if (arg3 == NULL) {
1224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1225 }
1226 if (obj3) {
1227 {
1228 arg4 = &temp4;
1229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1230 }
1231 }
1232 if (obj4) {
1233 {
1234 arg5 = &temp5;
1235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1236 }
1237 }
1238 if (obj5) {
1239 {
1240 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 }
1243 }
1244 if (obj6) {
1245 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1246 if (arg7 == NULL) {
1247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1248 }
1249 }
1250 if (obj7) {
1251 {
1252 arg8 = wxString_in_helper(obj7);
1253 if (arg8 == NULL) SWIG_fail;
1254 temp8 = True;
1255 }
1256 }
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 resultobj = wxPyMake_wxObject(result);
1266 }
1267 {
1268 if (temp8)
1269 delete arg8;
1270 }
1271 return resultobj;
1272 fail:
1273 {
1274 if (temp8)
1275 delete arg8;
1276 }
1277 return NULL;
1278 }
1279
1280
1281 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject *resultobj;
1283 wxBitmapButton *result;
1284 char *kwnames[] = {
1285 NULL
1286 };
1287
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 result = (wxBitmapButton *)new wxBitmapButton();
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 {
1297 resultobj = wxPyMake_wxObject(result);
1298 }
1299 return resultobj;
1300 fail:
1301 return NULL;
1302 }
1303
1304
1305 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1306 PyObject *resultobj;
1307 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1308 wxWindow *arg2 = (wxWindow *) 0 ;
1309 int arg3 ;
1310 wxBitmap *arg4 = 0 ;
1311 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1312 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1313 wxSize const &arg6_defvalue = wxDefaultSize ;
1314 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1315 long arg7 = (long) wxBU_AUTODRAW ;
1316 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1317 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1318 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1319 wxString *arg9 = (wxString *) &arg9_defvalue ;
1320 bool result;
1321 wxPoint temp5 ;
1322 wxSize temp6 ;
1323 bool temp9 = False ;
1324 PyObject * obj0 = 0 ;
1325 PyObject * obj1 = 0 ;
1326 PyObject * obj2 = 0 ;
1327 PyObject * obj3 = 0 ;
1328 PyObject * obj4 = 0 ;
1329 PyObject * obj5 = 0 ;
1330 PyObject * obj6 = 0 ;
1331 PyObject * obj7 = 0 ;
1332 PyObject * obj8 = 0 ;
1333 char *kwnames[] = {
1334 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1335 };
1336
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1340 {
1341 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1345 if (arg4 == NULL) {
1346 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1347 }
1348 if (obj4) {
1349 {
1350 arg5 = &temp5;
1351 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1352 }
1353 }
1354 if (obj5) {
1355 {
1356 arg6 = &temp6;
1357 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1358 }
1359 }
1360 if (obj6) {
1361 {
1362 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 }
1366 if (obj7) {
1367 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 if (arg8 == NULL) {
1369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1370 }
1371 }
1372 if (obj8) {
1373 {
1374 arg9 = wxString_in_helper(obj8);
1375 if (arg9 == NULL) SWIG_fail;
1376 temp9 = True;
1377 }
1378 }
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1387 {
1388 if (temp9)
1389 delete arg9;
1390 }
1391 return resultobj;
1392 fail:
1393 {
1394 if (temp9)
1395 delete arg9;
1396 }
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1404 wxBitmap result;
1405 PyObject * obj0 = 0 ;
1406 char *kwnames[] = {
1407 (char *) "self", NULL
1408 };
1409
1410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1412 {
1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
1414 result = (arg1)->GetBitmapLabel();
1415
1416 wxPyEndAllowThreads(__tstate);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 {
1420 wxBitmap * resultptr;
1421 resultptr = new wxBitmap((wxBitmap &) result);
1422 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1423 }
1424 return resultobj;
1425 fail:
1426 return NULL;
1427 }
1428
1429
1430 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1433 wxBitmap result;
1434 PyObject * obj0 = 0 ;
1435 char *kwnames[] = {
1436 (char *) "self", NULL
1437 };
1438
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 result = (arg1)->GetBitmapDisabled();
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 {
1449 wxBitmap * resultptr;
1450 resultptr = new wxBitmap((wxBitmap &) result);
1451 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1452 }
1453 return resultobj;
1454 fail:
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1462 wxBitmap result;
1463 PyObject * obj0 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 result = (arg1)->GetBitmapFocus();
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 {
1478 wxBitmap * resultptr;
1479 resultptr = new wxBitmap((wxBitmap &) result);
1480 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1481 }
1482 return resultobj;
1483 fail:
1484 return NULL;
1485 }
1486
1487
1488 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1489 PyObject *resultobj;
1490 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1491 wxBitmap result;
1492 PyObject * obj0 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self", NULL
1495 };
1496
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 {
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 result = (arg1)->GetBitmapSelected();
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 {
1507 wxBitmap * resultptr;
1508 resultptr = new wxBitmap((wxBitmap &) result);
1509 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1510 }
1511 return resultobj;
1512 fail:
1513 return NULL;
1514 }
1515
1516
1517 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject *resultobj;
1519 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1520 wxBitmap *arg2 = 0 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1523 char *kwnames[] = {
1524 (char *) "self",(char *) "bitmap", NULL
1525 };
1526
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1530 if (arg2 == NULL) {
1531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 Py_INCREF(Py_None); resultobj = Py_None;
1541 return resultobj;
1542 fail:
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1550 wxBitmap *arg2 = 0 ;
1551 PyObject * obj0 = 0 ;
1552 PyObject * obj1 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "self",(char *) "bitmap", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1560 if (arg2 == NULL) {
1561 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1562 }
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 Py_INCREF(Py_None); resultobj = Py_None;
1571 return resultobj;
1572 fail:
1573 return NULL;
1574 }
1575
1576
1577 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1578 PyObject *resultobj;
1579 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1580 wxBitmap *arg2 = 0 ;
1581 PyObject * obj0 = 0 ;
1582 PyObject * obj1 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self",(char *) "bitmap", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1590 if (arg2 == NULL) {
1591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1592 }
1593 {
1594 PyThreadState* __tstate = wxPyBeginAllowThreads();
1595 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 Py_INCREF(Py_None); resultobj = Py_None;
1601 return resultobj;
1602 fail:
1603 return NULL;
1604 }
1605
1606
1607 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject *resultobj;
1609 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1610 wxBitmap *arg2 = 0 ;
1611 PyObject * obj0 = 0 ;
1612 PyObject * obj1 = 0 ;
1613 char *kwnames[] = {
1614 (char *) "self",(char *) "bitmap", NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1620 if (arg2 == NULL) {
1621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1622 }
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 Py_INCREF(Py_None); resultobj = Py_None;
1631 return resultobj;
1632 fail:
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1640 int arg2 ;
1641 int arg3 ;
1642 PyObject * obj0 = 0 ;
1643 PyObject * obj1 = 0 ;
1644 PyObject * obj2 = 0 ;
1645 char *kwnames[] = {
1646 (char *) "self",(char *) "x",(char *) "y", NULL
1647 };
1648
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1651 {
1652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 {
1656 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 (arg1)->SetMargins(arg2,arg3);
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 Py_INCREF(Py_None); resultobj = Py_None;
1667 return resultobj;
1668 fail:
1669 return NULL;
1670 }
1671
1672
1673 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1674 PyObject *resultobj;
1675 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1676 int result;
1677 PyObject * obj0 = 0 ;
1678 char *kwnames[] = {
1679 (char *) "self", NULL
1680 };
1681
1682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 resultobj = SWIG_PyObj_FromInt((int)result);
1692 return resultobj;
1693 fail:
1694 return NULL;
1695 }
1696
1697
1698 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1701 int result;
1702 PyObject * obj0 = 0 ;
1703 char *kwnames[] = {
1704 (char *) "self", NULL
1705 };
1706
1707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1709 {
1710 PyThreadState* __tstate = wxPyBeginAllowThreads();
1711 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1712
1713 wxPyEndAllowThreads(__tstate);
1714 if (PyErr_Occurred()) SWIG_fail;
1715 }
1716 resultobj = SWIG_PyObj_FromInt((int)result);
1717 return resultobj;
1718 fail:
1719 return NULL;
1720 }
1721
1722
1723 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1724 PyObject *obj;
1725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1726 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1727 Py_INCREF(obj);
1728 return Py_BuildValue((char *)"");
1729 }
1730 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1731 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1732 return 1;
1733 }
1734
1735
1736 static PyObject *_wrap_CheckBoxNameStr_get() {
1737 PyObject *pyobj;
1738
1739 {
1740 #if wxUSE_UNICODE
1741 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1742 #else
1743 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1744 #endif
1745 }
1746 return pyobj;
1747 }
1748
1749
1750 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 wxWindow *arg1 = (wxWindow *) 0 ;
1753 int arg2 ;
1754 wxString *arg3 = 0 ;
1755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1757 wxSize const &arg5_defvalue = wxDefaultSize ;
1758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1759 long arg6 = (long) 0 ;
1760 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1761 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1762 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1763 wxString *arg8 = (wxString *) &arg8_defvalue ;
1764 wxCheckBox *result;
1765 bool temp3 = False ;
1766 wxPoint temp4 ;
1767 wxSize temp5 ;
1768 bool temp8 = False ;
1769 PyObject * obj0 = 0 ;
1770 PyObject * obj1 = 0 ;
1771 PyObject * obj2 = 0 ;
1772 PyObject * obj3 = 0 ;
1773 PyObject * obj4 = 0 ;
1774 PyObject * obj5 = 0 ;
1775 PyObject * obj6 = 0 ;
1776 PyObject * obj7 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 {
1784 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1785 if (PyErr_Occurred()) SWIG_fail;
1786 }
1787 {
1788 arg3 = wxString_in_helper(obj2);
1789 if (arg3 == NULL) SWIG_fail;
1790 temp3 = True;
1791 }
1792 if (obj3) {
1793 {
1794 arg4 = &temp4;
1795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1796 }
1797 }
1798 if (obj4) {
1799 {
1800 arg5 = &temp5;
1801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1802 }
1803 }
1804 if (obj5) {
1805 {
1806 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 }
1810 if (obj6) {
1811 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1812 if (arg7 == NULL) {
1813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1814 }
1815 }
1816 if (obj7) {
1817 {
1818 arg8 = wxString_in_helper(obj7);
1819 if (arg8 == NULL) SWIG_fail;
1820 temp8 = True;
1821 }
1822 }
1823 {
1824 PyThreadState* __tstate = wxPyBeginAllowThreads();
1825 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1826
1827 wxPyEndAllowThreads(__tstate);
1828 if (PyErr_Occurred()) SWIG_fail;
1829 }
1830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1831 {
1832 if (temp3)
1833 delete arg3;
1834 }
1835 {
1836 if (temp8)
1837 delete arg8;
1838 }
1839 return resultobj;
1840 fail:
1841 {
1842 if (temp3)
1843 delete arg3;
1844 }
1845 {
1846 if (temp8)
1847 delete arg8;
1848 }
1849 return NULL;
1850 }
1851
1852
1853 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject *resultobj;
1855 wxCheckBox *result;
1856 char *kwnames[] = {
1857 NULL
1858 };
1859
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 result = (wxCheckBox *)new wxCheckBox();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1878 wxWindow *arg2 = (wxWindow *) 0 ;
1879 int arg3 ;
1880 wxString *arg4 = 0 ;
1881 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1882 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1883 wxSize const &arg6_defvalue = wxDefaultSize ;
1884 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1885 long arg7 = (long) 0 ;
1886 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1887 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1888 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1889 wxString *arg9 = (wxString *) &arg9_defvalue ;
1890 bool result;
1891 bool temp4 = False ;
1892 wxPoint temp5 ;
1893 wxSize temp6 ;
1894 bool temp9 = False ;
1895 PyObject * obj0 = 0 ;
1896 PyObject * obj1 = 0 ;
1897 PyObject * obj2 = 0 ;
1898 PyObject * obj3 = 0 ;
1899 PyObject * obj4 = 0 ;
1900 PyObject * obj5 = 0 ;
1901 PyObject * obj6 = 0 ;
1902 PyObject * obj7 = 0 ;
1903 PyObject * obj8 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 {
1912 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 {
1916 arg4 = wxString_in_helper(obj3);
1917 if (arg4 == NULL) SWIG_fail;
1918 temp4 = True;
1919 }
1920 if (obj4) {
1921 {
1922 arg5 = &temp5;
1923 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1924 }
1925 }
1926 if (obj5) {
1927 {
1928 arg6 = &temp6;
1929 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1930 }
1931 }
1932 if (obj6) {
1933 {
1934 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 }
1938 if (obj7) {
1939 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1940 if (arg8 == NULL) {
1941 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1942 }
1943 }
1944 if (obj8) {
1945 {
1946 arg9 = wxString_in_helper(obj8);
1947 if (arg9 == NULL) SWIG_fail;
1948 temp9 = True;
1949 }
1950 }
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1959 {
1960 if (temp4)
1961 delete arg4;
1962 }
1963 {
1964 if (temp9)
1965 delete arg9;
1966 }
1967 return resultobj;
1968 fail:
1969 {
1970 if (temp4)
1971 delete arg4;
1972 }
1973 {
1974 if (temp9)
1975 delete arg9;
1976 }
1977 return NULL;
1978 }
1979
1980
1981 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1984 bool result;
1985 PyObject * obj0 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 result = (bool)(arg1)->GetValue();
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2000 return resultobj;
2001 fail:
2002 return NULL;
2003 }
2004
2005
2006 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2009 bool result;
2010 PyObject * obj0 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 result = (bool)(arg1)->IsChecked();
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2025 return resultobj;
2026 fail:
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2034 bool arg2 ;
2035 PyObject * obj0 = 0 ;
2036 PyObject * obj1 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "self",(char *) "state", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2043 {
2044 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 (arg1)->SetValue(arg2);
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 Py_INCREF(Py_None); resultobj = Py_None;
2055 return resultobj;
2056 fail:
2057 return NULL;
2058 }
2059
2060
2061 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2062 PyObject *resultobj;
2063 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2064 int result;
2065 PyObject * obj0 = 0 ;
2066 char *kwnames[] = {
2067 (char *) "self", NULL
2068 };
2069
2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 resultobj = SWIG_PyObj_FromInt((int)result);
2080 return resultobj;
2081 fail:
2082 return NULL;
2083 }
2084
2085
2086 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2089 int arg2 ;
2090 PyObject * obj0 = 0 ;
2091 PyObject * obj1 = 0 ;
2092 char *kwnames[] = {
2093 (char *) "self",(char *) "state", NULL
2094 };
2095
2096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2098 {
2099 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 Py_INCREF(Py_None); resultobj = Py_None;
2110 return resultobj;
2111 fail:
2112 return NULL;
2113 }
2114
2115
2116 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2117 PyObject *resultobj;
2118 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2119 bool result;
2120 PyObject * obj0 = 0 ;
2121 char *kwnames[] = {
2122 (char *) "self", NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2144 bool result;
2145 PyObject * obj0 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "self", NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2167 PyObject *obj;
2168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2169 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2170 Py_INCREF(obj);
2171 return Py_BuildValue((char *)"");
2172 }
2173 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2174 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2175 return 1;
2176 }
2177
2178
2179 static PyObject *_wrap_ChoiceNameStr_get() {
2180 PyObject *pyobj;
2181
2182 {
2183 #if wxUSE_UNICODE
2184 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2185 #else
2186 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2187 #endif
2188 }
2189 return pyobj;
2190 }
2191
2192
2193 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2194 PyObject *resultobj;
2195 wxWindow *arg1 = (wxWindow *) 0 ;
2196 int arg2 ;
2197 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2198 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2199 wxSize const &arg4_defvalue = wxDefaultSize ;
2200 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2201 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2202 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2203 long arg6 = (long) 0 ;
2204 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2205 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2206 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2207 wxString *arg8 = (wxString *) &arg8_defvalue ;
2208 wxChoice *result;
2209 wxPoint temp3 ;
2210 wxSize temp4 ;
2211 bool temp5 = False ;
2212 bool temp8 = False ;
2213 PyObject * obj0 = 0 ;
2214 PyObject * obj1 = 0 ;
2215 PyObject * obj2 = 0 ;
2216 PyObject * obj3 = 0 ;
2217 PyObject * obj4 = 0 ;
2218 PyObject * obj5 = 0 ;
2219 PyObject * obj6 = 0 ;
2220 PyObject * obj7 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 {
2228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 }
2231 if (obj2) {
2232 {
2233 arg3 = &temp3;
2234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2235 }
2236 }
2237 if (obj3) {
2238 {
2239 arg4 = &temp4;
2240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2241 }
2242 }
2243 if (obj4) {
2244 {
2245 if (! PySequence_Check(obj4)) {
2246 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2247 SWIG_fail;
2248 }
2249 arg5 = new wxArrayString;
2250 temp5 = True;
2251 int i, len=PySequence_Length(obj4);
2252 for (i=0; i<len; i++) {
2253 PyObject* item = PySequence_GetItem(obj4, i);
2254 #if wxUSE_UNICODE
2255 PyObject* str = PyObject_Unicode(item);
2256 #else
2257 PyObject* str = PyObject_Str(item);
2258 #endif
2259 arg5->Add(Py2wxString(str));
2260 Py_DECREF(item);
2261 Py_DECREF(str);
2262 }
2263 }
2264 }
2265 if (obj5) {
2266 {
2267 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2268 if (PyErr_Occurred()) SWIG_fail;
2269 }
2270 }
2271 if (obj6) {
2272 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2273 if (arg7 == NULL) {
2274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2275 }
2276 }
2277 if (obj7) {
2278 {
2279 arg8 = wxString_in_helper(obj7);
2280 if (arg8 == NULL) SWIG_fail;
2281 temp8 = True;
2282 }
2283 }
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2292 {
2293 if (temp5) delete arg5;
2294 }
2295 {
2296 if (temp8)
2297 delete arg8;
2298 }
2299 return resultobj;
2300 fail:
2301 {
2302 if (temp5) delete arg5;
2303 }
2304 {
2305 if (temp8)
2306 delete arg8;
2307 }
2308 return NULL;
2309 }
2310
2311
2312 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2313 PyObject *resultobj;
2314 wxChoice *result;
2315 char *kwnames[] = {
2316 NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (wxChoice *)new wxChoice();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2328 return resultobj;
2329 fail:
2330 return NULL;
2331 }
2332
2333
2334 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxChoice *arg1 = (wxChoice *) 0 ;
2337 wxWindow *arg2 = (wxWindow *) 0 ;
2338 int arg3 ;
2339 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2340 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2341 wxSize const &arg5_defvalue = wxDefaultSize ;
2342 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2343 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2344 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2345 long arg7 = (long) 0 ;
2346 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2347 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2348 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2349 wxString *arg9 = (wxString *) &arg9_defvalue ;
2350 bool result;
2351 wxPoint temp4 ;
2352 wxSize temp5 ;
2353 bool temp6 = False ;
2354 bool temp9 = False ;
2355 PyObject * obj0 = 0 ;
2356 PyObject * obj1 = 0 ;
2357 PyObject * obj2 = 0 ;
2358 PyObject * obj3 = 0 ;
2359 PyObject * obj4 = 0 ;
2360 PyObject * obj5 = 0 ;
2361 PyObject * obj6 = 0 ;
2362 PyObject * obj7 = 0 ;
2363 PyObject * obj8 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2371 {
2372 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 if (obj3) {
2376 {
2377 arg4 = &temp4;
2378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2379 }
2380 }
2381 if (obj4) {
2382 {
2383 arg5 = &temp5;
2384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2385 }
2386 }
2387 if (obj5) {
2388 {
2389 if (! PySequence_Check(obj5)) {
2390 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2391 SWIG_fail;
2392 }
2393 arg6 = new wxArrayString;
2394 temp6 = True;
2395 int i, len=PySequence_Length(obj5);
2396 for (i=0; i<len; i++) {
2397 PyObject* item = PySequence_GetItem(obj5, i);
2398 #if wxUSE_UNICODE
2399 PyObject* str = PyObject_Unicode(item);
2400 #else
2401 PyObject* str = PyObject_Str(item);
2402 #endif
2403 arg6->Add(Py2wxString(str));
2404 Py_DECREF(item);
2405 Py_DECREF(str);
2406 }
2407 }
2408 }
2409 if (obj6) {
2410 {
2411 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 }
2415 if (obj7) {
2416 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2417 if (arg8 == NULL) {
2418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2419 }
2420 }
2421 if (obj8) {
2422 {
2423 arg9 = wxString_in_helper(obj8);
2424 if (arg9 == NULL) SWIG_fail;
2425 temp9 = True;
2426 }
2427 }
2428 {
2429 PyThreadState* __tstate = wxPyBeginAllowThreads();
2430 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2431
2432 wxPyEndAllowThreads(__tstate);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2436 {
2437 if (temp6) delete arg6;
2438 }
2439 {
2440 if (temp9)
2441 delete arg9;
2442 }
2443 return resultobj;
2444 fail:
2445 {
2446 if (temp6) delete arg6;
2447 }
2448 {
2449 if (temp9)
2450 delete arg9;
2451 }
2452 return NULL;
2453 }
2454
2455
2456 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject *resultobj;
2458 wxChoice *arg1 = (wxChoice *) 0 ;
2459 int result;
2460 PyObject * obj0 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 result = (int)(arg1)->GetColumns();
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2474 resultobj = SWIG_PyObj_FromInt((int)result);
2475 return resultobj;
2476 fail:
2477 return NULL;
2478 }
2479
2480
2481 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2482 PyObject *resultobj;
2483 wxChoice *arg1 = (wxChoice *) 0 ;
2484 int arg2 = (int) (int)1 ;
2485 PyObject * obj0 = 0 ;
2486 PyObject * obj1 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "self",(char *) "n", NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2493 if (obj1) {
2494 {
2495 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2496 if (PyErr_Occurred()) SWIG_fail;
2497 }
2498 }
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 (arg1)->SetColumns(arg2);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 Py_INCREF(Py_None); resultobj = Py_None;
2507 return resultobj;
2508 fail:
2509 return NULL;
2510 }
2511
2512
2513 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject *resultobj;
2515 wxChoice *arg1 = (wxChoice *) 0 ;
2516 int arg2 ;
2517 PyObject * obj0 = 0 ;
2518 PyObject * obj1 = 0 ;
2519 char *kwnames[] = {
2520 (char *) "self",(char *) "n", NULL
2521 };
2522
2523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2525 {
2526 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 (arg1)->SetSelection(arg2);
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 Py_INCREF(Py_None); resultobj = Py_None;
2537 return resultobj;
2538 fail:
2539 return NULL;
2540 }
2541
2542
2543 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2544 PyObject *resultobj;
2545 wxChoice *arg1 = (wxChoice *) 0 ;
2546 wxString *arg2 = 0 ;
2547 bool temp2 = False ;
2548 PyObject * obj0 = 0 ;
2549 PyObject * obj1 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "string", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2556 {
2557 arg2 = wxString_in_helper(obj1);
2558 if (arg2 == NULL) SWIG_fail;
2559 temp2 = True;
2560 }
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 (arg1)->SetStringSelection((wxString const &)*arg2);
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 Py_INCREF(Py_None); resultobj = Py_None;
2569 {
2570 if (temp2)
2571 delete arg2;
2572 }
2573 return resultobj;
2574 fail:
2575 {
2576 if (temp2)
2577 delete arg2;
2578 }
2579 return NULL;
2580 }
2581
2582
2583 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2584 PyObject *resultobj;
2585 wxChoice *arg1 = (wxChoice *) 0 ;
2586 int arg2 ;
2587 wxString *arg3 = 0 ;
2588 bool temp3 = False ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 PyObject * obj2 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "n",(char *) "s", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 {
2599 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603 arg3 = wxString_in_helper(obj2);
2604 if (arg3 == NULL) SWIG_fail;
2605 temp3 = True;
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 (arg1)->SetString(arg2,(wxString const &)*arg3);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 Py_INCREF(Py_None); resultobj = Py_None;
2615 {
2616 if (temp3)
2617 delete arg3;
2618 }
2619 return resultobj;
2620 fail:
2621 {
2622 if (temp3)
2623 delete arg3;
2624 }
2625 return NULL;
2626 }
2627
2628
2629 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2630 PyObject *obj;
2631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2632 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2633 Py_INCREF(obj);
2634 return Py_BuildValue((char *)"");
2635 }
2636 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2637 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2638 return 1;
2639 }
2640
2641
2642 static PyObject *_wrap_ComboBoxNameStr_get() {
2643 PyObject *pyobj;
2644
2645 {
2646 #if wxUSE_UNICODE
2647 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2648 #else
2649 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2650 #endif
2651 }
2652 return pyobj;
2653 }
2654
2655
2656 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2657 PyObject *resultobj;
2658 wxWindow *arg1 = (wxWindow *) 0 ;
2659 int arg2 ;
2660 wxString const &arg3_defvalue = wxPyEmptyString ;
2661 wxString *arg3 = (wxString *) &arg3_defvalue ;
2662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2664 wxSize const &arg5_defvalue = wxDefaultSize ;
2665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2666 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2667 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2668 long arg7 = (long) 0 ;
2669 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2670 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2671 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2672 wxString *arg9 = (wxString *) &arg9_defvalue ;
2673 wxComboBox *result;
2674 bool temp3 = False ;
2675 wxPoint temp4 ;
2676 wxSize temp5 ;
2677 bool temp6 = False ;
2678 bool temp9 = False ;
2679 PyObject * obj0 = 0 ;
2680 PyObject * obj1 = 0 ;
2681 PyObject * obj2 = 0 ;
2682 PyObject * obj3 = 0 ;
2683 PyObject * obj4 = 0 ;
2684 PyObject * obj5 = 0 ;
2685 PyObject * obj6 = 0 ;
2686 PyObject * obj7 = 0 ;
2687 PyObject * obj8 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2694 {
2695 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 if (obj2) {
2699 {
2700 arg3 = wxString_in_helper(obj2);
2701 if (arg3 == NULL) SWIG_fail;
2702 temp3 = True;
2703 }
2704 }
2705 if (obj3) {
2706 {
2707 arg4 = &temp4;
2708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2709 }
2710 }
2711 if (obj4) {
2712 {
2713 arg5 = &temp5;
2714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2715 }
2716 }
2717 if (obj5) {
2718 {
2719 if (! PySequence_Check(obj5)) {
2720 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2721 SWIG_fail;
2722 }
2723 arg6 = new wxArrayString;
2724 temp6 = True;
2725 int i, len=PySequence_Length(obj5);
2726 for (i=0; i<len; i++) {
2727 PyObject* item = PySequence_GetItem(obj5, i);
2728 #if wxUSE_UNICODE
2729 PyObject* str = PyObject_Unicode(item);
2730 #else
2731 PyObject* str = PyObject_Str(item);
2732 #endif
2733 arg6->Add(Py2wxString(str));
2734 Py_DECREF(item);
2735 Py_DECREF(str);
2736 }
2737 }
2738 }
2739 if (obj6) {
2740 {
2741 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 }
2745 if (obj7) {
2746 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2747 if (arg8 == NULL) {
2748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2749 }
2750 }
2751 if (obj8) {
2752 {
2753 arg9 = wxString_in_helper(obj8);
2754 if (arg9 == NULL) SWIG_fail;
2755 temp9 = True;
2756 }
2757 }
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 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);
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2766 {
2767 if (temp3)
2768 delete arg3;
2769 }
2770 {
2771 if (temp6) delete arg6;
2772 }
2773 {
2774 if (temp9)
2775 delete arg9;
2776 }
2777 return resultobj;
2778 fail:
2779 {
2780 if (temp3)
2781 delete arg3;
2782 }
2783 {
2784 if (temp6) delete arg6;
2785 }
2786 {
2787 if (temp9)
2788 delete arg9;
2789 }
2790 return NULL;
2791 }
2792
2793
2794 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2795 PyObject *resultobj;
2796 wxComboBox *result;
2797 char *kwnames[] = {
2798 NULL
2799 };
2800
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 result = (wxComboBox *)new wxComboBox();
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2810 return resultobj;
2811 fail:
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxComboBox *arg1 = (wxComboBox *) 0 ;
2819 wxWindow *arg2 = (wxWindow *) 0 ;
2820 int arg3 ;
2821 wxString const &arg4_defvalue = wxPyEmptyString ;
2822 wxString *arg4 = (wxString *) &arg4_defvalue ;
2823 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2824 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2825 wxSize const &arg6_defvalue = wxDefaultSize ;
2826 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2827 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2828 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2829 long arg8 = (long) 0 ;
2830 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2831 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2832 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2833 wxString *arg10 = (wxString *) &arg10_defvalue ;
2834 bool result;
2835 bool temp4 = False ;
2836 wxPoint temp5 ;
2837 wxSize temp6 ;
2838 bool temp7 = False ;
2839 bool temp10 = False ;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
2842 PyObject * obj2 = 0 ;
2843 PyObject * obj3 = 0 ;
2844 PyObject * obj4 = 0 ;
2845 PyObject * obj5 = 0 ;
2846 PyObject * obj6 = 0 ;
2847 PyObject * obj7 = 0 ;
2848 PyObject * obj8 = 0 ;
2849 PyObject * obj9 = 0 ;
2850 char *kwnames[] = {
2851 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2852 };
2853
2854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2857 {
2858 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 if (obj3) {
2862 {
2863 arg4 = wxString_in_helper(obj3);
2864 if (arg4 == NULL) SWIG_fail;
2865 temp4 = True;
2866 }
2867 }
2868 if (obj4) {
2869 {
2870 arg5 = &temp5;
2871 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2872 }
2873 }
2874 if (obj5) {
2875 {
2876 arg6 = &temp6;
2877 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2878 }
2879 }
2880 if (obj6) {
2881 {
2882 if (! PySequence_Check(obj6)) {
2883 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2884 SWIG_fail;
2885 }
2886 arg7 = new wxArrayString;
2887 temp7 = True;
2888 int i, len=PySequence_Length(obj6);
2889 for (i=0; i<len; i++) {
2890 PyObject* item = PySequence_GetItem(obj6, i);
2891 #if wxUSE_UNICODE
2892 PyObject* str = PyObject_Unicode(item);
2893 #else
2894 PyObject* str = PyObject_Str(item);
2895 #endif
2896 arg7->Add(Py2wxString(str));
2897 Py_DECREF(item);
2898 Py_DECREF(str);
2899 }
2900 }
2901 }
2902 if (obj7) {
2903 {
2904 arg8 = (long) SWIG_PyObj_AsLong(obj7);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 }
2908 if (obj8) {
2909 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2910 if (arg9 == NULL) {
2911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2912 }
2913 }
2914 if (obj9) {
2915 {
2916 arg10 = wxString_in_helper(obj9);
2917 if (arg10 == NULL) SWIG_fail;
2918 temp10 = True;
2919 }
2920 }
2921 {
2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
2923 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);
2924
2925 wxPyEndAllowThreads(__tstate);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 }
2928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2929 {
2930 if (temp4)
2931 delete arg4;
2932 }
2933 {
2934 if (temp7) delete arg7;
2935 }
2936 {
2937 if (temp10)
2938 delete arg10;
2939 }
2940 return resultobj;
2941 fail:
2942 {
2943 if (temp4)
2944 delete arg4;
2945 }
2946 {
2947 if (temp7) delete arg7;
2948 }
2949 {
2950 if (temp10)
2951 delete arg10;
2952 }
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxComboBox *arg1 = (wxComboBox *) 0 ;
2960 wxString result;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 result = ((wxComboBox const *)arg1)->GetValue();
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 {
2976 #if wxUSE_UNICODE
2977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2978 #else
2979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2980 #endif
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxComboBox *arg1 = (wxComboBox *) 0 ;
2991 wxString *arg2 = 0 ;
2992 bool temp2 = False ;
2993 PyObject * obj0 = 0 ;
2994 PyObject * obj1 = 0 ;
2995 char *kwnames[] = {
2996 (char *) "self",(char *) "value", NULL
2997 };
2998
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3001 {
3002 arg2 = wxString_in_helper(obj1);
3003 if (arg2 == NULL) SWIG_fail;
3004 temp2 = True;
3005 }
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 (arg1)->SetValue((wxString const &)*arg2);
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 Py_INCREF(Py_None); resultobj = Py_None;
3014 {
3015 if (temp2)
3016 delete arg2;
3017 }
3018 return resultobj;
3019 fail:
3020 {
3021 if (temp2)
3022 delete arg2;
3023 }
3024 return NULL;
3025 }
3026
3027
3028 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxComboBox *arg1 = (wxComboBox *) 0 ;
3031 PyObject * obj0 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "self", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 (arg1)->Copy();
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 Py_INCREF(Py_None); resultobj = Py_None;
3046 return resultobj;
3047 fail:
3048 return NULL;
3049 }
3050
3051
3052 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject *resultobj;
3054 wxComboBox *arg1 = (wxComboBox *) 0 ;
3055 PyObject * obj0 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 (arg1)->Cut();
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 Py_INCREF(Py_None); resultobj = Py_None;
3070 return resultobj;
3071 fail:
3072 return NULL;
3073 }
3074
3075
3076 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject *resultobj;
3078 wxComboBox *arg1 = (wxComboBox *) 0 ;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->Paste();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 return resultobj;
3095 fail:
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxComboBox *arg1 = (wxComboBox *) 0 ;
3103 long arg2 ;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self",(char *) "pos", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 {
3113 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 (arg1)->SetInsertionPoint(arg2);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxComboBox *arg1 = (wxComboBox *) 0 ;
3133 long result;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 resultobj = SWIG_PyObj_FromLong((long)result);
3149 return resultobj;
3150 fail:
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxComboBox *arg1 = (wxComboBox *) 0 ;
3158 long result;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 resultobj = SWIG_PyObj_FromLong((long)result);
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxComboBox *arg1 = (wxComboBox *) 0 ;
3183 long arg2 ;
3184 long arg3 ;
3185 wxString *arg4 = 0 ;
3186 bool temp4 = False ;
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
3189 PyObject * obj2 = 0 ;
3190 PyObject * obj3 = 0 ;
3191 char *kwnames[] = {
3192 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3193 };
3194
3195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 {
3198 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 {
3202 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 {
3206 arg4 = wxString_in_helper(obj3);
3207 if (arg4 == NULL) SWIG_fail;
3208 temp4 = True;
3209 }
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 {
3219 if (temp4)
3220 delete arg4;
3221 }
3222 return resultobj;
3223 fail:
3224 {
3225 if (temp4)
3226 delete arg4;
3227 }
3228 return NULL;
3229 }
3230
3231
3232 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxComboBox *arg1 = (wxComboBox *) 0 ;
3235 int arg2 ;
3236 PyObject * obj0 = 0 ;
3237 PyObject * obj1 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self",(char *) "n", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3244 {
3245 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 (arg1)->SetSelection(arg2);
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 Py_INCREF(Py_None); resultobj = Py_None;
3256 return resultobj;
3257 fail:
3258 return NULL;
3259 }
3260
3261
3262 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj;
3264 wxComboBox *arg1 = (wxComboBox *) 0 ;
3265 long arg2 ;
3266 long arg3 ;
3267 PyObject * obj0 = 0 ;
3268 PyObject * obj1 = 0 ;
3269 PyObject * obj2 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self",(char *) "from",(char *) "to", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 {
3277 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 {
3281 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
3286 (arg1)->SetSelection(arg2,arg3);
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 Py_INCREF(Py_None); resultobj = Py_None;
3292 return resultobj;
3293 fail:
3294 return NULL;
3295 }
3296
3297
3298 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3299 PyObject *resultobj;
3300 wxComboBox *arg1 = (wxComboBox *) 0 ;
3301 bool arg2 ;
3302 PyObject * obj0 = 0 ;
3303 PyObject * obj1 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self",(char *) "editable", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3310 {
3311 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 }
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
3316 (arg1)->SetEditable(arg2);
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
3321 Py_INCREF(Py_None); resultobj = Py_None;
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxComboBox *arg1 = (wxComboBox *) 0 ;
3331 PyObject * obj0 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 (arg1)->SetInsertionPointEnd();
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
3346 return resultobj;
3347 fail:
3348 return NULL;
3349 }
3350
3351
3352 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject *resultobj;
3354 wxComboBox *arg1 = (wxComboBox *) 0 ;
3355 long arg2 ;
3356 long arg3 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 PyObject * obj2 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "from",(char *) "to", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 {
3367 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 {
3371 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 (arg1)->Remove(arg2,arg3);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 Py_INCREF(Py_None); resultobj = Py_None;
3382 return resultobj;
3383 fail:
3384 return NULL;
3385 }
3386
3387
3388 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3389 PyObject *obj;
3390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3391 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3392 Py_INCREF(obj);
3393 return Py_BuildValue((char *)"");
3394 }
3395 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3396 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3397 return 1;
3398 }
3399
3400
3401 static PyObject *_wrap_GaugeNameStr_get() {
3402 PyObject *pyobj;
3403
3404 {
3405 #if wxUSE_UNICODE
3406 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3407 #else
3408 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3409 #endif
3410 }
3411 return pyobj;
3412 }
3413
3414
3415 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxWindow *arg1 = (wxWindow *) 0 ;
3418 int arg2 ;
3419 int arg3 ;
3420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3422 wxSize const &arg5_defvalue = wxDefaultSize ;
3423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3424 long arg6 = (long) wxGA_HORIZONTAL ;
3425 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3426 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3427 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3428 wxString *arg8 = (wxString *) &arg8_defvalue ;
3429 wxGauge *result;
3430 wxPoint temp4 ;
3431 wxSize temp5 ;
3432 bool temp8 = False ;
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
3435 PyObject * obj2 = 0 ;
3436 PyObject * obj3 = 0 ;
3437 PyObject * obj4 = 0 ;
3438 PyObject * obj5 = 0 ;
3439 PyObject * obj6 = 0 ;
3440 PyObject * obj7 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3447 {
3448 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 {
3452 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 if (obj3) {
3456 {
3457 arg4 = &temp4;
3458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3459 }
3460 }
3461 if (obj4) {
3462 {
3463 arg5 = &temp5;
3464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3465 }
3466 }
3467 if (obj5) {
3468 {
3469 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 }
3473 if (obj6) {
3474 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3475 if (arg7 == NULL) {
3476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3477 }
3478 }
3479 if (obj7) {
3480 {
3481 arg8 = wxString_in_helper(obj7);
3482 if (arg8 == NULL) SWIG_fail;
3483 temp8 = True;
3484 }
3485 }
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3494 {
3495 if (temp8)
3496 delete arg8;
3497 }
3498 return resultobj;
3499 fail:
3500 {
3501 if (temp8)
3502 delete arg8;
3503 }
3504 return NULL;
3505 }
3506
3507
3508 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3509 PyObject *resultobj;
3510 wxGauge *result;
3511 char *kwnames[] = {
3512 NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = (wxGauge *)new wxGauge();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3524 return resultobj;
3525 fail:
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj;
3532 wxGauge *arg1 = (wxGauge *) 0 ;
3533 wxWindow *arg2 = (wxWindow *) 0 ;
3534 int arg3 ;
3535 int arg4 ;
3536 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3537 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3538 wxSize const &arg6_defvalue = wxDefaultSize ;
3539 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3540 long arg7 = (long) wxGA_HORIZONTAL ;
3541 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3542 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3543 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3544 wxString *arg9 = (wxString *) &arg9_defvalue ;
3545 bool result;
3546 wxPoint temp5 ;
3547 wxSize temp6 ;
3548 bool temp9 = False ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 PyObject * obj2 = 0 ;
3552 PyObject * obj3 = 0 ;
3553 PyObject * obj4 = 0 ;
3554 PyObject * obj5 = 0 ;
3555 PyObject * obj6 = 0 ;
3556 PyObject * obj7 = 0 ;
3557 PyObject * obj8 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3565 {
3566 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 {
3570 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 if (obj4) {
3574 {
3575 arg5 = &temp5;
3576 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3577 }
3578 }
3579 if (obj5) {
3580 {
3581 arg6 = &temp6;
3582 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3583 }
3584 }
3585 if (obj6) {
3586 {
3587 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 }
3591 if (obj7) {
3592 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593 if (arg8 == NULL) {
3594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3595 }
3596 }
3597 if (obj8) {
3598 {
3599 arg9 = wxString_in_helper(obj8);
3600 if (arg9 == NULL) SWIG_fail;
3601 temp9 = True;
3602 }
3603 }
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3612 {
3613 if (temp9)
3614 delete arg9;
3615 }
3616 return resultobj;
3617 fail:
3618 {
3619 if (temp9)
3620 delete arg9;
3621 }
3622 return NULL;
3623 }
3624
3625
3626 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3627 PyObject *resultobj;
3628 wxGauge *arg1 = (wxGauge *) 0 ;
3629 int arg2 ;
3630 PyObject * obj0 = 0 ;
3631 PyObject * obj1 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self",(char *) "range", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3638 {
3639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 (arg1)->SetRange(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxGauge *arg1 = (wxGauge *) 0 ;
3659 int result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (int)((wxGauge const *)arg1)->GetRange();
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 resultobj = SWIG_PyObj_FromInt((int)result);
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxGauge *arg1 = (wxGauge *) 0 ;
3684 int arg2 ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "pos", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3693 {
3694 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 (arg1)->SetValue(arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 Py_INCREF(Py_None); resultobj = Py_None;
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxGauge *arg1 = (wxGauge *) 0 ;
3714 int result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (int)((wxGauge const *)arg1)->GetValue();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = SWIG_PyObj_FromInt((int)result);
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxGauge *arg1 = (wxGauge *) 0 ;
3739 bool result;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (bool)((wxGauge const *)arg1)->IsVertical();
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3755 return resultobj;
3756 fail:
3757 return NULL;
3758 }
3759
3760
3761 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj;
3763 wxGauge *arg1 = (wxGauge *) 0 ;
3764 int arg2 ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self",(char *) "w", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3773 {
3774 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 (arg1)->SetShadowWidth(arg2);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxGauge *arg1 = (wxGauge *) 0 ;
3794 int result;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = SWIG_PyObj_FromInt((int)result);
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxGauge *arg1 = (wxGauge *) 0 ;
3819 int arg2 ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self",(char *) "w", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 {
3829 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 (arg1)->SetBezelFace(arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxGauge *arg1 = (wxGauge *) 0 ;
3849 int result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = SWIG_PyObj_FromInt((int)result);
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3872 PyObject *obj;
3873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3874 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3875 Py_INCREF(obj);
3876 return Py_BuildValue((char *)"");
3877 }
3878 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3879 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3880 return 1;
3881 }
3882
3883
3884 static PyObject *_wrap_StaticBitmapNameStr_get() {
3885 PyObject *pyobj;
3886
3887 {
3888 #if wxUSE_UNICODE
3889 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3890 #else
3891 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3892 #endif
3893 }
3894 return pyobj;
3895 }
3896
3897
3898 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3899 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3900 return 1;
3901 }
3902
3903
3904 static PyObject *_wrap_StaticBoxNameStr_get() {
3905 PyObject *pyobj;
3906
3907 {
3908 #if wxUSE_UNICODE
3909 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3910 #else
3911 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3912 #endif
3913 }
3914 return pyobj;
3915 }
3916
3917
3918 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3919 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3920 return 1;
3921 }
3922
3923
3924 static PyObject *_wrap_StaticTextNameStr_get() {
3925 PyObject *pyobj;
3926
3927 {
3928 #if wxUSE_UNICODE
3929 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3930 #else
3931 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3932 #endif
3933 }
3934 return pyobj;
3935 }
3936
3937
3938 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxWindow *arg1 = (wxWindow *) 0 ;
3941 int arg2 ;
3942 wxString *arg3 = 0 ;
3943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3945 wxSize const &arg5_defvalue = wxDefaultSize ;
3946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3947 long arg6 = (long) 0 ;
3948 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3949 wxString *arg7 = (wxString *) &arg7_defvalue ;
3950 wxStaticBox *result;
3951 bool temp3 = False ;
3952 wxPoint temp4 ;
3953 wxSize temp5 ;
3954 bool temp7 = False ;
3955 PyObject * obj0 = 0 ;
3956 PyObject * obj1 = 0 ;
3957 PyObject * obj2 = 0 ;
3958 PyObject * obj3 = 0 ;
3959 PyObject * obj4 = 0 ;
3960 PyObject * obj5 = 0 ;
3961 PyObject * obj6 = 0 ;
3962 char *kwnames[] = {
3963 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3968 {
3969 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 {
3973 arg3 = wxString_in_helper(obj2);
3974 if (arg3 == NULL) SWIG_fail;
3975 temp3 = True;
3976 }
3977 if (obj3) {
3978 {
3979 arg4 = &temp4;
3980 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3981 }
3982 }
3983 if (obj4) {
3984 {
3985 arg5 = &temp5;
3986 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3987 }
3988 }
3989 if (obj5) {
3990 {
3991 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 }
3995 if (obj6) {
3996 {
3997 arg7 = wxString_in_helper(obj6);
3998 if (arg7 == NULL) SWIG_fail;
3999 temp7 = True;
4000 }
4001 }
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 {
4010 resultobj = wxPyMake_wxObject(result);
4011 }
4012 {
4013 if (temp3)
4014 delete arg3;
4015 }
4016 {
4017 if (temp7)
4018 delete arg7;
4019 }
4020 return resultobj;
4021 fail:
4022 {
4023 if (temp3)
4024 delete arg3;
4025 }
4026 {
4027 if (temp7)
4028 delete arg7;
4029 }
4030 return NULL;
4031 }
4032
4033
4034 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj;
4036 wxStaticBox *result;
4037 char *kwnames[] = {
4038 NULL
4039 };
4040
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4042 {
4043 PyThreadState* __tstate = wxPyBeginAllowThreads();
4044 result = (wxStaticBox *)new wxStaticBox();
4045
4046 wxPyEndAllowThreads(__tstate);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 {
4050 resultobj = wxPyMake_wxObject(result);
4051 }
4052 return resultobj;
4053 fail:
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj;
4060 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4061 wxWindow *arg2 = (wxWindow *) 0 ;
4062 int arg3 ;
4063 wxString *arg4 = 0 ;
4064 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4065 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4066 wxSize const &arg6_defvalue = wxDefaultSize ;
4067 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4068 long arg7 = (long) 0 ;
4069 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4070 wxString *arg8 = (wxString *) &arg8_defvalue ;
4071 bool result;
4072 bool temp4 = False ;
4073 wxPoint temp5 ;
4074 wxSize temp6 ;
4075 bool temp8 = False ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 PyObject * obj2 = 0 ;
4079 PyObject * obj3 = 0 ;
4080 PyObject * obj4 = 0 ;
4081 PyObject * obj5 = 0 ;
4082 PyObject * obj6 = 0 ;
4083 PyObject * obj7 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4091 {
4092 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 {
4096 arg4 = wxString_in_helper(obj3);
4097 if (arg4 == NULL) SWIG_fail;
4098 temp4 = True;
4099 }
4100 if (obj4) {
4101 {
4102 arg5 = &temp5;
4103 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4104 }
4105 }
4106 if (obj5) {
4107 {
4108 arg6 = &temp6;
4109 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4110 }
4111 }
4112 if (obj6) {
4113 {
4114 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 }
4118 if (obj7) {
4119 {
4120 arg8 = wxString_in_helper(obj7);
4121 if (arg8 == NULL) SWIG_fail;
4122 temp8 = True;
4123 }
4124 }
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4133 {
4134 if (temp4)
4135 delete arg4;
4136 }
4137 {
4138 if (temp8)
4139 delete arg8;
4140 }
4141 return resultobj;
4142 fail:
4143 {
4144 if (temp4)
4145 delete arg4;
4146 }
4147 {
4148 if (temp8)
4149 delete arg8;
4150 }
4151 return NULL;
4152 }
4153
4154
4155 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4156 PyObject *obj;
4157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4158 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4159 Py_INCREF(obj);
4160 return Py_BuildValue((char *)"");
4161 }
4162 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 wxWindow *arg1 = (wxWindow *) 0 ;
4165 int arg2 ;
4166 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4167 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4168 wxSize const &arg4_defvalue = wxDefaultSize ;
4169 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4170 long arg5 = (long) wxLI_HORIZONTAL ;
4171 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4172 wxString *arg6 = (wxString *) &arg6_defvalue ;
4173 wxStaticLine *result;
4174 wxPoint temp3 ;
4175 wxSize temp4 ;
4176 bool temp6 = False ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 PyObject * obj3 = 0 ;
4181 PyObject * obj4 = 0 ;
4182 PyObject * obj5 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4189 {
4190 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 if (obj2) {
4194 {
4195 arg3 = &temp3;
4196 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4197 }
4198 }
4199 if (obj3) {
4200 {
4201 arg4 = &temp4;
4202 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4203 }
4204 }
4205 if (obj4) {
4206 {
4207 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 }
4211 if (obj5) {
4212 {
4213 arg6 = wxString_in_helper(obj5);
4214 if (arg6 == NULL) SWIG_fail;
4215 temp6 = True;
4216 }
4217 }
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4226 {
4227 if (temp6)
4228 delete arg6;
4229 }
4230 return resultobj;
4231 fail:
4232 {
4233 if (temp6)
4234 delete arg6;
4235 }
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxStaticLine *result;
4243 char *kwnames[] = {
4244 NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 result = (wxStaticLine *)new wxStaticLine();
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4256 return resultobj;
4257 fail:
4258 return NULL;
4259 }
4260
4261
4262 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj;
4264 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4265 wxWindow *arg2 = (wxWindow *) 0 ;
4266 int arg3 ;
4267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4269 wxSize const &arg5_defvalue = wxDefaultSize ;
4270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4271 long arg6 = (long) wxLI_HORIZONTAL ;
4272 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4273 wxString *arg7 = (wxString *) &arg7_defvalue ;
4274 bool result;
4275 wxPoint temp4 ;
4276 wxSize temp5 ;
4277 bool temp7 = False ;
4278 PyObject * obj0 = 0 ;
4279 PyObject * obj1 = 0 ;
4280 PyObject * obj2 = 0 ;
4281 PyObject * obj3 = 0 ;
4282 PyObject * obj4 = 0 ;
4283 PyObject * obj5 = 0 ;
4284 PyObject * obj6 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4292 {
4293 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 if (obj3) {
4297 {
4298 arg4 = &temp4;
4299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4300 }
4301 }
4302 if (obj4) {
4303 {
4304 arg5 = &temp5;
4305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4306 }
4307 }
4308 if (obj5) {
4309 {
4310 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 }
4314 if (obj6) {
4315 {
4316 arg7 = wxString_in_helper(obj6);
4317 if (arg7 == NULL) SWIG_fail;
4318 temp7 = True;
4319 }
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4329 {
4330 if (temp7)
4331 delete arg7;
4332 }
4333 return resultobj;
4334 fail:
4335 {
4336 if (temp7)
4337 delete arg7;
4338 }
4339 return NULL;
4340 }
4341
4342
4343 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4346 bool result;
4347 PyObject * obj0 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4357
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4362 return resultobj;
4363 fail:
4364 return NULL;
4365 }
4366
4367
4368 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj;
4370 int result;
4371 char *kwnames[] = {
4372 NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 result = (int)wxStaticLine::GetDefaultSize();
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_PyObj_FromInt((int)result);
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4391 PyObject *obj;
4392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4393 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4394 Py_INCREF(obj);
4395 return Py_BuildValue((char *)"");
4396 }
4397 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxWindow *arg1 = (wxWindow *) 0 ;
4400 int arg2 ;
4401 wxString *arg3 = 0 ;
4402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4404 wxSize const &arg5_defvalue = wxDefaultSize ;
4405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4406 long arg6 = (long) 0 ;
4407 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4408 wxString *arg7 = (wxString *) &arg7_defvalue ;
4409 wxStaticText *result;
4410 bool temp3 = False ;
4411 wxPoint temp4 ;
4412 wxSize temp5 ;
4413 bool temp7 = False ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 PyObject * obj3 = 0 ;
4418 PyObject * obj4 = 0 ;
4419 PyObject * obj5 = 0 ;
4420 PyObject * obj6 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4427 {
4428 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 {
4432 arg3 = wxString_in_helper(obj2);
4433 if (arg3 == NULL) SWIG_fail;
4434 temp3 = True;
4435 }
4436 if (obj3) {
4437 {
4438 arg4 = &temp4;
4439 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4440 }
4441 }
4442 if (obj4) {
4443 {
4444 arg5 = &temp5;
4445 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4446 }
4447 }
4448 if (obj5) {
4449 {
4450 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 }
4454 if (obj6) {
4455 {
4456 arg7 = wxString_in_helper(obj6);
4457 if (arg7 == NULL) SWIG_fail;
4458 temp7 = True;
4459 }
4460 }
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4469 {
4470 if (temp3)
4471 delete arg3;
4472 }
4473 {
4474 if (temp7)
4475 delete arg7;
4476 }
4477 return resultobj;
4478 fail:
4479 {
4480 if (temp3)
4481 delete arg3;
4482 }
4483 {
4484 if (temp7)
4485 delete arg7;
4486 }
4487 return NULL;
4488 }
4489
4490
4491 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject *resultobj;
4493 wxStaticText *result;
4494 char *kwnames[] = {
4495 NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (wxStaticText *)new wxStaticText();
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4507 return resultobj;
4508 fail:
4509 return NULL;
4510 }
4511
4512
4513 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject *resultobj;
4515 wxStaticText *arg1 = (wxStaticText *) 0 ;
4516 wxWindow *arg2 = (wxWindow *) 0 ;
4517 int arg3 ;
4518 wxString *arg4 = 0 ;
4519 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4520 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4521 wxSize const &arg6_defvalue = wxDefaultSize ;
4522 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4523 long arg7 = (long) 0 ;
4524 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4525 wxString *arg8 = (wxString *) &arg8_defvalue ;
4526 bool result;
4527 bool temp4 = False ;
4528 wxPoint temp5 ;
4529 wxSize temp6 ;
4530 bool temp8 = False ;
4531 PyObject * obj0 = 0 ;
4532 PyObject * obj1 = 0 ;
4533 PyObject * obj2 = 0 ;
4534 PyObject * obj3 = 0 ;
4535 PyObject * obj4 = 0 ;
4536 PyObject * obj5 = 0 ;
4537 PyObject * obj6 = 0 ;
4538 PyObject * obj7 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4546 {
4547 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 {
4551 arg4 = wxString_in_helper(obj3);
4552 if (arg4 == NULL) SWIG_fail;
4553 temp4 = True;
4554 }
4555 if (obj4) {
4556 {
4557 arg5 = &temp5;
4558 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4559 }
4560 }
4561 if (obj5) {
4562 {
4563 arg6 = &temp6;
4564 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4565 }
4566 }
4567 if (obj6) {
4568 {
4569 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 }
4573 if (obj7) {
4574 {
4575 arg8 = wxString_in_helper(obj7);
4576 if (arg8 == NULL) SWIG_fail;
4577 temp8 = True;
4578 }
4579 }
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4588 {
4589 if (temp4)
4590 delete arg4;
4591 }
4592 {
4593 if (temp8)
4594 delete arg8;
4595 }
4596 return resultobj;
4597 fail:
4598 {
4599 if (temp4)
4600 delete arg4;
4601 }
4602 {
4603 if (temp8)
4604 delete arg8;
4605 }
4606 return NULL;
4607 }
4608
4609
4610 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4611 PyObject *obj;
4612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4613 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4614 Py_INCREF(obj);
4615 return Py_BuildValue((char *)"");
4616 }
4617 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxWindow *arg1 = (wxWindow *) 0 ;
4620 int arg2 ;
4621 wxBitmap *arg3 = 0 ;
4622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4624 wxSize const &arg5_defvalue = wxDefaultSize ;
4625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4626 long arg6 = (long) 0 ;
4627 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4628 wxString *arg7 = (wxString *) &arg7_defvalue ;
4629 wxStaticBitmap *result;
4630 wxPoint temp4 ;
4631 wxSize temp5 ;
4632 bool temp7 = False ;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4635 PyObject * obj2 = 0 ;
4636 PyObject * obj3 = 0 ;
4637 PyObject * obj4 = 0 ;
4638 PyObject * obj5 = 0 ;
4639 PyObject * obj6 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4646 {
4647 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 if (arg3 == NULL) {
4652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4653 }
4654 if (obj3) {
4655 {
4656 arg4 = &temp4;
4657 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4658 }
4659 }
4660 if (obj4) {
4661 {
4662 arg5 = &temp5;
4663 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4664 }
4665 }
4666 if (obj5) {
4667 {
4668 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 }
4671 }
4672 if (obj6) {
4673 {
4674 arg7 = wxString_in_helper(obj6);
4675 if (arg7 == NULL) SWIG_fail;
4676 temp7 = True;
4677 }
4678 }
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4687 {
4688 if (temp7)
4689 delete arg7;
4690 }
4691 return resultobj;
4692 fail:
4693 {
4694 if (temp7)
4695 delete arg7;
4696 }
4697 return NULL;
4698 }
4699
4700
4701 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxStaticBitmap *result;
4704 char *kwnames[] = {
4705 NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 result = (wxStaticBitmap *)new wxStaticBitmap();
4712
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4717 return resultobj;
4718 fail:
4719 return NULL;
4720 }
4721
4722
4723 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4724 PyObject *resultobj;
4725 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4726 wxWindow *arg2 = (wxWindow *) 0 ;
4727 int arg3 ;
4728 wxBitmap *arg4 = 0 ;
4729 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4730 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4731 wxSize const &arg6_defvalue = wxDefaultSize ;
4732 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4733 long arg7 = (long) 0 ;
4734 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4735 wxString *arg8 = (wxString *) &arg8_defvalue ;
4736 bool result;
4737 wxPoint temp5 ;
4738 wxSize temp6 ;
4739 bool temp8 = False ;
4740 PyObject * obj0 = 0 ;
4741 PyObject * obj1 = 0 ;
4742 PyObject * obj2 = 0 ;
4743 PyObject * obj3 = 0 ;
4744 PyObject * obj4 = 0 ;
4745 PyObject * obj5 = 0 ;
4746 PyObject * obj6 = 0 ;
4747 PyObject * obj7 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 {
4756 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 if (arg4 == NULL) {
4761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4762 }
4763 if (obj4) {
4764 {
4765 arg5 = &temp5;
4766 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4767 }
4768 }
4769 if (obj5) {
4770 {
4771 arg6 = &temp6;
4772 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4773 }
4774 }
4775 if (obj6) {
4776 {
4777 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 }
4781 if (obj7) {
4782 {
4783 arg8 = wxString_in_helper(obj7);
4784 if (arg8 == NULL) SWIG_fail;
4785 temp8 = True;
4786 }
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4791
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4796 {
4797 if (temp8)
4798 delete arg8;
4799 }
4800 return resultobj;
4801 fail:
4802 {
4803 if (temp8)
4804 delete arg8;
4805 }
4806 return NULL;
4807 }
4808
4809
4810 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4811 PyObject *resultobj;
4812 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4813 wxBitmap result;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (arg1)->GetBitmap();
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 wxBitmap * resultptr;
4830 resultptr = new wxBitmap((wxBitmap &) result);
4831 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4832 }
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4842 wxBitmap *arg2 = 0 ;
4843 PyObject * obj0 = 0 ;
4844 PyObject * obj1 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self",(char *) "bitmap", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4851 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4852 if (arg2 == NULL) {
4853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4854 }
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4872 wxIcon *arg2 = 0 ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self",(char *) "icon", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4882 if (arg2 == NULL) {
4883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4884 }
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 (arg1)->SetIcon((wxIcon const &)*arg2);
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 Py_INCREF(Py_None); resultobj = Py_None;
4893 return resultobj;
4894 fail:
4895 return NULL;
4896 }
4897
4898
4899 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4900 PyObject *obj;
4901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4902 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4903 Py_INCREF(obj);
4904 return Py_BuildValue((char *)"");
4905 }
4906 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4907 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4908 return 1;
4909 }
4910
4911
4912 static PyObject *_wrap_ListBoxNameStr_get() {
4913 PyObject *pyobj;
4914
4915 {
4916 #if wxUSE_UNICODE
4917 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4918 #else
4919 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4920 #endif
4921 }
4922 return pyobj;
4923 }
4924
4925
4926 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxWindow *arg1 = (wxWindow *) 0 ;
4929 int arg2 ;
4930 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4931 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4932 wxSize const &arg4_defvalue = wxDefaultSize ;
4933 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4934 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4935 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4936 long arg6 = (long) 0 ;
4937 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4938 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4939 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
4940 wxString *arg8 = (wxString *) &arg8_defvalue ;
4941 wxListBox *result;
4942 wxPoint temp3 ;
4943 wxSize temp4 ;
4944 bool temp5 = False ;
4945 bool temp8 = False ;
4946 PyObject * obj0 = 0 ;
4947 PyObject * obj1 = 0 ;
4948 PyObject * obj2 = 0 ;
4949 PyObject * obj3 = 0 ;
4950 PyObject * obj4 = 0 ;
4951 PyObject * obj5 = 0 ;
4952 PyObject * obj6 = 0 ;
4953 PyObject * obj7 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4960 {
4961 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 if (obj2) {
4965 {
4966 arg3 = &temp3;
4967 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4968 }
4969 }
4970 if (obj3) {
4971 {
4972 arg4 = &temp4;
4973 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4974 }
4975 }
4976 if (obj4) {
4977 {
4978 if (! PySequence_Check(obj4)) {
4979 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4980 SWIG_fail;
4981 }
4982 arg5 = new wxArrayString;
4983 temp5 = True;
4984 int i, len=PySequence_Length(obj4);
4985 for (i=0; i<len; i++) {
4986 PyObject* item = PySequence_GetItem(obj4, i);
4987 #if wxUSE_UNICODE
4988 PyObject* str = PyObject_Unicode(item);
4989 #else
4990 PyObject* str = PyObject_Str(item);
4991 #endif
4992 arg5->Add(Py2wxString(str));
4993 Py_DECREF(item);
4994 Py_DECREF(str);
4995 }
4996 }
4997 }
4998 if (obj5) {
4999 {
5000 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 }
5004 if (obj6) {
5005 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 if (arg7 == NULL) {
5007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5008 }
5009 }
5010 if (obj7) {
5011 {
5012 arg8 = wxString_in_helper(obj7);
5013 if (arg8 == NULL) SWIG_fail;
5014 temp8 = True;
5015 }
5016 }
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5025 {
5026 if (temp5) delete arg5;
5027 }
5028 {
5029 if (temp8)
5030 delete arg8;
5031 }
5032 return resultobj;
5033 fail:
5034 {
5035 if (temp5) delete arg5;
5036 }
5037 {
5038 if (temp8)
5039 delete arg8;
5040 }
5041 return NULL;
5042 }
5043
5044
5045 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxListBox *result;
5048 char *kwnames[] = {
5049 NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (wxListBox *)new wxListBox();
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxListBox *arg1 = (wxListBox *) 0 ;
5070 wxWindow *arg2 = (wxWindow *) 0 ;
5071 int arg3 ;
5072 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5073 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5074 wxSize const &arg5_defvalue = wxDefaultSize ;
5075 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5076 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5077 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5078 long arg7 = (long) 0 ;
5079 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5080 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5081 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5082 wxString *arg9 = (wxString *) &arg9_defvalue ;
5083 bool result;
5084 wxPoint temp4 ;
5085 wxSize temp5 ;
5086 bool temp6 = False ;
5087 bool temp9 = False ;
5088 PyObject * obj0 = 0 ;
5089 PyObject * obj1 = 0 ;
5090 PyObject * obj2 = 0 ;
5091 PyObject * obj3 = 0 ;
5092 PyObject * obj4 = 0 ;
5093 PyObject * obj5 = 0 ;
5094 PyObject * obj6 = 0 ;
5095 PyObject * obj7 = 0 ;
5096 PyObject * obj8 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5104 {
5105 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 if (obj3) {
5109 {
5110 arg4 = &temp4;
5111 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5112 }
5113 }
5114 if (obj4) {
5115 {
5116 arg5 = &temp5;
5117 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5118 }
5119 }
5120 if (obj5) {
5121 {
5122 if (! PySequence_Check(obj5)) {
5123 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5124 SWIG_fail;
5125 }
5126 arg6 = new wxArrayString;
5127 temp6 = True;
5128 int i, len=PySequence_Length(obj5);
5129 for (i=0; i<len; i++) {
5130 PyObject* item = PySequence_GetItem(obj5, i);
5131 #if wxUSE_UNICODE
5132 PyObject* str = PyObject_Unicode(item);
5133 #else
5134 PyObject* str = PyObject_Str(item);
5135 #endif
5136 arg6->Add(Py2wxString(str));
5137 Py_DECREF(item);
5138 Py_DECREF(str);
5139 }
5140 }
5141 }
5142 if (obj6) {
5143 {
5144 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 }
5148 if (obj7) {
5149 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5150 if (arg8 == NULL) {
5151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5152 }
5153 }
5154 if (obj8) {
5155 {
5156 arg9 = wxString_in_helper(obj8);
5157 if (arg9 == NULL) SWIG_fail;
5158 temp9 = True;
5159 }
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5169 {
5170 if (temp6) delete arg6;
5171 }
5172 {
5173 if (temp9)
5174 delete arg9;
5175 }
5176 return resultobj;
5177 fail:
5178 {
5179 if (temp6) delete arg6;
5180 }
5181 {
5182 if (temp9)
5183 delete arg9;
5184 }
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxListBox *arg1 = (wxListBox *) 0 ;
5192 wxString *arg2 = 0 ;
5193 int arg3 ;
5194 PyObject *arg4 = (PyObject *) NULL ;
5195 bool temp2 = False ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 PyObject * obj2 = 0 ;
5199 PyObject * obj3 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5206 {
5207 arg2 = wxString_in_helper(obj1);
5208 if (arg2 == NULL) SWIG_fail;
5209 temp2 = True;
5210 }
5211 {
5212 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 if (obj3) {
5216 arg4 = obj3;
5217 }
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 Py_INCREF(Py_None); resultobj = Py_None;
5226 {
5227 if (temp2)
5228 delete arg2;
5229 }
5230 return resultobj;
5231 fail:
5232 {
5233 if (temp2)
5234 delete arg2;
5235 }
5236 return NULL;
5237 }
5238
5239
5240 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj;
5242 wxListBox *arg1 = (wxListBox *) 0 ;
5243 wxArrayString *arg2 = 0 ;
5244 int arg3 ;
5245 bool temp2 = False ;
5246 PyObject * obj0 = 0 ;
5247 PyObject * obj1 = 0 ;
5248 PyObject * obj2 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "self",(char *) "items",(char *) "pos", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5255 {
5256 if (! PySequence_Check(obj1)) {
5257 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5258 SWIG_fail;
5259 }
5260 arg2 = new wxArrayString;
5261 temp2 = True;
5262 int i, len=PySequence_Length(obj1);
5263 for (i=0; i<len; i++) {
5264 PyObject* item = PySequence_GetItem(obj1, i);
5265 #if wxUSE_UNICODE
5266 PyObject* str = PyObject_Unicode(item);
5267 #else
5268 PyObject* str = PyObject_Str(item);
5269 #endif
5270 arg2->Add(Py2wxString(str));
5271 Py_DECREF(item);
5272 Py_DECREF(str);
5273 }
5274 }
5275 {
5276 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 Py_INCREF(Py_None); resultobj = Py_None;
5287 {
5288 if (temp2) delete arg2;
5289 }
5290 return resultobj;
5291 fail:
5292 {
5293 if (temp2) delete arg2;
5294 }
5295 return NULL;
5296 }
5297
5298
5299 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxListBox *arg1 = (wxListBox *) 0 ;
5302 wxArrayString *arg2 = 0 ;
5303 bool temp2 = False ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "items", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 {
5313 if (! PySequence_Check(obj1)) {
5314 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5315 SWIG_fail;
5316 }
5317 arg2 = new wxArrayString;
5318 temp2 = True;
5319 int i, len=PySequence_Length(obj1);
5320 for (i=0; i<len; i++) {
5321 PyObject* item = PySequence_GetItem(obj1, i);
5322 #if wxUSE_UNICODE
5323 PyObject* str = PyObject_Unicode(item);
5324 #else
5325 PyObject* str = PyObject_Str(item);
5326 #endif
5327 arg2->Add(Py2wxString(str));
5328 Py_DECREF(item);
5329 Py_DECREF(str);
5330 }
5331 }
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->Set((wxArrayString const &)*arg2);
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
5340 {
5341 if (temp2) delete arg2;
5342 }
5343 return resultobj;
5344 fail:
5345 {
5346 if (temp2) delete arg2;
5347 }
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxListBox *arg1 = (wxListBox *) 0 ;
5355 int arg2 ;
5356 bool result;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self",(char *) "n", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5365 {
5366 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj;
5385 wxListBox *arg1 = (wxListBox *) 0 ;
5386 int arg2 ;
5387 bool arg3 = (bool) True ;
5388 PyObject * obj0 = 0 ;
5389 PyObject * obj1 = 0 ;
5390 PyObject * obj2 = 0 ;
5391 char *kwnames[] = {
5392 (char *) "self",(char *) "n",(char *) "select", NULL
5393 };
5394
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5397 {
5398 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 if (obj2) {
5402 {
5403 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 }
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 (arg1)->SetSelection(arg2,arg3);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 Py_INCREF(Py_None); resultobj = Py_None;
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxListBox *arg1 = (wxListBox *) 0 ;
5424 int arg2 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self",(char *) "n", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 {
5434 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 (arg1)->Select(arg2);
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 Py_INCREF(Py_None); resultobj = Py_None;
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxListBox *arg1 = (wxListBox *) 0 ;
5454 int arg2 ;
5455 PyObject * obj0 = 0 ;
5456 PyObject * obj1 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self",(char *) "n", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5463 {
5464 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 (arg1)->Deselect(arg2);
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 Py_INCREF(Py_None); resultobj = Py_None;
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxListBox *arg1 = (wxListBox *) 0 ;
5484 int arg2 = (int) -1 ;
5485 PyObject * obj0 = 0 ;
5486 PyObject * obj1 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "itemToLeaveSelected", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 if (obj1) {
5494 {
5495 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->DeselectAll(arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 Py_INCREF(Py_None); resultobj = Py_None;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxListBox *arg1 = (wxListBox *) 0 ;
5516 wxString *arg2 = 0 ;
5517 bool arg3 = (bool) True ;
5518 bool result;
5519 bool temp2 = False ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 PyObject * obj2 = 0 ;
5523 char *kwnames[] = {
5524 (char *) "self",(char *) "s",(char *) "select", NULL
5525 };
5526
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5529 {
5530 arg2 = wxString_in_helper(obj1);
5531 if (arg2 == NULL) SWIG_fail;
5532 temp2 = True;
5533 }
5534 if (obj2) {
5535 {
5536 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5548 {
5549 if (temp2)
5550 delete arg2;
5551 }
5552 return resultobj;
5553 fail:
5554 {
5555 if (temp2)
5556 delete arg2;
5557 }
5558 return NULL;
5559 }
5560
5561
5562 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 wxListBox *arg1 = (wxListBox *) 0 ;
5565 PyObject *result;
5566 PyObject * obj0 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = (PyObject *)wxListBox_GetSelections(arg1);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 resultobj = result;
5581 return resultobj;
5582 fail:
5583 return NULL;
5584 }
5585
5586
5587 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 wxListBox *arg1 = (wxListBox *) 0 ;
5590 int arg2 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self",(char *) "n", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 {
5600 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 (arg1)->SetFirstItem(arg2);
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 Py_INCREF(Py_None); resultobj = Py_None;
5611 return resultobj;
5612 fail:
5613 return NULL;
5614 }
5615
5616
5617 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject *resultobj;
5619 wxListBox *arg1 = (wxListBox *) 0 ;
5620 wxString *arg2 = 0 ;
5621 bool temp2 = False ;
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self",(char *) "s", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5630 {
5631 arg2 = wxString_in_helper(obj1);
5632 if (arg2 == NULL) SWIG_fail;
5633 temp2 = True;
5634 }
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->SetFirstItem((wxString const &)*arg2);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 Py_INCREF(Py_None); resultobj = Py_None;
5643 {
5644 if (temp2)
5645 delete arg2;
5646 }
5647 return resultobj;
5648 fail:
5649 {
5650 if (temp2)
5651 delete arg2;
5652 }
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxListBox *arg1 = (wxListBox *) 0 ;
5660 int arg2 ;
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self",(char *) "n", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5669 {
5670 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->EnsureVisible(arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxListBox *arg1 = (wxListBox *) 0 ;
5690 wxString *arg2 = 0 ;
5691 bool temp2 = False ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self",(char *) "s", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5700 {
5701 arg2 = wxString_in_helper(obj1);
5702 if (arg2 == NULL) SWIG_fail;
5703 temp2 = True;
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 {
5714 if (temp2)
5715 delete arg2;
5716 }
5717 return resultobj;
5718 fail:
5719 {
5720 if (temp2)
5721 delete arg2;
5722 }
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxListBox *arg1 = (wxListBox *) 0 ;
5730 bool result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (bool)((wxListBox const *)arg1)->IsSorted();
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5753 PyObject *obj;
5754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5755 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5756 Py_INCREF(obj);
5757 return Py_BuildValue((char *)"");
5758 }
5759 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxWindow *arg1 = (wxWindow *) 0 ;
5762 int arg2 ;
5763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5765 wxSize const &arg4_defvalue = wxDefaultSize ;
5766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5767 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5768 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5769 long arg6 = (long) 0 ;
5770 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5771 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5772 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5773 wxString *arg8 = (wxString *) &arg8_defvalue ;
5774 wxCheckListBox *result;
5775 wxPoint temp3 ;
5776 wxSize temp4 ;
5777 bool temp5 = False ;
5778 bool temp8 = False ;
5779 PyObject * obj0 = 0 ;
5780 PyObject * obj1 = 0 ;
5781 PyObject * obj2 = 0 ;
5782 PyObject * obj3 = 0 ;
5783 PyObject * obj4 = 0 ;
5784 PyObject * obj5 = 0 ;
5785 PyObject * obj6 = 0 ;
5786 PyObject * obj7 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5793 {
5794 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 if (obj2) {
5798 {
5799 arg3 = &temp3;
5800 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5801 }
5802 }
5803 if (obj3) {
5804 {
5805 arg4 = &temp4;
5806 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5807 }
5808 }
5809 if (obj4) {
5810 {
5811 if (! PySequence_Check(obj4)) {
5812 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5813 SWIG_fail;
5814 }
5815 arg5 = new wxArrayString;
5816 temp5 = True;
5817 int i, len=PySequence_Length(obj4);
5818 for (i=0; i<len; i++) {
5819 PyObject* item = PySequence_GetItem(obj4, i);
5820 #if wxUSE_UNICODE
5821 PyObject* str = PyObject_Unicode(item);
5822 #else
5823 PyObject* str = PyObject_Str(item);
5824 #endif
5825 arg5->Add(Py2wxString(str));
5826 Py_DECREF(item);
5827 Py_DECREF(str);
5828 }
5829 }
5830 }
5831 if (obj5) {
5832 {
5833 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 }
5837 if (obj6) {
5838 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 if (arg7 == NULL) {
5840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5841 }
5842 }
5843 if (obj7) {
5844 {
5845 arg8 = wxString_in_helper(obj7);
5846 if (arg8 == NULL) SWIG_fail;
5847 temp8 = True;
5848 }
5849 }
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5858 {
5859 if (temp5) delete arg5;
5860 }
5861 {
5862 if (temp8)
5863 delete arg8;
5864 }
5865 return resultobj;
5866 fail:
5867 {
5868 if (temp5) delete arg5;
5869 }
5870 {
5871 if (temp8)
5872 delete arg8;
5873 }
5874 return NULL;
5875 }
5876
5877
5878 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxCheckListBox *result;
5881 char *kwnames[] = {
5882 NULL
5883 };
5884
5885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = (wxCheckListBox *)new wxCheckListBox();
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5894 return resultobj;
5895 fail:
5896 return NULL;
5897 }
5898
5899
5900 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject *resultobj;
5902 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5903 wxWindow *arg2 = (wxWindow *) 0 ;
5904 int arg3 ;
5905 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5906 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5907 wxSize const &arg5_defvalue = wxDefaultSize ;
5908 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5909 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5910 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5911 long arg7 = (long) 0 ;
5912 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5913 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5914 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5915 wxString *arg9 = (wxString *) &arg9_defvalue ;
5916 bool result;
5917 wxPoint temp4 ;
5918 wxSize temp5 ;
5919 bool temp6 = False ;
5920 bool temp9 = False ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 PyObject * obj2 = 0 ;
5924 PyObject * obj3 = 0 ;
5925 PyObject * obj4 = 0 ;
5926 PyObject * obj5 = 0 ;
5927 PyObject * obj6 = 0 ;
5928 PyObject * obj7 = 0 ;
5929 PyObject * obj8 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5937 {
5938 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 if (obj3) {
5942 {
5943 arg4 = &temp4;
5944 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5945 }
5946 }
5947 if (obj4) {
5948 {
5949 arg5 = &temp5;
5950 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5951 }
5952 }
5953 if (obj5) {
5954 {
5955 if (! PySequence_Check(obj5)) {
5956 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5957 SWIG_fail;
5958 }
5959 arg6 = new wxArrayString;
5960 temp6 = True;
5961 int i, len=PySequence_Length(obj5);
5962 for (i=0; i<len; i++) {
5963 PyObject* item = PySequence_GetItem(obj5, i);
5964 #if wxUSE_UNICODE
5965 PyObject* str = PyObject_Unicode(item);
5966 #else
5967 PyObject* str = PyObject_Str(item);
5968 #endif
5969 arg6->Add(Py2wxString(str));
5970 Py_DECREF(item);
5971 Py_DECREF(str);
5972 }
5973 }
5974 }
5975 if (obj6) {
5976 {
5977 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 }
5981 if (obj7) {
5982 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 if (arg8 == NULL) {
5984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5985 }
5986 }
5987 if (obj8) {
5988 {
5989 arg9 = wxString_in_helper(obj8);
5990 if (arg9 == NULL) SWIG_fail;
5991 temp9 = True;
5992 }
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6002 {
6003 if (temp6) delete arg6;
6004 }
6005 {
6006 if (temp9)
6007 delete arg9;
6008 }
6009 return resultobj;
6010 fail:
6011 {
6012 if (temp6) delete arg6;
6013 }
6014 {
6015 if (temp9)
6016 delete arg9;
6017 }
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6025 int arg2 ;
6026 bool result;
6027 PyObject * obj0 = 0 ;
6028 PyObject * obj1 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self",(char *) "index", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6035 {
6036 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (bool)(arg1)->IsChecked(arg2);
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6056 int arg2 ;
6057 int arg3 = (int) True ;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 PyObject * obj2 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "index",(char *) "check", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6067 {
6068 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 if (obj2) {
6072 {
6073 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 (arg1)->Check(arg2,arg3);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 Py_INCREF(Py_None); resultobj = Py_None;
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj;
6093 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6094 int result;
6095 PyObject * obj0 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 result = (int)(arg1)->GetItemHeight();
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 resultobj = SWIG_PyObj_FromInt((int)result);
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj;
6118 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6119 wxPoint *arg2 = 0 ;
6120 int result;
6121 wxPoint temp2 ;
6122 PyObject * obj0 = 0 ;
6123 PyObject * obj1 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "pt", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6130 {
6131 arg2 = &temp2;
6132 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6133 }
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = SWIG_PyObj_FromInt((int)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6151 int arg2 ;
6152 int arg3 ;
6153 int result;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj1 = 0 ;
6156 PyObject * obj2 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "x",(char *) "y", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_PyObj_FromInt((int)result);
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6186 PyObject *obj;
6187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6188 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6189 Py_INCREF(obj);
6190 return Py_BuildValue((char *)"");
6191 }
6192 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6193 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6194 return 1;
6195 }
6196
6197
6198 static PyObject *_wrap_TextCtrlNameStr_get() {
6199 PyObject *pyobj;
6200
6201 {
6202 #if wxUSE_UNICODE
6203 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6204 #else
6205 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6206 #endif
6207 }
6208 return pyobj;
6209 }
6210
6211
6212 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6213 PyObject *resultobj;
6214 wxTextAttr *result;
6215
6216 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (wxTextAttr *)new wxTextAttr();
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6232 PyObject *resultobj;
6233 wxColour *arg1 = 0 ;
6234 wxColour const &arg2_defvalue = wxNullColour ;
6235 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6236 wxFont const &arg3_defvalue = wxNullFont ;
6237 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6238 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6239 wxTextAttr *result;
6240 wxColour temp1 ;
6241 wxColour temp2 ;
6242 PyObject * obj0 = 0 ;
6243 PyObject * obj1 = 0 ;
6244 PyObject * obj2 = 0 ;
6245 PyObject * obj3 = 0 ;
6246
6247 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6248 {
6249 arg1 = &temp1;
6250 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6251 }
6252 if (obj1) {
6253 {
6254 arg2 = &temp2;
6255 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6256 }
6257 }
6258 if (obj2) {
6259 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6260 if (arg3 == NULL) {
6261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6262 }
6263 }
6264 if (obj3) {
6265 {
6266 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 }
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6285 int argc;
6286 PyObject *argv[5];
6287 int ii;
6288
6289 argc = PyObject_Length(args);
6290 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6291 argv[ii] = PyTuple_GetItem(args,ii);
6292 }
6293 if (argc == 0) {
6294 return _wrap_new_TextAttr__SWIG_0(self,args);
6295 }
6296 if ((argc >= 1) && (argc <= 4)) {
6297 int _v;
6298 {
6299 _v = wxColour_typecheck(argv[0]);
6300 }
6301 if (_v) {
6302 if (argc <= 1) {
6303 return _wrap_new_TextAttr__SWIG_1(self,args);
6304 }
6305 {
6306 _v = wxColour_typecheck(argv[1]);
6307 }
6308 if (_v) {
6309 if (argc <= 2) {
6310 return _wrap_new_TextAttr__SWIG_1(self,args);
6311 }
6312 {
6313 void *ptr;
6314 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6315 _v = 0;
6316 PyErr_Clear();
6317 } else {
6318 _v = 1;
6319 }
6320 }
6321 if (_v) {
6322 if (argc <= 3) {
6323 return _wrap_new_TextAttr__SWIG_1(self,args);
6324 }
6325 {
6326 SWIG_PyObj_AsInt(argv[3]);
6327 if (PyErr_Occurred()) {
6328 _v = 0;
6329 PyErr_Clear();
6330 } else {
6331 _v = 1;
6332 }
6333 }
6334 if (_v) {
6335 return _wrap_new_TextAttr__SWIG_1(self,args);
6336 }
6337 }
6338 }
6339 }
6340 }
6341
6342 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 delete arg1;
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 Py_INCREF(Py_None); resultobj = Py_None;
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6374 PyObject * obj0 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 (arg1)->Init();
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 Py_INCREF(Py_None); resultobj = Py_None;
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6398 wxColour *arg2 = 0 ;
6399 wxColour temp2 ;
6400 PyObject * obj0 = 0 ;
6401 PyObject * obj1 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self",(char *) "colText", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 {
6409 arg2 = &temp2;
6410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6411 }
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 (arg1)->SetTextColour((wxColour const &)*arg2);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 Py_INCREF(Py_None); resultobj = Py_None;
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6429 wxColour *arg2 = 0 ;
6430 wxColour temp2 ;
6431 PyObject * obj0 = 0 ;
6432 PyObject * obj1 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self",(char *) "colBack", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439 {
6440 arg2 = &temp2;
6441 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6442 }
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 Py_INCREF(Py_None); resultobj = Py_None;
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6460 wxFont *arg2 = 0 ;
6461 long arg3 = (long) wxTEXT_ATTR_FONT ;
6462 PyObject * obj0 = 0 ;
6463 PyObject * obj1 = 0 ;
6464 PyObject * obj2 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "self",(char *) "font",(char *) "flags", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6472 if (arg2 == NULL) {
6473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6474 }
6475 if (obj2) {
6476 {
6477 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 Py_INCREF(Py_None); resultobj = Py_None;
6489 return resultobj;
6490 fail:
6491 return NULL;
6492 }
6493
6494
6495 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6498 int arg2 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 char *kwnames[] = {
6502 (char *) "self",(char *) "alignment", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6507 {
6508 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 Py_INCREF(Py_None); resultobj = Py_None;
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6528 wxArrayInt *arg2 = 0 ;
6529 bool temp2 = False ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self",(char *) "tabs", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6538 {
6539 if (! PySequence_Check(obj1)) {
6540 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6541 SWIG_fail;
6542 }
6543 arg2 = new wxArrayInt;
6544 temp2 = True;
6545 int i, len=PySequence_Length(obj1);
6546 for (i=0; i<len; i++) {
6547 PyObject* item = PySequence_GetItem(obj1, i);
6548 PyObject* number = PyNumber_Int(item);
6549 arg2->Add(PyInt_AS_LONG(number));
6550 Py_DECREF(item);
6551 Py_DECREF(number);
6552 }
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 Py_INCREF(Py_None); resultobj = Py_None;
6562 {
6563 if (temp2) delete arg2;
6564 }
6565 return resultobj;
6566 fail:
6567 {
6568 if (temp2) delete arg2;
6569 }
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6577 int arg2 ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "indent", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586 {
6587 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->SetLeftIndent(arg2);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601 }
6602
6603
6604 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6607 int arg2 ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "indent", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6616 {
6617 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 (arg1)->SetRightIndent(arg2);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 Py_INCREF(Py_None); resultobj = Py_None;
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6637 long arg2 ;
6638 PyObject * obj0 = 0 ;
6639 PyObject * obj1 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self",(char *) "flags", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6646 {
6647 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 (arg1)->SetFlags(arg2);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 Py_INCREF(Py_None); resultobj = Py_None;
6658 return resultobj;
6659 fail:
6660 return NULL;
6661 }
6662
6663
6664 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj;
6666 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6667 bool result;
6668 PyObject * obj0 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6683 return resultobj;
6684 fail:
6685 return NULL;
6686 }
6687
6688
6689 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6692 bool result;
6693 PyObject * obj0 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj;
6716 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6717 bool result;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6742 bool result;
6743 PyObject * obj0 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "self", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6758 return resultobj;
6759 fail:
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6767 bool result;
6768 PyObject * obj0 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6792 bool result;
6793 PyObject * obj0 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self", NULL
6796 };
6797
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj;
6816 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6817 bool result;
6818 PyObject * obj0 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6833 return resultobj;
6834 fail:
6835 return NULL;
6836 }
6837
6838
6839 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6842 long arg2 ;
6843 bool result;
6844 PyObject * obj0 = 0 ;
6845 PyObject * obj1 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self",(char *) "flag", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6852 {
6853 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6864 return resultobj;
6865 fail:
6866 return NULL;
6867 }
6868
6869
6870 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject *resultobj;
6872 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6873 wxColour *result;
6874 PyObject * obj0 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 {
6884 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6885 result = (wxColour *) &_result_ref;
6886 }
6887
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6901 wxColour *result;
6902 PyObject * obj0 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 {
6912 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6913 result = (wxColour *) &_result_ref;
6914 }
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6929 wxFont *result;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 {
6940 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6941 result = (wxFont *) &_result_ref;
6942 }
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6948 return resultobj;
6949 fail:
6950 return NULL;
6951 }
6952
6953
6954 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6957 int result;
6958 PyObject * obj0 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_PyObj_FromInt((int)result);
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj;
6981 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6982 wxArrayInt *result;
6983 PyObject * obj0 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 {
6993 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6994 result = (wxArrayInt *) &_result_ref;
6995 }
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 resultobj = PyList_New(0);
7002 size_t idx;
7003 for (idx = 0; idx < result->GetCount(); idx += 1) {
7004 PyObject* val = PyInt_FromLong( result->Item(idx) );
7005 PyList_Append(resultobj, val);
7006 Py_DECREF(val);
7007 }
7008 }
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject *resultobj;
7017 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7018 long result;
7019 PyObject * obj0 = 0 ;
7020 char *kwnames[] = {
7021 (char *) "self", NULL
7022 };
7023
7024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = SWIG_PyObj_FromLong((long)result);
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj;
7042 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7043 long result;
7044 PyObject * obj0 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 resultobj = SWIG_PyObj_FromLong((long)result);
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7068 long result;
7069 PyObject * obj0 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 resultobj = SWIG_PyObj_FromLong((long)result);
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7093 bool result;
7094 PyObject * obj0 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxTextAttr *arg1 = 0 ;
7118 wxTextAttr *arg2 = 0 ;
7119 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7120 wxTextAttr result;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 PyObject * obj2 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7130 if (arg1 == NULL) {
7131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7132 }
7133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7134 if (arg2 == NULL) {
7135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7136 }
7137 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 {
7146 wxTextAttr * resultptr;
7147 resultptr = new wxTextAttr((wxTextAttr &) result);
7148 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7149 }
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7157 PyObject *obj;
7158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7159 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7160 Py_INCREF(obj);
7161 return Py_BuildValue((char *)"");
7162 }
7163 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxWindow *arg1 = (wxWindow *) 0 ;
7166 int arg2 ;
7167 wxString const &arg3_defvalue = wxPyEmptyString ;
7168 wxString *arg3 = (wxString *) &arg3_defvalue ;
7169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7171 wxSize const &arg5_defvalue = wxDefaultSize ;
7172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7173 long arg6 = (long) 0 ;
7174 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7175 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7176 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7177 wxString *arg8 = (wxString *) &arg8_defvalue ;
7178 wxTextCtrl *result;
7179 bool temp3 = False ;
7180 wxPoint temp4 ;
7181 wxSize temp5 ;
7182 bool temp8 = False ;
7183 PyObject * obj0 = 0 ;
7184 PyObject * obj1 = 0 ;
7185 PyObject * obj2 = 0 ;
7186 PyObject * obj3 = 0 ;
7187 PyObject * obj4 = 0 ;
7188 PyObject * obj5 = 0 ;
7189 PyObject * obj6 = 0 ;
7190 PyObject * obj7 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 {
7198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 if (obj2) {
7202 {
7203 arg3 = wxString_in_helper(obj2);
7204 if (arg3 == NULL) SWIG_fail;
7205 temp3 = True;
7206 }
7207 }
7208 if (obj3) {
7209 {
7210 arg4 = &temp4;
7211 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7212 }
7213 }
7214 if (obj4) {
7215 {
7216 arg5 = &temp5;
7217 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7218 }
7219 }
7220 if (obj5) {
7221 {
7222 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 }
7226 if (obj6) {
7227 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 if (arg7 == NULL) {
7229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7230 }
7231 }
7232 if (obj7) {
7233 {
7234 arg8 = wxString_in_helper(obj7);
7235 if (arg8 == NULL) SWIG_fail;
7236 temp8 = True;
7237 }
7238 }
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 {
7247 resultobj = wxPyMake_wxObject(result);
7248 }
7249 {
7250 if (temp3)
7251 delete arg3;
7252 }
7253 {
7254 if (temp8)
7255 delete arg8;
7256 }
7257 return resultobj;
7258 fail:
7259 {
7260 if (temp3)
7261 delete arg3;
7262 }
7263 {
7264 if (temp8)
7265 delete arg8;
7266 }
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxTextCtrl *result;
7274 char *kwnames[] = {
7275 NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (wxTextCtrl *)new wxTextCtrl();
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 {
7287 resultobj = wxPyMake_wxObject(result);
7288 }
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7298 wxWindow *arg2 = (wxWindow *) 0 ;
7299 int arg3 ;
7300 wxString const &arg4_defvalue = wxPyEmptyString ;
7301 wxString *arg4 = (wxString *) &arg4_defvalue ;
7302 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7303 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7304 wxSize const &arg6_defvalue = wxDefaultSize ;
7305 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7306 long arg7 = (long) 0 ;
7307 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7308 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7309 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7310 wxString *arg9 = (wxString *) &arg9_defvalue ;
7311 bool result;
7312 bool temp4 = False ;
7313 wxPoint temp5 ;
7314 wxSize temp6 ;
7315 bool temp9 = False ;
7316 PyObject * obj0 = 0 ;
7317 PyObject * obj1 = 0 ;
7318 PyObject * obj2 = 0 ;
7319 PyObject * obj3 = 0 ;
7320 PyObject * obj4 = 0 ;
7321 PyObject * obj5 = 0 ;
7322 PyObject * obj6 = 0 ;
7323 PyObject * obj7 = 0 ;
7324 PyObject * obj8 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7332 {
7333 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 if (obj3) {
7337 {
7338 arg4 = wxString_in_helper(obj3);
7339 if (arg4 == NULL) SWIG_fail;
7340 temp4 = True;
7341 }
7342 }
7343 if (obj4) {
7344 {
7345 arg5 = &temp5;
7346 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7347 }
7348 }
7349 if (obj5) {
7350 {
7351 arg6 = &temp6;
7352 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7353 }
7354 }
7355 if (obj6) {
7356 {
7357 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 }
7361 if (obj7) {
7362 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7363 if (arg8 == NULL) {
7364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7365 }
7366 }
7367 if (obj8) {
7368 {
7369 arg9 = wxString_in_helper(obj8);
7370 if (arg9 == NULL) SWIG_fail;
7371 temp9 = True;
7372 }
7373 }
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7382 {
7383 if (temp4)
7384 delete arg4;
7385 }
7386 {
7387 if (temp9)
7388 delete arg9;
7389 }
7390 return resultobj;
7391 fail:
7392 {
7393 if (temp4)
7394 delete arg4;
7395 }
7396 {
7397 if (temp9)
7398 delete arg9;
7399 }
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7407 wxString result;
7408 PyObject * obj0 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = ((wxTextCtrl const *)arg1)->GetValue();
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 {
7423 #if wxUSE_UNICODE
7424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7425 #else
7426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7427 #endif
7428 }
7429 return resultobj;
7430 fail:
7431 return NULL;
7432 }
7433
7434
7435 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject *resultobj;
7437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7438 wxString *arg2 = 0 ;
7439 bool temp2 = False ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "value", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7448 {
7449 arg2 = wxString_in_helper(obj1);
7450 if (arg2 == NULL) SWIG_fail;
7451 temp2 = True;
7452 }
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 (arg1)->SetValue((wxString const &)*arg2);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 Py_INCREF(Py_None); resultobj = Py_None;
7461 {
7462 if (temp2)
7463 delete arg2;
7464 }
7465 return resultobj;
7466 fail:
7467 {
7468 if (temp2)
7469 delete arg2;
7470 }
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7478 long arg2 ;
7479 long arg3 ;
7480 wxString result;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 PyObject * obj2 = 0 ;
7484 char *kwnames[] = {
7485 (char *) "self",(char *) "from",(char *) "to", NULL
7486 };
7487
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7490 {
7491 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 {
7495 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 {
7506 #if wxUSE_UNICODE
7507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7508 #else
7509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7510 #endif
7511 }
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7521 long arg2 ;
7522 int result;
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self",(char *) "lineNo", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 {
7532 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_PyObj_FromInt((int)result);
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj;
7551 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7552 long arg2 ;
7553 wxString result;
7554 PyObject * obj0 = 0 ;
7555 PyObject * obj1 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "self",(char *) "lineNo", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7562 {
7563 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574 #if wxUSE_UNICODE
7575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7576 #else
7577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7578 #endif
7579 }
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7589 int result;
7590 PyObject * obj0 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self", NULL
7593 };
7594
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 resultobj = SWIG_PyObj_FromInt((int)result);
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7614 bool result;
7615 PyObject * obj0 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7639 bool result;
7640 PyObject * obj0 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7664 bool result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7689 bool result;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7714 long *arg2 = (long *) 0 ;
7715 long *arg3 = (long *) 0 ;
7716 long temp2 ;
7717 long temp3 ;
7718 PyObject * obj0 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self", NULL
7721 };
7722
7723 arg2 = &temp2;
7724 arg3 = &temp3;
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 Py_INCREF(Py_None); resultobj = Py_None;
7735 {
7736 PyObject *o = PyInt_FromLong((long) (*arg2));
7737 resultobj = t_output_helper(resultobj,o);
7738 }
7739 {
7740 PyObject *o = PyInt_FromLong((long) (*arg3));
7741 resultobj = t_output_helper(resultobj,o);
7742 }
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7752 wxString result;
7753 PyObject * obj0 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 {
7768 #if wxUSE_UNICODE
7769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7770 #else
7771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7772 #endif
7773 }
7774 return resultobj;
7775 fail:
7776 return NULL;
7777 }
7778
7779
7780 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 (arg1)->Clear();
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 Py_INCREF(Py_None); resultobj = Py_None;
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7807 long arg2 ;
7808 long arg3 ;
7809 wxString *arg4 = 0 ;
7810 bool temp4 = False ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 PyObject * obj2 = 0 ;
7814 PyObject * obj3 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7821 {
7822 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 {
7826 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 {
7830 arg4 = wxString_in_helper(obj3);
7831 if (arg4 == NULL) SWIG_fail;
7832 temp4 = True;
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 Py_INCREF(Py_None); resultobj = Py_None;
7842 {
7843 if (temp4)
7844 delete arg4;
7845 }
7846 return resultobj;
7847 fail:
7848 {
7849 if (temp4)
7850 delete arg4;
7851 }
7852 return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7859 long arg2 ;
7860 long arg3 ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 PyObject * obj2 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self",(char *) "from",(char *) "to", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7870 {
7871 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 {
7875 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 (arg1)->Remove(arg2,arg3);
7881
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 Py_INCREF(Py_None); resultobj = Py_None;
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7895 wxString *arg2 = 0 ;
7896 bool result;
7897 bool temp2 = False ;
7898 PyObject * obj0 = 0 ;
7899 PyObject * obj1 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self",(char *) "file", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7906 {
7907 arg2 = wxString_in_helper(obj1);
7908 if (arg2 == NULL) SWIG_fail;
7909 temp2 = True;
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7919 {
7920 if (temp2)
7921 delete arg2;
7922 }
7923 return resultobj;
7924 fail:
7925 {
7926 if (temp2)
7927 delete arg2;
7928 }
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7936 wxString const &arg2_defvalue = wxPyEmptyString ;
7937 wxString *arg2 = (wxString *) &arg2_defvalue ;
7938 bool result;
7939 bool temp2 = False ;
7940 PyObject * obj0 = 0 ;
7941 PyObject * obj1 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "file", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7948 if (obj1) {
7949 {
7950 arg2 = wxString_in_helper(obj1);
7951 if (arg2 == NULL) SWIG_fail;
7952 temp2 = True;
7953 }
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7963 {
7964 if (temp2)
7965 delete arg2;
7966 }
7967 return resultobj;
7968 fail:
7969 {
7970 if (temp2)
7971 delete arg2;
7972 }
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 (arg1)->MarkDirty();
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 Py_INCREF(Py_None); resultobj = Py_None;
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8004 PyObject * obj0 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->DiscardEdits();
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 Py_INCREF(Py_None); resultobj = Py_None;
8019 return resultobj;
8020 fail:
8021 return NULL;
8022 }
8023
8024
8025 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8026 PyObject *resultobj;
8027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8028 unsigned long arg2 ;
8029 PyObject * obj0 = 0 ;
8030 PyObject * obj1 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "self",(char *) "len", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8037 {
8038 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 (arg1)->SetMaxLength(arg2);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 Py_INCREF(Py_None); resultobj = Py_None;
8049 return resultobj;
8050 fail:
8051 return NULL;
8052 }
8053
8054
8055 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8058 wxString *arg2 = 0 ;
8059 bool temp2 = False ;
8060 PyObject * obj0 = 0 ;
8061 PyObject * obj1 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "self",(char *) "text", NULL
8064 };
8065
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8068 {
8069 arg2 = wxString_in_helper(obj1);
8070 if (arg2 == NULL) SWIG_fail;
8071 temp2 = True;
8072 }
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 (arg1)->WriteText((wxString const &)*arg2);
8076
8077 wxPyEndAllowThreads(__tstate);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 Py_INCREF(Py_None); resultobj = Py_None;
8081 {
8082 if (temp2)
8083 delete arg2;
8084 }
8085 return resultobj;
8086 fail:
8087 {
8088 if (temp2)
8089 delete arg2;
8090 }
8091 return NULL;
8092 }
8093
8094
8095 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj;
8097 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8098 wxString *arg2 = 0 ;
8099 bool temp2 = False ;
8100 PyObject * obj0 = 0 ;
8101 PyObject * obj1 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "self",(char *) "text", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8108 {
8109 arg2 = wxString_in_helper(obj1);
8110 if (arg2 == NULL) SWIG_fail;
8111 temp2 = True;
8112 }
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 (arg1)->AppendText((wxString const &)*arg2);
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 Py_INCREF(Py_None); resultobj = Py_None;
8121 {
8122 if (temp2)
8123 delete arg2;
8124 }
8125 return resultobj;
8126 fail:
8127 {
8128 if (temp2)
8129 delete arg2;
8130 }
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8138 wxKeyEvent *arg2 = 0 ;
8139 bool result;
8140 PyObject * obj0 = 0 ;
8141 PyObject * obj1 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self",(char *) "event", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8149 if (arg2 == NULL) {
8150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8151 }
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8160 return resultobj;
8161 fail:
8162 return NULL;
8163 }
8164
8165
8166 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj;
8168 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8169 long arg2 ;
8170 long arg3 ;
8171 wxTextAttr *arg4 = 0 ;
8172 bool result;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 PyObject * obj2 = 0 ;
8176 PyObject * obj3 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8183 {
8184 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 {
8188 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8192 if (arg4 == NULL) {
8193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8212 long arg2 ;
8213 wxTextAttr *arg3 = 0 ;
8214 bool result;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "position",(char *) "style", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 {
8225 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8229 if (arg3 == NULL) {
8230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8249 wxTextAttr *arg2 = 0 ;
8250 bool result;
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "self",(char *) "style", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8260 if (arg2 == NULL) {
8261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8280 wxTextAttr *result;
8281 PyObject * obj0 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 {
8291 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8292 result = (wxTextAttr *) &_result_ref;
8293 }
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj;
8307 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8308 long arg2 ;
8309 long arg3 ;
8310 long result;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj1 = 0 ;
8313 PyObject * obj2 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "x",(char *) "y", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8320 {
8321 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 {
8325 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 resultobj = SWIG_PyObj_FromLong((long)result);
8336 return resultobj;
8337 fail:
8338 return NULL;
8339 }
8340
8341
8342 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj;
8344 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8345 long arg2 ;
8346 long *arg3 = (long *) 0 ;
8347 long *arg4 = (long *) 0 ;
8348 long temp3 ;
8349 long temp4 ;
8350 PyObject * obj0 = 0 ;
8351 PyObject * obj1 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self",(char *) "pos", NULL
8354 };
8355
8356 arg3 = &temp3;
8357 arg4 = &temp4;
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 {
8361 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 Py_INCREF(Py_None); resultobj = Py_None;
8372 {
8373 PyObject *o = PyInt_FromLong((long) (*arg3));
8374 resultobj = t_output_helper(resultobj,o);
8375 }
8376 {
8377 PyObject *o = PyInt_FromLong((long) (*arg4));
8378 resultobj = t_output_helper(resultobj,o);
8379 }
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj;
8388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8389 long arg2 ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self",(char *) "pos", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8398 {
8399 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 (arg1)->ShowPosition(arg2);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8419 wxPoint *arg2 = 0 ;
8420 long *arg3 = (long *) 0 ;
8421 long *arg4 = (long *) 0 ;
8422 int result;
8423 wxPoint temp2 ;
8424 long temp3 ;
8425 long temp4 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self",(char *) "pt", NULL
8430 };
8431
8432 arg3 = &temp3;
8433 arg4 = &temp4;
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8436 {
8437 arg2 = &temp2;
8438 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8439 }
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 resultobj = SWIG_PyObj_FromInt((int)result);
8448 {
8449 PyObject *o = PyInt_FromLong((long) (*arg3));
8450 resultobj = t_output_helper(resultobj,o);
8451 }
8452 {
8453 PyObject *o = PyInt_FromLong((long) (*arg4));
8454 resultobj = t_output_helper(resultobj,o);
8455 }
8456 return resultobj;
8457 fail:
8458 return NULL;
8459 }
8460
8461
8462 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj;
8464 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 (arg1)->Copy();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 Py_INCREF(Py_None); resultobj = Py_None;
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8489 PyObject * obj0 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 (arg1)->Cut();
8499
8500 wxPyEndAllowThreads(__tstate);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 Py_INCREF(Py_None); resultobj = Py_None;
8504 return resultobj;
8505 fail:
8506 return NULL;
8507 }
8508
8509
8510 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj;
8512 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8513 PyObject * obj0 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 (arg1)->Paste();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 Py_INCREF(Py_None); resultobj = Py_None;
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8537 bool result;
8538 PyObject * obj0 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8553 return resultobj;
8554 fail:
8555 return NULL;
8556 }
8557
8558
8559 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8560 PyObject *resultobj;
8561 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8562 bool result;
8563 PyObject * obj0 = 0 ;
8564 char *kwnames[] = {
8565 (char *) "self", NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj;
8586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8587 bool result;
8588 PyObject * obj0 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8612 PyObject * obj0 = 0 ;
8613 char *kwnames[] = {
8614 (char *) "self", NULL
8615 };
8616
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 (arg1)->Undo();
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 Py_INCREF(Py_None); resultobj = Py_None;
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj;
8635 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8636 PyObject * obj0 = 0 ;
8637 char *kwnames[] = {
8638 (char *) "self", NULL
8639 };
8640
8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 (arg1)->Redo();
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 Py_INCREF(Py_None); resultobj = Py_None;
8651 return resultobj;
8652 fail:
8653 return NULL;
8654 }
8655
8656
8657 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject *resultobj;
8659 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8660 bool result;
8661 PyObject * obj0 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
8675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8676 return resultobj;
8677 fail:
8678 return NULL;
8679 }
8680
8681
8682 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8683 PyObject *resultobj;
8684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8685 bool result;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "self", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8710 long arg2 ;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self",(char *) "pos", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8719 {
8720 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 (arg1)->SetInsertionPoint(arg2);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 Py_INCREF(Py_None); resultobj = Py_None;
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(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_SetInsertionPointEnd",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)->SetInsertionPointEnd();
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_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8764 long result;
8765 PyObject * obj0 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 resultobj = SWIG_PyObj_FromLong((long)result);
8780 return resultobj;
8781 fail:
8782 return NULL;
8783 }
8784
8785
8786 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8789 long result;
8790 PyObject * obj0 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = SWIG_PyObj_FromLong((long)result);
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8814 long arg2 ;
8815 long arg3 ;
8816 PyObject * obj0 = 0 ;
8817 PyObject * obj1 = 0 ;
8818 PyObject * obj2 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "from",(char *) "to", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8825 {
8826 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 {
8830 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 (arg1)->SetSelection(arg2,arg3);
8836
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 Py_INCREF(Py_None); resultobj = Py_None;
8841 return resultobj;
8842 fail:
8843 return NULL;
8844 }
8845
8846
8847 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj;
8849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8850 PyObject * obj0 = 0 ;
8851 char *kwnames[] = {
8852 (char *) "self", NULL
8853 };
8854
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 (arg1)->SelectAll();
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 Py_INCREF(Py_None); resultobj = Py_None;
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8874 bool arg2 ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "editable", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8883 {
8884 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 (arg1)->SetEditable(arg2);
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 Py_INCREF(Py_None); resultobj = Py_None;
8895 return resultobj;
8896 fail:
8897 return NULL;
8898 }
8899
8900
8901 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8902 PyObject *resultobj;
8903 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8904 wxString *arg2 = 0 ;
8905 bool temp2 = False ;
8906 PyObject * obj0 = 0 ;
8907 PyObject * obj1 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self",(char *) "text", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8914 {
8915 arg2 = wxString_in_helper(obj1);
8916 if (arg2 == NULL) SWIG_fail;
8917 temp2 = True;
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 {
8928 if (temp2)
8929 delete arg2;
8930 }
8931 return resultobj;
8932 fail:
8933 {
8934 if (temp2)
8935 delete arg2;
8936 }
8937 return NULL;
8938 }
8939
8940
8941 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8944 long arg2 ;
8945 long arg3 ;
8946 wxString result;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 PyObject * obj2 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "from",(char *) "to", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
8955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8956 {
8957 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 {
8961 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 {
8972 #if wxUSE_UNICODE
8973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8974 #else
8975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8976 #endif
8977 }
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8985 PyObject *obj;
8986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8987 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8988 Py_INCREF(obj);
8989 return Py_BuildValue((char *)"");
8990 }
8991 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj;
8993 int arg1 ;
8994 wxMouseEvent *arg2 = 0 ;
8995 long arg3 ;
8996 long arg4 ;
8997 wxTextUrlEvent *result;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 PyObject * obj2 = 0 ;
9001 PyObject * obj3 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9007 {
9008 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9012 if (arg2 == NULL) {
9013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9014 }
9015 {
9016 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 {
9020 arg4 = (long) SWIG_PyObj_AsLong(obj3);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9040 wxMouseEvent *result;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 {
9051 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9052 result = (wxMouseEvent *) &_result_ref;
9053 }
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9059 return resultobj;
9060 fail:
9061 return NULL;
9062 }
9063
9064
9065 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9066 PyObject *resultobj;
9067 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9068 long result;
9069 PyObject * obj0 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_PyObj_FromLong((long)result);
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9093 long result;
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = SWIG_PyObj_FromLong((long)result);
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9116 PyObject *obj;
9117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9118 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9119 Py_INCREF(obj);
9120 return Py_BuildValue((char *)"");
9121 }
9122 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9123 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9124 return 1;
9125 }
9126
9127
9128 static PyObject *_wrap_ScrollBarNameStr_get() {
9129 PyObject *pyobj;
9130
9131 {
9132 #if wxUSE_UNICODE
9133 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9134 #else
9135 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9136 #endif
9137 }
9138 return pyobj;
9139 }
9140
9141
9142 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxWindow *arg1 = (wxWindow *) 0 ;
9145 int arg2 = (int) -1 ;
9146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9148 wxSize const &arg4_defvalue = wxDefaultSize ;
9149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9150 long arg5 = (long) wxSB_HORIZONTAL ;
9151 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9152 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9153 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9154 wxString *arg7 = (wxString *) &arg7_defvalue ;
9155 wxScrollBar *result;
9156 wxPoint temp3 ;
9157 wxSize temp4 ;
9158 bool temp7 = False ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
9162 PyObject * obj3 = 0 ;
9163 PyObject * obj4 = 0 ;
9164 PyObject * obj5 = 0 ;
9165 PyObject * obj6 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9172 if (obj1) {
9173 {
9174 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 }
9178 if (obj2) {
9179 {
9180 arg3 = &temp3;
9181 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9182 }
9183 }
9184 if (obj3) {
9185 {
9186 arg4 = &temp4;
9187 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9188 }
9189 }
9190 if (obj4) {
9191 {
9192 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 }
9196 if (obj5) {
9197 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9198 if (arg6 == NULL) {
9199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9200 }
9201 }
9202 if (obj6) {
9203 {
9204 arg7 = wxString_in_helper(obj6);
9205 if (arg7 == NULL) SWIG_fail;
9206 temp7 = True;
9207 }
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9217 {
9218 if (temp7)
9219 delete arg7;
9220 }
9221 return resultobj;
9222 fail:
9223 {
9224 if (temp7)
9225 delete arg7;
9226 }
9227 return NULL;
9228 }
9229
9230
9231 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj;
9233 wxScrollBar *result;
9234 char *kwnames[] = {
9235 NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (wxScrollBar *)new wxScrollBar();
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9247 return resultobj;
9248 fail:
9249 return NULL;
9250 }
9251
9252
9253 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9254 PyObject *resultobj;
9255 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9256 wxWindow *arg2 = (wxWindow *) 0 ;
9257 int arg3 = (int) -1 ;
9258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9260 wxSize const &arg5_defvalue = wxDefaultSize ;
9261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9262 long arg6 = (long) wxSB_HORIZONTAL ;
9263 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9264 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9265 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9266 wxString *arg8 = (wxString *) &arg8_defvalue ;
9267 bool result;
9268 wxPoint temp4 ;
9269 wxSize temp5 ;
9270 bool temp8 = False ;
9271 PyObject * obj0 = 0 ;
9272 PyObject * obj1 = 0 ;
9273 PyObject * obj2 = 0 ;
9274 PyObject * obj3 = 0 ;
9275 PyObject * obj4 = 0 ;
9276 PyObject * obj5 = 0 ;
9277 PyObject * obj6 = 0 ;
9278 PyObject * obj7 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9286 if (obj2) {
9287 {
9288 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 }
9292 if (obj3) {
9293 {
9294 arg4 = &temp4;
9295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9296 }
9297 }
9298 if (obj4) {
9299 {
9300 arg5 = &temp5;
9301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9302 }
9303 }
9304 if (obj5) {
9305 {
9306 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 }
9310 if (obj6) {
9311 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9312 if (arg7 == NULL) {
9313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9314 }
9315 }
9316 if (obj7) {
9317 {
9318 arg8 = wxString_in_helper(obj7);
9319 if (arg8 == NULL) SWIG_fail;
9320 temp8 = True;
9321 }
9322 }
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9331 {
9332 if (temp8)
9333 delete arg8;
9334 }
9335 return resultobj;
9336 fail:
9337 {
9338 if (temp8)
9339 delete arg8;
9340 }
9341 return NULL;
9342 }
9343
9344
9345 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9346 PyObject *resultobj;
9347 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9348 int result;
9349 PyObject * obj0 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_PyObj_FromInt((int)result);
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9373 int result;
9374 PyObject * obj0 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 resultobj = SWIG_PyObj_FromInt((int)result);
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9398 int result;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_PyObj_FromInt((int)result);
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9423 int result;
9424 PyObject * obj0 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (int)((wxScrollBar const *)arg1)->GetRange();
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 resultobj = SWIG_PyObj_FromInt((int)result);
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9448 bool result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9473 int arg2 ;
9474 PyObject * obj0 = 0 ;
9475 PyObject * obj1 = 0 ;
9476 char *kwnames[] = {
9477 (char *) "self",(char *) "viewStart", NULL
9478 };
9479
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9482 {
9483 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 (arg1)->SetThumbPosition(arg2);
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 Py_INCREF(Py_None); resultobj = Py_None;
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9503 int arg2 ;
9504 int arg3 ;
9505 int arg4 ;
9506 int arg5 ;
9507 bool arg6 = (bool) True ;
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
9510 PyObject * obj2 = 0 ;
9511 PyObject * obj3 = 0 ;
9512 PyObject * obj4 = 0 ;
9513 PyObject * obj5 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9520 {
9521 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 {
9525 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 {
9529 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 {
9533 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 if (obj5) {
9537 {
9538 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 }
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 Py_INCREF(Py_None); resultobj = Py_None;
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9557 PyObject *obj;
9558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9559 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9560 Py_INCREF(obj);
9561 return Py_BuildValue((char *)"");
9562 }
9563 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9564 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9565 return 1;
9566 }
9567
9568
9569 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9570 PyObject *pyobj;
9571
9572 {
9573 #if wxUSE_UNICODE
9574 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9575 #else
9576 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9577 #endif
9578 }
9579 return pyobj;
9580 }
9581
9582
9583 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9584 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9585 return 1;
9586 }
9587
9588
9589 static PyObject *_wrap_SpinCtrlNameStr_get() {
9590 PyObject *pyobj;
9591
9592 {
9593 #if wxUSE_UNICODE
9594 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9595 #else
9596 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9597 #endif
9598 }
9599 return pyobj;
9600 }
9601
9602
9603 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9604 PyObject *resultobj;
9605 wxWindow *arg1 = (wxWindow *) 0 ;
9606 int arg2 = (int) -1 ;
9607 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9608 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9609 wxSize const &arg4_defvalue = wxDefaultSize ;
9610 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9611 long arg5 = (long) wxSP_HORIZONTAL ;
9612 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9613 wxString *arg6 = (wxString *) &arg6_defvalue ;
9614 wxSpinButton *result;
9615 wxPoint temp3 ;
9616 wxSize temp4 ;
9617 bool temp6 = False ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 PyObject * obj2 = 0 ;
9621 PyObject * obj3 = 0 ;
9622 PyObject * obj4 = 0 ;
9623 PyObject * obj5 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 if (obj1) {
9631 {
9632 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 }
9636 if (obj2) {
9637 {
9638 arg3 = &temp3;
9639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9640 }
9641 }
9642 if (obj3) {
9643 {
9644 arg4 = &temp4;
9645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9646 }
9647 }
9648 if (obj4) {
9649 {
9650 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 }
9654 if (obj5) {
9655 {
9656 arg6 = wxString_in_helper(obj5);
9657 if (arg6 == NULL) SWIG_fail;
9658 temp6 = True;
9659 }
9660 }
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9669 {
9670 if (temp6)
9671 delete arg6;
9672 }
9673 return resultobj;
9674 fail:
9675 {
9676 if (temp6)
9677 delete arg6;
9678 }
9679 return NULL;
9680 }
9681
9682
9683 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj;
9685 wxSpinButton *result;
9686 char *kwnames[] = {
9687 NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (wxSpinButton *)new wxSpinButton();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9708 wxWindow *arg2 = (wxWindow *) 0 ;
9709 int arg3 = (int) -1 ;
9710 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9711 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9712 wxSize const &arg5_defvalue = wxDefaultSize ;
9713 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9714 long arg6 = (long) wxSP_HORIZONTAL ;
9715 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9716 wxString *arg7 = (wxString *) &arg7_defvalue ;
9717 bool result;
9718 wxPoint temp4 ;
9719 wxSize temp5 ;
9720 bool temp7 = False ;
9721 PyObject * obj0 = 0 ;
9722 PyObject * obj1 = 0 ;
9723 PyObject * obj2 = 0 ;
9724 PyObject * obj3 = 0 ;
9725 PyObject * obj4 = 0 ;
9726 PyObject * obj5 = 0 ;
9727 PyObject * obj6 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9735 if (obj2) {
9736 {
9737 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 }
9741 if (obj3) {
9742 {
9743 arg4 = &temp4;
9744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9745 }
9746 }
9747 if (obj4) {
9748 {
9749 arg5 = &temp5;
9750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9751 }
9752 }
9753 if (obj5) {
9754 {
9755 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 }
9759 if (obj6) {
9760 {
9761 arg7 = wxString_in_helper(obj6);
9762 if (arg7 == NULL) SWIG_fail;
9763 temp7 = True;
9764 }
9765 }
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9774 {
9775 if (temp7)
9776 delete arg7;
9777 }
9778 return resultobj;
9779 fail:
9780 {
9781 if (temp7)
9782 delete arg7;
9783 }
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9791 int result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 result = (int)((wxSpinButton const *)arg1)->GetValue();
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) SWIG_fail;
9805 }
9806 resultobj = SWIG_PyObj_FromInt((int)result);
9807 return resultobj;
9808 fail:
9809 return NULL;
9810 }
9811
9812
9813 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj;
9815 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9816 int result;
9817 PyObject * obj0 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "self", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 result = (int)((wxSpinButton const *)arg1)->GetMin();
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = SWIG_PyObj_FromInt((int)result);
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9841 int result;
9842 PyObject * obj0 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (int)((wxSpinButton const *)arg1)->GetMax();
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 resultobj = SWIG_PyObj_FromInt((int)result);
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9866 int arg2 ;
9867 PyObject * obj0 = 0 ;
9868 PyObject * obj1 = 0 ;
9869 char *kwnames[] = {
9870 (char *) "self",(char *) "val", NULL
9871 };
9872
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9875 {
9876 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 (arg1)->SetValue(arg2);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 Py_INCREF(Py_None); resultobj = Py_None;
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9896 int arg2 ;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj1 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "minVal", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 {
9906 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 (arg1)->SetMin(arg2);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920 }
9921
9922
9923 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9926 int arg2 ;
9927 PyObject * obj0 = 0 ;
9928 PyObject * obj1 = 0 ;
9929 char *kwnames[] = {
9930 (char *) "self",(char *) "maxVal", NULL
9931 };
9932
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9935 {
9936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->SetMax(arg2);
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9956 int arg2 ;
9957 int arg3 ;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 PyObject * obj2 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 {
9968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 {
9972 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->SetRange(arg2,arg3);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 Py_INCREF(Py_None); resultobj = Py_None;
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9992 bool result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10008 return resultobj;
10009 fail:
10010 return NULL;
10011 }
10012
10013
10014 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10015 PyObject *obj;
10016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10017 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10018 Py_INCREF(obj);
10019 return Py_BuildValue((char *)"");
10020 }
10021 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxWindow *arg1 = (wxWindow *) 0 ;
10024 int arg2 = (int) -1 ;
10025 wxString const &arg3_defvalue = wxPyEmptyString ;
10026 wxString *arg3 = (wxString *) &arg3_defvalue ;
10027 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10028 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10029 wxSize const &arg5_defvalue = wxDefaultSize ;
10030 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10031 long arg6 = (long) wxSP_ARROW_KEYS ;
10032 int arg7 = (int) 0 ;
10033 int arg8 = (int) 100 ;
10034 int arg9 = (int) 0 ;
10035 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10036 wxString *arg10 = (wxString *) &arg10_defvalue ;
10037 wxSpinCtrl *result;
10038 bool temp3 = False ;
10039 wxPoint temp4 ;
10040 wxSize temp5 ;
10041 bool temp10 = False ;
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 PyObject * obj2 = 0 ;
10045 PyObject * obj3 = 0 ;
10046 PyObject * obj4 = 0 ;
10047 PyObject * obj5 = 0 ;
10048 PyObject * obj6 = 0 ;
10049 PyObject * obj7 = 0 ;
10050 PyObject * obj8 = 0 ;
10051 PyObject * obj9 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10058 if (obj1) {
10059 {
10060 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 }
10064 if (obj2) {
10065 {
10066 arg3 = wxString_in_helper(obj2);
10067 if (arg3 == NULL) SWIG_fail;
10068 temp3 = True;
10069 }
10070 }
10071 if (obj3) {
10072 {
10073 arg4 = &temp4;
10074 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10075 }
10076 }
10077 if (obj4) {
10078 {
10079 arg5 = &temp5;
10080 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10081 }
10082 }
10083 if (obj5) {
10084 {
10085 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 }
10089 if (obj6) {
10090 {
10091 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10092 if (PyErr_Occurred()) SWIG_fail;
10093 }
10094 }
10095 if (obj7) {
10096 {
10097 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 }
10101 if (obj8) {
10102 {
10103 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 }
10107 if (obj9) {
10108 {
10109 arg10 = wxString_in_helper(obj9);
10110 if (arg10 == NULL) SWIG_fail;
10111 temp10 = True;
10112 }
10113 }
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10122 {
10123 if (temp3)
10124 delete arg3;
10125 }
10126 {
10127 if (temp10)
10128 delete arg10;
10129 }
10130 return resultobj;
10131 fail:
10132 {
10133 if (temp3)
10134 delete arg3;
10135 }
10136 {
10137 if (temp10)
10138 delete arg10;
10139 }
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxSpinCtrl *result;
10147 char *kwnames[] = {
10148 NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (wxSpinCtrl *)new wxSpinCtrl();
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10160 return resultobj;
10161 fail:
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10169 wxWindow *arg2 = (wxWindow *) 0 ;
10170 int arg3 = (int) -1 ;
10171 wxString const &arg4_defvalue = wxPyEmptyString ;
10172 wxString *arg4 = (wxString *) &arg4_defvalue ;
10173 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10174 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10175 wxSize const &arg6_defvalue = wxDefaultSize ;
10176 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10177 long arg7 = (long) wxSP_ARROW_KEYS ;
10178 int arg8 = (int) 0 ;
10179 int arg9 = (int) 100 ;
10180 int arg10 = (int) 0 ;
10181 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10182 wxString *arg11 = (wxString *) &arg11_defvalue ;
10183 bool result;
10184 bool temp4 = False ;
10185 wxPoint temp5 ;
10186 wxSize temp6 ;
10187 bool temp11 = False ;
10188 PyObject * obj0 = 0 ;
10189 PyObject * obj1 = 0 ;
10190 PyObject * obj2 = 0 ;
10191 PyObject * obj3 = 0 ;
10192 PyObject * obj4 = 0 ;
10193 PyObject * obj5 = 0 ;
10194 PyObject * obj6 = 0 ;
10195 PyObject * obj7 = 0 ;
10196 PyObject * obj8 = 0 ;
10197 PyObject * obj9 = 0 ;
10198 PyObject * obj10 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 if (obj2) {
10207 {
10208 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 }
10212 if (obj3) {
10213 {
10214 arg4 = wxString_in_helper(obj3);
10215 if (arg4 == NULL) SWIG_fail;
10216 temp4 = True;
10217 }
10218 }
10219 if (obj4) {
10220 {
10221 arg5 = &temp5;
10222 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10223 }
10224 }
10225 if (obj5) {
10226 {
10227 arg6 = &temp6;
10228 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10229 }
10230 }
10231 if (obj6) {
10232 {
10233 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 }
10237 if (obj7) {
10238 {
10239 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 }
10243 if (obj8) {
10244 {
10245 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 }
10249 if (obj9) {
10250 {
10251 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 }
10255 if (obj10) {
10256 {
10257 arg11 = wxString_in_helper(obj10);
10258 if (arg11 == NULL) SWIG_fail;
10259 temp11 = True;
10260 }
10261 }
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 {
10271 if (temp4)
10272 delete arg4;
10273 }
10274 {
10275 if (temp11)
10276 delete arg11;
10277 }
10278 return resultobj;
10279 fail:
10280 {
10281 if (temp4)
10282 delete arg4;
10283 }
10284 {
10285 if (temp11)
10286 delete arg11;
10287 }
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10295 int result;
10296 PyObject * obj0 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 resultobj = SWIG_PyObj_FromInt((int)result);
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10320 int arg2 ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self",(char *) "value", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10329 {
10330 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 (arg1)->SetValue(arg2);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10350 wxString *arg2 = 0 ;
10351 bool temp2 = False ;
10352 PyObject * obj0 = 0 ;
10353 PyObject * obj1 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self",(char *) "text", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10360 {
10361 arg2 = wxString_in_helper(obj1);
10362 if (arg2 == NULL) SWIG_fail;
10363 temp2 = True;
10364 }
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->SetValue((wxString const &)*arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 {
10374 if (temp2)
10375 delete arg2;
10376 }
10377 return resultobj;
10378 fail:
10379 {
10380 if (temp2)
10381 delete arg2;
10382 }
10383 return NULL;
10384 }
10385
10386
10387 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10390 int arg2 ;
10391 int arg3 ;
10392 PyObject * obj0 = 0 ;
10393 PyObject * obj1 = 0 ;
10394 PyObject * obj2 = 0 ;
10395 char *kwnames[] = {
10396 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10401 {
10402 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 {
10406 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 (arg1)->SetRange(arg2,arg3);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 Py_INCREF(Py_None); resultobj = Py_None;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10426 int result;
10427 PyObject * obj0 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 resultobj = SWIG_PyObj_FromInt((int)result);
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj;
10450 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10451 int result;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 resultobj = SWIG_PyObj_FromInt((int)result);
10467 return resultobj;
10468 fail:
10469 return NULL;
10470 }
10471
10472
10473 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10476 long arg2 ;
10477 long arg3 ;
10478 PyObject * obj0 = 0 ;
10479 PyObject * obj1 = 0 ;
10480 PyObject * obj2 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "self",(char *) "from",(char *) "to", NULL
10483 };
10484
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10487 {
10488 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 {
10492 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->SetSelection(arg2,arg3);
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10510 PyObject *obj;
10511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10512 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10513 Py_INCREF(obj);
10514 return Py_BuildValue((char *)"");
10515 }
10516 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj;
10518 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10519 int arg2 = (int) 0 ;
10520 wxSpinEvent *result;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "commandType",(char *) "winid", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10528 if (obj0) {
10529 {
10530 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 }
10534 if (obj1) {
10535 {
10536 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 }
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10557 int result;
10558 PyObject * obj0 = 0 ;
10559 char *kwnames[] = {
10560 (char *) "self", NULL
10561 };
10562
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 resultobj = SWIG_PyObj_FromInt((int)result);
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10582 int arg2 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self",(char *) "pos", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 {
10592 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->SetPosition(arg2);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 Py_INCREF(Py_None); resultobj = Py_None;
10603 return resultobj;
10604 fail:
10605 return NULL;
10606 }
10607
10608
10609 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10610 PyObject *obj;
10611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10612 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10613 Py_INCREF(obj);
10614 return Py_BuildValue((char *)"");
10615 }
10616 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10617 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10618 return 1;
10619 }
10620
10621
10622 static PyObject *_wrap_RadioBoxNameStr_get() {
10623 PyObject *pyobj;
10624
10625 {
10626 #if wxUSE_UNICODE
10627 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10628 #else
10629 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10630 #endif
10631 }
10632 return pyobj;
10633 }
10634
10635
10636 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10637 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10638 return 1;
10639 }
10640
10641
10642 static PyObject *_wrap_RadioButtonNameStr_get() {
10643 PyObject *pyobj;
10644
10645 {
10646 #if wxUSE_UNICODE
10647 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10648 #else
10649 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10650 #endif
10651 }
10652 return pyobj;
10653 }
10654
10655
10656 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxWindow *arg1 = (wxWindow *) 0 ;
10659 int arg2 ;
10660 wxString *arg3 = 0 ;
10661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10663 wxSize const &arg5_defvalue = wxDefaultSize ;
10664 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10665 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10666 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10667 int arg7 = (int) 0 ;
10668 long arg8 = (long) wxRA_HORIZONTAL ;
10669 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10670 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10671 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10672 wxString *arg10 = (wxString *) &arg10_defvalue ;
10673 wxRadioBox *result;
10674 bool temp3 = False ;
10675 wxPoint temp4 ;
10676 wxSize temp5 ;
10677 bool temp6 = False ;
10678 bool temp10 = False ;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 PyObject * obj2 = 0 ;
10682 PyObject * obj3 = 0 ;
10683 PyObject * obj4 = 0 ;
10684 PyObject * obj5 = 0 ;
10685 PyObject * obj6 = 0 ;
10686 PyObject * obj7 = 0 ;
10687 PyObject * obj8 = 0 ;
10688 PyObject * obj9 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 {
10696 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 {
10700 arg3 = wxString_in_helper(obj2);
10701 if (arg3 == NULL) SWIG_fail;
10702 temp3 = True;
10703 }
10704 if (obj3) {
10705 {
10706 arg4 = &temp4;
10707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10708 }
10709 }
10710 if (obj4) {
10711 {
10712 arg5 = &temp5;
10713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10714 }
10715 }
10716 if (obj5) {
10717 {
10718 if (! PySequence_Check(obj5)) {
10719 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10720 SWIG_fail;
10721 }
10722 arg6 = new wxArrayString;
10723 temp6 = True;
10724 int i, len=PySequence_Length(obj5);
10725 for (i=0; i<len; i++) {
10726 PyObject* item = PySequence_GetItem(obj5, i);
10727 #if wxUSE_UNICODE
10728 PyObject* str = PyObject_Unicode(item);
10729 #else
10730 PyObject* str = PyObject_Str(item);
10731 #endif
10732 arg6->Add(Py2wxString(str));
10733 Py_DECREF(item);
10734 Py_DECREF(str);
10735 }
10736 }
10737 }
10738 if (obj6) {
10739 {
10740 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 }
10744 if (obj7) {
10745 {
10746 arg8 = (long) SWIG_PyObj_AsLong(obj7);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 }
10750 if (obj8) {
10751 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10752 if (arg9 == NULL) {
10753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10754 }
10755 }
10756 if (obj9) {
10757 {
10758 arg10 = wxString_in_helper(obj9);
10759 if (arg10 == NULL) SWIG_fail;
10760 temp10 = True;
10761 }
10762 }
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 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);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10771 {
10772 if (temp3)
10773 delete arg3;
10774 }
10775 {
10776 if (temp6) delete arg6;
10777 }
10778 {
10779 if (temp10)
10780 delete arg10;
10781 }
10782 return resultobj;
10783 fail:
10784 {
10785 if (temp3)
10786 delete arg3;
10787 }
10788 {
10789 if (temp6) delete arg6;
10790 }
10791 {
10792 if (temp10)
10793 delete arg10;
10794 }
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxRadioBox *result;
10802 char *kwnames[] = {
10803 NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (wxRadioBox *)new wxRadioBox();
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10815 return resultobj;
10816 fail:
10817 return NULL;
10818 }
10819
10820
10821 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10822 PyObject *resultobj;
10823 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10824 wxWindow *arg2 = (wxWindow *) 0 ;
10825 int arg3 ;
10826 wxString *arg4 = 0 ;
10827 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10828 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10829 wxSize const &arg6_defvalue = wxDefaultSize ;
10830 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10831 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
10832 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
10833 int arg8 = (int) 0 ;
10834 long arg9 = (long) wxRA_HORIZONTAL ;
10835 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10836 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10837 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10838 wxString *arg11 = (wxString *) &arg11_defvalue ;
10839 bool result;
10840 bool temp4 = False ;
10841 wxPoint temp5 ;
10842 wxSize temp6 ;
10843 bool temp7 = False ;
10844 bool temp11 = False ;
10845 PyObject * obj0 = 0 ;
10846 PyObject * obj1 = 0 ;
10847 PyObject * obj2 = 0 ;
10848 PyObject * obj3 = 0 ;
10849 PyObject * obj4 = 0 ;
10850 PyObject * obj5 = 0 ;
10851 PyObject * obj6 = 0 ;
10852 PyObject * obj7 = 0 ;
10853 PyObject * obj8 = 0 ;
10854 PyObject * obj9 = 0 ;
10855 PyObject * obj10 = 0 ;
10856 char *kwnames[] = {
10857 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10858 };
10859
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10863 {
10864 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868 arg4 = wxString_in_helper(obj3);
10869 if (arg4 == NULL) SWIG_fail;
10870 temp4 = True;
10871 }
10872 if (obj4) {
10873 {
10874 arg5 = &temp5;
10875 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10876 }
10877 }
10878 if (obj5) {
10879 {
10880 arg6 = &temp6;
10881 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10882 }
10883 }
10884 if (obj6) {
10885 {
10886 if (! PySequence_Check(obj6)) {
10887 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10888 SWIG_fail;
10889 }
10890 arg7 = new wxArrayString;
10891 temp7 = True;
10892 int i, len=PySequence_Length(obj6);
10893 for (i=0; i<len; i++) {
10894 PyObject* item = PySequence_GetItem(obj6, i);
10895 #if wxUSE_UNICODE
10896 PyObject* str = PyObject_Unicode(item);
10897 #else
10898 PyObject* str = PyObject_Str(item);
10899 #endif
10900 arg7->Add(Py2wxString(str));
10901 Py_DECREF(item);
10902 Py_DECREF(str);
10903 }
10904 }
10905 }
10906 if (obj7) {
10907 {
10908 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 }
10912 if (obj8) {
10913 {
10914 arg9 = (long) SWIG_PyObj_AsLong(obj8);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 }
10918 if (obj9) {
10919 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10920 if (arg10 == NULL) {
10921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10922 }
10923 }
10924 if (obj10) {
10925 {
10926 arg11 = wxString_in_helper(obj10);
10927 if (arg11 == NULL) SWIG_fail;
10928 temp11 = True;
10929 }
10930 }
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 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);
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10939 {
10940 if (temp4)
10941 delete arg4;
10942 }
10943 {
10944 if (temp7) delete arg7;
10945 }
10946 {
10947 if (temp11)
10948 delete arg11;
10949 }
10950 return resultobj;
10951 fail:
10952 {
10953 if (temp4)
10954 delete arg4;
10955 }
10956 {
10957 if (temp7) delete arg7;
10958 }
10959 {
10960 if (temp11)
10961 delete arg11;
10962 }
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10970 int arg2 ;
10971 PyObject * obj0 = 0 ;
10972 PyObject * obj1 = 0 ;
10973 char *kwnames[] = {
10974 (char *) "self",(char *) "n", NULL
10975 };
10976
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10979 {
10980 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 (arg1)->SetSelection(arg2);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 Py_INCREF(Py_None); resultobj = Py_None;
10991 return resultobj;
10992 fail:
10993 return NULL;
10994 }
10995
10996
10997 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj;
10999 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11000 int result;
11001 PyObject * obj0 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "self", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 resultobj = SWIG_PyObj_FromInt((int)result);
11016 return resultobj;
11017 fail:
11018 return NULL;
11019 }
11020
11021
11022 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11023 PyObject *resultobj;
11024 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11025 wxString result;
11026 PyObject * obj0 = 0 ;
11027 char *kwnames[] = {
11028 (char *) "self", NULL
11029 };
11030
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 {
11041 #if wxUSE_UNICODE
11042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11043 #else
11044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11045 #endif
11046 }
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj;
11055 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11056 wxString *arg2 = 0 ;
11057 bool result;
11058 bool temp2 = False ;
11059 PyObject * obj0 = 0 ;
11060 PyObject * obj1 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self",(char *) "s", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11067 {
11068 arg2 = wxString_in_helper(obj1);
11069 if (arg2 == NULL) SWIG_fail;
11070 temp2 = True;
11071 }
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11080 {
11081 if (temp2)
11082 delete arg2;
11083 }
11084 return resultobj;
11085 fail:
11086 {
11087 if (temp2)
11088 delete arg2;
11089 }
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11097 int result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (int)((wxRadioBox const *)arg1)->GetCount();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_PyObj_FromInt((int)result);
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11122 wxString *arg2 = 0 ;
11123 int result;
11124 bool temp2 = False ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self",(char *) "s", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 arg2 = wxString_in_helper(obj1);
11135 if (arg2 == NULL) SWIG_fail;
11136 temp2 = True;
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 resultobj = SWIG_PyObj_FromInt((int)result);
11146 {
11147 if (temp2)
11148 delete arg2;
11149 }
11150 return resultobj;
11151 fail:
11152 {
11153 if (temp2)
11154 delete arg2;
11155 }
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11163 int arg2 ;
11164 wxString result;
11165 PyObject * obj0 = 0 ;
11166 PyObject * obj1 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self",(char *) "n", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11173 {
11174 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 {
11185 #if wxUSE_UNICODE
11186 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11187 #else
11188 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11189 #endif
11190 }
11191 return resultobj;
11192 fail:
11193 return NULL;
11194 }
11195
11196
11197 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11200 int arg2 ;
11201 wxString *arg3 = 0 ;
11202 bool temp3 = False ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 PyObject * obj2 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self",(char *) "n",(char *) "label", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11212 {
11213 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 {
11217 arg3 = wxString_in_helper(obj2);
11218 if (arg3 == NULL) SWIG_fail;
11219 temp3 = True;
11220 }
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 (arg1)->SetString(arg2,(wxString const &)*arg3);
11224
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 Py_INCREF(Py_None); resultobj = Py_None;
11229 {
11230 if (temp3)
11231 delete arg3;
11232 }
11233 return resultobj;
11234 fail:
11235 {
11236 if (temp3)
11237 delete arg3;
11238 }
11239 return NULL;
11240 }
11241
11242
11243 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11244 PyObject *resultobj;
11245 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11246 int arg2 ;
11247 bool arg3 = (bool) True ;
11248 PyObject * obj0 = 0 ;
11249 PyObject * obj1 = 0 ;
11250 PyObject * obj2 = 0 ;
11251 char *kwnames[] = {
11252 (char *) "self",(char *) "n",(char *) "enable", NULL
11253 };
11254
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11257 {
11258 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 if (obj2) {
11262 {
11263 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 (arg1)->Enable(arg2,arg3);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 Py_INCREF(Py_None); resultobj = Py_None;
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj;
11283 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11284 int arg2 ;
11285 bool arg3 = (bool) True ;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 PyObject * obj2 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "n",(char *) "show", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11295 {
11296 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 if (obj2) {
11300 {
11301 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 }
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 (arg1)->Show(arg2,arg3);
11308
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 Py_INCREF(Py_None); resultobj = Py_None;
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11320 PyObject *resultobj;
11321 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11322 int result;
11323 PyObject * obj0 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11333
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 resultobj = SWIG_PyObj_FromInt((int)result);
11338 return resultobj;
11339 fail:
11340 return NULL;
11341 }
11342
11343
11344 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj;
11346 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11347 int result;
11348 PyObject * obj0 = 0 ;
11349 char *kwnames[] = {
11350 (char *) "self", NULL
11351 };
11352
11353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 resultobj = SWIG_PyObj_FromInt((int)result);
11363 return resultobj;
11364 fail:
11365 return NULL;
11366 }
11367
11368
11369 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11372 int arg2 ;
11373 int arg3 ;
11374 long arg4 ;
11375 int result;
11376 PyObject * obj0 = 0 ;
11377 PyObject * obj1 = 0 ;
11378 PyObject * obj2 = 0 ;
11379 PyObject * obj3 = 0 ;
11380 char *kwnames[] = {
11381 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11382 };
11383
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11386 {
11387 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 {
11395 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 resultobj = SWIG_PyObj_FromInt((int)result);
11406 return resultobj;
11407 fail:
11408 return NULL;
11409 }
11410
11411
11412 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11413 PyObject *obj;
11414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11415 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11416 Py_INCREF(obj);
11417 return Py_BuildValue((char *)"");
11418 }
11419 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxWindow *arg1 = (wxWindow *) 0 ;
11422 int arg2 ;
11423 wxString *arg3 = 0 ;
11424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11426 wxSize const &arg5_defvalue = wxDefaultSize ;
11427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11428 long arg6 = (long) 0 ;
11429 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11430 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11431 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11432 wxString *arg8 = (wxString *) &arg8_defvalue ;
11433 wxRadioButton *result;
11434 bool temp3 = False ;
11435 wxPoint temp4 ;
11436 wxSize temp5 ;
11437 bool temp8 = False ;
11438 PyObject * obj0 = 0 ;
11439 PyObject * obj1 = 0 ;
11440 PyObject * obj2 = 0 ;
11441 PyObject * obj3 = 0 ;
11442 PyObject * obj4 = 0 ;
11443 PyObject * obj5 = 0 ;
11444 PyObject * obj6 = 0 ;
11445 PyObject * obj7 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11452 {
11453 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 {
11457 arg3 = wxString_in_helper(obj2);
11458 if (arg3 == NULL) SWIG_fail;
11459 temp3 = True;
11460 }
11461 if (obj3) {
11462 {
11463 arg4 = &temp4;
11464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11465 }
11466 }
11467 if (obj4) {
11468 {
11469 arg5 = &temp5;
11470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11471 }
11472 }
11473 if (obj5) {
11474 {
11475 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 }
11479 if (obj6) {
11480 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 if (arg7 == NULL) {
11482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11483 }
11484 }
11485 if (obj7) {
11486 {
11487 arg8 = wxString_in_helper(obj7);
11488 if (arg8 == NULL) SWIG_fail;
11489 temp8 = True;
11490 }
11491 }
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11500 {
11501 if (temp3)
11502 delete arg3;
11503 }
11504 {
11505 if (temp8)
11506 delete arg8;
11507 }
11508 return resultobj;
11509 fail:
11510 {
11511 if (temp3)
11512 delete arg3;
11513 }
11514 {
11515 if (temp8)
11516 delete arg8;
11517 }
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxRadioButton *result;
11525 char *kwnames[] = {
11526 NULL
11527 };
11528
11529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (wxRadioButton *)new wxRadioButton();
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11538 return resultobj;
11539 fail:
11540 return NULL;
11541 }
11542
11543
11544 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj;
11546 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11547 wxWindow *arg2 = (wxWindow *) 0 ;
11548 int arg3 ;
11549 wxString *arg4 = 0 ;
11550 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11551 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11552 wxSize const &arg6_defvalue = wxDefaultSize ;
11553 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11554 long arg7 = (long) 0 ;
11555 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11556 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11557 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11558 wxString *arg9 = (wxString *) &arg9_defvalue ;
11559 bool result;
11560 bool temp4 = False ;
11561 wxPoint temp5 ;
11562 wxSize temp6 ;
11563 bool temp9 = False ;
11564 PyObject * obj0 = 0 ;
11565 PyObject * obj1 = 0 ;
11566 PyObject * obj2 = 0 ;
11567 PyObject * obj3 = 0 ;
11568 PyObject * obj4 = 0 ;
11569 PyObject * obj5 = 0 ;
11570 PyObject * obj6 = 0 ;
11571 PyObject * obj7 = 0 ;
11572 PyObject * obj8 = 0 ;
11573 char *kwnames[] = {
11574 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11575 };
11576
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11580 {
11581 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 {
11585 arg4 = wxString_in_helper(obj3);
11586 if (arg4 == NULL) SWIG_fail;
11587 temp4 = True;
11588 }
11589 if (obj4) {
11590 {
11591 arg5 = &temp5;
11592 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11593 }
11594 }
11595 if (obj5) {
11596 {
11597 arg6 = &temp6;
11598 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11599 }
11600 }
11601 if (obj6) {
11602 {
11603 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 }
11607 if (obj7) {
11608 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11609 if (arg8 == NULL) {
11610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11611 }
11612 }
11613 if (obj8) {
11614 {
11615 arg9 = wxString_in_helper(obj8);
11616 if (arg9 == NULL) SWIG_fail;
11617 temp9 = True;
11618 }
11619 }
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11628 {
11629 if (temp4)
11630 delete arg4;
11631 }
11632 {
11633 if (temp9)
11634 delete arg9;
11635 }
11636 return resultobj;
11637 fail:
11638 {
11639 if (temp4)
11640 delete arg4;
11641 }
11642 {
11643 if (temp9)
11644 delete arg9;
11645 }
11646 return NULL;
11647 }
11648
11649
11650 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj;
11652 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11653 bool result;
11654 PyObject * obj0 = 0 ;
11655 char *kwnames[] = {
11656 (char *) "self", NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (bool)(arg1)->GetValue();
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11669 return resultobj;
11670 fail:
11671 return NULL;
11672 }
11673
11674
11675 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11676 PyObject *resultobj;
11677 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11678 bool arg2 ;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 char *kwnames[] = {
11682 (char *) "self",(char *) "value", NULL
11683 };
11684
11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11687 {
11688 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 (arg1)->SetValue(arg2);
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 Py_INCREF(Py_None); resultobj = Py_None;
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11706 PyObject *obj;
11707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11709 Py_INCREF(obj);
11710 return Py_BuildValue((char *)"");
11711 }
11712 static int _wrap_SliderNameStr_set(PyObject *_val) {
11713 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11714 return 1;
11715 }
11716
11717
11718 static PyObject *_wrap_SliderNameStr_get() {
11719 PyObject *pyobj;
11720
11721 {
11722 #if wxUSE_UNICODE
11723 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11724 #else
11725 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11726 #endif
11727 }
11728 return pyobj;
11729 }
11730
11731
11732 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxWindow *arg1 = (wxWindow *) 0 ;
11735 int arg2 ;
11736 int arg3 ;
11737 int arg4 ;
11738 int arg5 ;
11739 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11740 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11741 wxSize const &arg7_defvalue = wxDefaultSize ;
11742 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11743 long arg8 = (long) wxSL_HORIZONTAL ;
11744 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11745 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11746 wxString const &arg10_defvalue = wxPySliderNameStr ;
11747 wxString *arg10 = (wxString *) &arg10_defvalue ;
11748 wxSlider *result;
11749 wxPoint temp6 ;
11750 wxSize temp7 ;
11751 bool temp10 = False ;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 PyObject * obj2 = 0 ;
11755 PyObject * obj3 = 0 ;
11756 PyObject * obj4 = 0 ;
11757 PyObject * obj5 = 0 ;
11758 PyObject * obj6 = 0 ;
11759 PyObject * obj7 = 0 ;
11760 PyObject * obj8 = 0 ;
11761 PyObject * obj9 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11768 {
11769 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 {
11773 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 {
11777 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 {
11781 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 if (obj5) {
11785 {
11786 arg6 = &temp6;
11787 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11788 }
11789 }
11790 if (obj6) {
11791 {
11792 arg7 = &temp7;
11793 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11794 }
11795 }
11796 if (obj7) {
11797 {
11798 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 }
11802 if (obj8) {
11803 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11804 if (arg9 == NULL) {
11805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11806 }
11807 }
11808 if (obj9) {
11809 {
11810 arg10 = wxString_in_helper(obj9);
11811 if (arg10 == NULL) SWIG_fail;
11812 temp10 = True;
11813 }
11814 }
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11818
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11823 {
11824 if (temp10)
11825 delete arg10;
11826 }
11827 return resultobj;
11828 fail:
11829 {
11830 if (temp10)
11831 delete arg10;
11832 }
11833 return NULL;
11834 }
11835
11836
11837 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11838 PyObject *resultobj;
11839 wxSlider *result;
11840 char *kwnames[] = {
11841 NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11845 {
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 result = (wxSlider *)new wxSlider();
11848
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11853 return resultobj;
11854 fail:
11855 return NULL;
11856 }
11857
11858
11859 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11860 PyObject *resultobj;
11861 wxSlider *arg1 = (wxSlider *) 0 ;
11862 wxWindow *arg2 = (wxWindow *) 0 ;
11863 int arg3 ;
11864 int arg4 ;
11865 int arg5 ;
11866 int arg6 ;
11867 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11868 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11869 wxSize const &arg8_defvalue = wxDefaultSize ;
11870 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11871 long arg9 = (long) wxSL_HORIZONTAL ;
11872 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11873 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11874 wxString const &arg11_defvalue = wxPySliderNameStr ;
11875 wxString *arg11 = (wxString *) &arg11_defvalue ;
11876 bool result;
11877 wxPoint temp7 ;
11878 wxSize temp8 ;
11879 bool temp11 = 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 PyObject * obj10 = 0 ;
11891 char *kwnames[] = {
11892 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11893 };
11894
11895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11898 {
11899 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 {
11903 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 {
11907 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 {
11911 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 if (obj6) {
11915 {
11916 arg7 = &temp7;
11917 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11918 }
11919 }
11920 if (obj7) {
11921 {
11922 arg8 = &temp8;
11923 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
11924 }
11925 }
11926 if (obj8) {
11927 {
11928 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 }
11932 if (obj9) {
11933 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 if (arg10 == NULL) {
11935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11936 }
11937 }
11938 if (obj10) {
11939 {
11940 arg11 = wxString_in_helper(obj10);
11941 if (arg11 == NULL) SWIG_fail;
11942 temp11 = True;
11943 }
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11953 {
11954 if (temp11)
11955 delete arg11;
11956 }
11957 return resultobj;
11958 fail:
11959 {
11960 if (temp11)
11961 delete arg11;
11962 }
11963 return NULL;
11964 }
11965
11966
11967 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj;
11969 wxSlider *arg1 = (wxSlider *) 0 ;
11970 int result;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 result = (int)((wxSlider const *)arg1)->GetValue();
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 resultobj = SWIG_PyObj_FromInt((int)result);
11986 return resultobj;
11987 fail:
11988 return NULL;
11989 }
11990
11991
11992 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxSlider *arg1 = (wxSlider *) 0 ;
11995 int arg2 ;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self",(char *) "value", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12004 {
12005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetValue(arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxSlider *arg1 = (wxSlider *) 0 ;
12025 int arg2 ;
12026 int arg3 ;
12027 PyObject * obj0 = 0 ;
12028 PyObject * obj1 = 0 ;
12029 PyObject * obj2 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12036 {
12037 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 {
12041 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 (arg1)->SetRange(arg2,arg3);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 Py_INCREF(Py_None); resultobj = Py_None;
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxSlider *arg1 = (wxSlider *) 0 ;
12061 int result;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 result = (int)((wxSlider const *)arg1)->GetMin();
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 resultobj = SWIG_PyObj_FromInt((int)result);
12077 return resultobj;
12078 fail:
12079 return NULL;
12080 }
12081
12082
12083 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxSlider *arg1 = (wxSlider *) 0 ;
12086 int result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (int)((wxSlider const *)arg1)->GetMax();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = SWIG_PyObj_FromInt((int)result);
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxSlider *arg1 = (wxSlider *) 0 ;
12111 int arg2 ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "minValue", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 {
12121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 (arg1)->SetMin(arg2);
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 Py_INCREF(Py_None); resultobj = Py_None;
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxSlider *arg1 = (wxSlider *) 0 ;
12141 int arg2 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "self",(char *) "maxValue", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12150 {
12151 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->SetMax(arg2);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 Py_INCREF(Py_None); resultobj = Py_None;
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj;
12170 wxSlider *arg1 = (wxSlider *) 0 ;
12171 int arg2 ;
12172 PyObject * obj0 = 0 ;
12173 PyObject * obj1 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self",(char *) "lineSize", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12180 {
12181 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 (arg1)->SetLineSize(arg2);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 Py_INCREF(Py_None); resultobj = Py_None;
12192 return resultobj;
12193 fail:
12194 return NULL;
12195 }
12196
12197
12198 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj;
12200 wxSlider *arg1 = (wxSlider *) 0 ;
12201 int arg2 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "pageSize", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12210 {
12211 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 (arg1)->SetPageSize(arg2);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxSlider *arg1 = (wxSlider *) 0 ;
12231 int result;
12232 PyObject * obj0 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = (int)((wxSlider const *)arg1)->GetLineSize();
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 resultobj = SWIG_PyObj_FromInt((int)result);
12247 return resultobj;
12248 fail:
12249 return NULL;
12250 }
12251
12252
12253 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxSlider *arg1 = (wxSlider *) 0 ;
12256 int result;
12257 PyObject * obj0 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 result = (int)((wxSlider const *)arg1)->GetPageSize();
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
12271 resultobj = SWIG_PyObj_FromInt((int)result);
12272 return resultobj;
12273 fail:
12274 return NULL;
12275 }
12276
12277
12278 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12279 PyObject *resultobj;
12280 wxSlider *arg1 = (wxSlider *) 0 ;
12281 int arg2 ;
12282 PyObject * obj0 = 0 ;
12283 PyObject * obj1 = 0 ;
12284 char *kwnames[] = {
12285 (char *) "self",(char *) "lenPixels", NULL
12286 };
12287
12288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12290 {
12291 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 (arg1)->SetThumbLength(arg2);
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 Py_INCREF(Py_None); resultobj = Py_None;
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxSlider *arg1 = (wxSlider *) 0 ;
12311 int result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = SWIG_PyObj_FromInt((int)result);
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxSlider *arg1 = (wxSlider *) 0 ;
12336 int arg2 ;
12337 int arg3 = (int) 1 ;
12338 PyObject * obj0 = 0 ;
12339 PyObject * obj1 = 0 ;
12340 PyObject * obj2 = 0 ;
12341 char *kwnames[] = {
12342 (char *) "self",(char *) "n",(char *) "pos", NULL
12343 };
12344
12345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12347 {
12348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 if (obj2) {
12352 {
12353 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 }
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 (arg1)->SetTickFreq(arg2,arg3);
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 Py_INCREF(Py_None); resultobj = Py_None;
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxSlider *arg1 = (wxSlider *) 0 ;
12374 int result;
12375 PyObject * obj0 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = SWIG_PyObj_FromInt((int)result);
12390 return resultobj;
12391 fail:
12392 return NULL;
12393 }
12394
12395
12396 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj;
12398 wxSlider *arg1 = (wxSlider *) 0 ;
12399 PyObject * obj0 = 0 ;
12400 char *kwnames[] = {
12401 (char *) "self", NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12406 {
12407 PyThreadState* __tstate = wxPyBeginAllowThreads();
12408 (arg1)->ClearTicks();
12409
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 Py_INCREF(Py_None); resultobj = Py_None;
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxSlider *arg1 = (wxSlider *) 0 ;
12423 int arg2 ;
12424 PyObject * obj0 = 0 ;
12425 PyObject * obj1 = 0 ;
12426 char *kwnames[] = {
12427 (char *) "self",(char *) "tickPos", NULL
12428 };
12429
12430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12432 {
12433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 (arg1)->SetTick(arg2);
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 Py_INCREF(Py_None); resultobj = Py_None;
12444 return resultobj;
12445 fail:
12446 return NULL;
12447 }
12448
12449
12450 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12451 PyObject *resultobj;
12452 wxSlider *arg1 = (wxSlider *) 0 ;
12453 PyObject * obj0 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 (arg1)->ClearSel();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 Py_INCREF(Py_None); resultobj = Py_None;
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj;
12476 wxSlider *arg1 = (wxSlider *) 0 ;
12477 int result;
12478 PyObject * obj0 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_PyObj_FromInt((int)result);
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_Slider_GetSelStart(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_GetSelStart",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)->GetSelStart();
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_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12525 PyObject *resultobj;
12526 wxSlider *arg1 = (wxSlider *) 0 ;
12527 int arg2 ;
12528 int arg3 ;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 PyObject * obj2 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "min",(char *) "max", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12538 {
12539 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 {
12543 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 {
12547 PyThreadState* __tstate = wxPyBeginAllowThreads();
12548 (arg1)->SetSelection(arg2,arg3);
12549
12550 wxPyEndAllowThreads(__tstate);
12551 if (PyErr_Occurred()) SWIG_fail;
12552 }
12553 Py_INCREF(Py_None); resultobj = Py_None;
12554 return resultobj;
12555 fail:
12556 return NULL;
12557 }
12558
12559
12560 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12561 PyObject *obj;
12562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12563 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12564 Py_INCREF(obj);
12565 return Py_BuildValue((char *)"");
12566 }
12567 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12568 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12569 return 1;
12570 }
12571
12572
12573 static PyObject *_wrap_ToggleButtonNameStr_get() {
12574 PyObject *pyobj;
12575
12576 {
12577 #if wxUSE_UNICODE
12578 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12579 #else
12580 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12581 #endif
12582 }
12583 return pyobj;
12584 }
12585
12586
12587 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxWindow *arg1 = (wxWindow *) 0 ;
12590 int arg2 ;
12591 wxString *arg3 = 0 ;
12592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12594 wxSize const &arg5_defvalue = wxDefaultSize ;
12595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12596 long arg6 = (long) 0 ;
12597 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12598 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12599 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12600 wxString *arg8 = (wxString *) &arg8_defvalue ;
12601 wxToggleButton *result;
12602 bool temp3 = False ;
12603 wxPoint temp4 ;
12604 wxSize temp5 ;
12605 bool temp8 = False ;
12606 PyObject * obj0 = 0 ;
12607 PyObject * obj1 = 0 ;
12608 PyObject * obj2 = 0 ;
12609 PyObject * obj3 = 0 ;
12610 PyObject * obj4 = 0 ;
12611 PyObject * obj5 = 0 ;
12612 PyObject * obj6 = 0 ;
12613 PyObject * obj7 = 0 ;
12614 char *kwnames[] = {
12615 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12616 };
12617
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12620 {
12621 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 {
12625 arg3 = wxString_in_helper(obj2);
12626 if (arg3 == NULL) SWIG_fail;
12627 temp3 = True;
12628 }
12629 if (obj3) {
12630 {
12631 arg4 = &temp4;
12632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12633 }
12634 }
12635 if (obj4) {
12636 {
12637 arg5 = &temp5;
12638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12639 }
12640 }
12641 if (obj5) {
12642 {
12643 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 }
12647 if (obj6) {
12648 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12649 if (arg7 == NULL) {
12650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12651 }
12652 }
12653 if (obj7) {
12654 {
12655 arg8 = wxString_in_helper(obj7);
12656 if (arg8 == NULL) SWIG_fail;
12657 temp8 = True;
12658 }
12659 }
12660 {
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12663
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12668 {
12669 if (temp3)
12670 delete arg3;
12671 }
12672 {
12673 if (temp8)
12674 delete arg8;
12675 }
12676 return resultobj;
12677 fail:
12678 {
12679 if (temp3)
12680 delete arg3;
12681 }
12682 {
12683 if (temp8)
12684 delete arg8;
12685 }
12686 return NULL;
12687 }
12688
12689
12690 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj;
12692 wxToggleButton *result;
12693 char *kwnames[] = {
12694 NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = (wxToggleButton *)new wxToggleButton();
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12715 wxWindow *arg2 = (wxWindow *) 0 ;
12716 int arg3 ;
12717 wxString *arg4 = 0 ;
12718 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12719 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12720 wxSize const &arg6_defvalue = wxDefaultSize ;
12721 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12722 long arg7 = (long) 0 ;
12723 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12724 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12725 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12726 wxString *arg9 = (wxString *) &arg9_defvalue ;
12727 bool result;
12728 bool temp4 = False ;
12729 wxPoint temp5 ;
12730 wxSize temp6 ;
12731 bool temp9 = False ;
12732 PyObject * obj0 = 0 ;
12733 PyObject * obj1 = 0 ;
12734 PyObject * obj2 = 0 ;
12735 PyObject * obj3 = 0 ;
12736 PyObject * obj4 = 0 ;
12737 PyObject * obj5 = 0 ;
12738 PyObject * obj6 = 0 ;
12739 PyObject * obj7 = 0 ;
12740 PyObject * obj8 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12748 {
12749 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 {
12753 arg4 = wxString_in_helper(obj3);
12754 if (arg4 == NULL) SWIG_fail;
12755 temp4 = True;
12756 }
12757 if (obj4) {
12758 {
12759 arg5 = &temp5;
12760 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12761 }
12762 }
12763 if (obj5) {
12764 {
12765 arg6 = &temp6;
12766 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12767 }
12768 }
12769 if (obj6) {
12770 {
12771 arg7 = (long) SWIG_PyObj_AsLong(obj6);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 }
12775 if (obj7) {
12776 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12777 if (arg8 == NULL) {
12778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12779 }
12780 }
12781 if (obj8) {
12782 {
12783 arg9 = wxString_in_helper(obj8);
12784 if (arg9 == NULL) SWIG_fail;
12785 temp9 = True;
12786 }
12787 }
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12796 {
12797 if (temp4)
12798 delete arg4;
12799 }
12800 {
12801 if (temp9)
12802 delete arg9;
12803 }
12804 return resultobj;
12805 fail:
12806 {
12807 if (temp4)
12808 delete arg4;
12809 }
12810 {
12811 if (temp9)
12812 delete arg9;
12813 }
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12821 bool arg2 ;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12824 char *kwnames[] = {
12825 (char *) "self",(char *) "value", NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12830 {
12831 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 (arg1)->SetValue(arg2);
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 Py_INCREF(Py_None); resultobj = Py_None;
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12851 bool result;
12852 PyObject * obj0 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (bool)((wxToggleButton const *)arg1)->GetValue();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12876 wxString *arg2 = 0 ;
12877 bool temp2 = False ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "self",(char *) "label", NULL
12882 };
12883
12884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
12885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12886 {
12887 arg2 = wxString_in_helper(obj1);
12888 if (arg2 == NULL) SWIG_fail;
12889 temp2 = True;
12890 }
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 (arg1)->SetLabel((wxString const &)*arg2);
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 Py_INCREF(Py_None); resultobj = Py_None;
12899 {
12900 if (temp2)
12901 delete arg2;
12902 }
12903 return resultobj;
12904 fail:
12905 {
12906 if (temp2)
12907 delete arg2;
12908 }
12909 return NULL;
12910 }
12911
12912
12913 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
12914 PyObject *obj;
12915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12916 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12917 Py_INCREF(obj);
12918 return Py_BuildValue((char *)"");
12919 }
12920 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
12921 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12922 return 1;
12923 }
12924
12925
12926 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12927 PyObject *pyobj;
12928
12929 {
12930 #if wxUSE_UNICODE
12931 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12932 #else
12933 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12934 #endif
12935 }
12936 return pyobj;
12937 }
12938
12939
12940 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12943 size_t result;
12944 PyObject * obj0 = 0 ;
12945 char *kwnames[] = {
12946 (char *) "self", NULL
12947 };
12948
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12968 size_t arg2 ;
12969 wxWindow *result;
12970 PyObject * obj0 = 0 ;
12971 PyObject * obj1 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self",(char *) "n", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12978 {
12979 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (wxWindow *)(arg1)->GetPage(arg2);
12985
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 {
12990 resultobj = wxPyMake_wxObject(result);
12991 }
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13001 int result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_PyObj_FromInt((int)result);
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13026 size_t arg2 ;
13027 wxString *arg3 = 0 ;
13028 bool result;
13029 bool temp3 = False ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 char *kwnames[] = {
13034 (char *) "self",(char *) "n",(char *) "strText", NULL
13035 };
13036
13037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13039 {
13040 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 arg3 = wxString_in_helper(obj2);
13045 if (arg3 == NULL) SWIG_fail;
13046 temp3 = True;
13047 }
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13056 {
13057 if (temp3)
13058 delete arg3;
13059 }
13060 return resultobj;
13061 fail:
13062 {
13063 if (temp3)
13064 delete arg3;
13065 }
13066 return NULL;
13067 }
13068
13069
13070 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13073 size_t arg2 ;
13074 wxString result;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 char *kwnames[] = {
13078 (char *) "self",(char *) "n", NULL
13079 };
13080
13081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13083 {
13084 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 }
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 #if wxUSE_UNICODE
13096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13097 #else
13098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13099 #endif
13100 }
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13110 wxImageList *arg2 = (wxImageList *) 0 ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "imageList", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13120 {
13121 PyThreadState* __tstate = wxPyBeginAllowThreads();
13122 (arg1)->SetImageList(arg2);
13123
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 Py_INCREF(Py_None); resultobj = Py_None;
13128 return resultobj;
13129 fail:
13130 return NULL;
13131 }
13132
13133
13134 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13135 PyObject *resultobj;
13136 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13137 wxImageList *arg2 = (wxImageList *) 0 ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 char *kwnames[] = {
13141 (char *) "self",(char *) "imageList", NULL
13142 };
13143
13144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 (arg1)->AssignImageList(arg2);
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 Py_INCREF(Py_None); resultobj = Py_None;
13155 return resultobj;
13156 fail:
13157 return NULL;
13158 }
13159
13160
13161 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13164 wxImageList *result;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 {
13180 resultobj = wxPyMake_wxObject(result);
13181 }
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13191 size_t arg2 ;
13192 int result;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "n", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 {
13202 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = SWIG_PyObj_FromInt((int)result);
13213 return resultobj;
13214 fail:
13215 return NULL;
13216 }
13217
13218
13219 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13222 size_t arg2 ;
13223 int arg3 ;
13224 bool result;
13225 PyObject * obj0 = 0 ;
13226 PyObject * obj1 = 0 ;
13227 PyObject * obj2 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "n",(char *) "imageId", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13234 {
13235 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 {
13239 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13259 wxSize *arg2 = 0 ;
13260 wxSize temp2 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self",(char *) "size", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13269 {
13270 arg2 = &temp2;
13271 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13272 }
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 (arg1)->SetPageSize((wxSize const &)*arg2);
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 Py_INCREF(Py_None); resultobj = Py_None;
13281 return resultobj;
13282 fail:
13283 return NULL;
13284 }
13285
13286
13287 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13290 wxSize *arg2 = 0 ;
13291 wxSize result;
13292 wxSize temp2 ;
13293 PyObject * obj0 = 0 ;
13294 PyObject * obj1 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self",(char *) "sizePage", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13301 {
13302 arg2 = &temp2;
13303 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13304 }
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 {
13313 wxSize * resultptr;
13314 resultptr = new wxSize((wxSize &) result);
13315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13316 }
13317 return resultobj;
13318 fail:
13319 return NULL;
13320 }
13321
13322
13323 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj;
13325 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13326 size_t arg2 ;
13327 bool result;
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "n", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13336 {
13337 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (bool)(arg1)->DeletePage(arg2);
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj;
13356 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13357 size_t arg2 ;
13358 bool result;
13359 PyObject * obj0 = 0 ;
13360 PyObject * obj1 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self",(char *) "n", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13367 {
13368 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (bool)(arg1)->RemovePage(arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13388 bool result;
13389 PyObject * obj0 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (bool)(arg1)->DeleteAllPages();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13413 wxWindow *arg2 = (wxWindow *) 0 ;
13414 wxString *arg3 = 0 ;
13415 bool arg4 = (bool) False ;
13416 int arg5 = (int) -1 ;
13417 bool result;
13418 bool temp3 = False ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 PyObject * obj2 = 0 ;
13422 PyObject * obj3 = 0 ;
13423 PyObject * obj4 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 {
13432 arg3 = wxString_in_helper(obj2);
13433 if (arg3 == NULL) SWIG_fail;
13434 temp3 = True;
13435 }
13436 if (obj3) {
13437 {
13438 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 }
13442 if (obj4) {
13443 {
13444 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13456 {
13457 if (temp3)
13458 delete arg3;
13459 }
13460 return resultobj;
13461 fail:
13462 {
13463 if (temp3)
13464 delete arg3;
13465 }
13466 return NULL;
13467 }
13468
13469
13470 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13473 size_t arg2 ;
13474 wxWindow *arg3 = (wxWindow *) 0 ;
13475 wxString *arg4 = 0 ;
13476 bool arg5 = (bool) False ;
13477 int arg6 = (int) -1 ;
13478 bool result;
13479 bool temp4 = False ;
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
13482 PyObject * obj2 = 0 ;
13483 PyObject * obj3 = 0 ;
13484 PyObject * obj4 = 0 ;
13485 PyObject * obj5 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13492 {
13493 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13497 {
13498 arg4 = wxString_in_helper(obj3);
13499 if (arg4 == NULL) SWIG_fail;
13500 temp4 = True;
13501 }
13502 if (obj4) {
13503 {
13504 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 }
13508 if (obj5) {
13509 {
13510 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 }
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13517
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13522 {
13523 if (temp4)
13524 delete arg4;
13525 }
13526 return resultobj;
13527 fail:
13528 {
13529 if (temp4)
13530 delete arg4;
13531 }
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13539 size_t arg2 ;
13540 int result;
13541 PyObject * obj0 = 0 ;
13542 PyObject * obj1 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self",(char *) "n", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 {
13550 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 result = (int)(arg1)->SetSelection(arg2);
13556
13557 wxPyEndAllowThreads(__tstate);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 resultobj = SWIG_PyObj_FromInt((int)result);
13561 return resultobj;
13562 fail:
13563 return NULL;
13564 }
13565
13566
13567 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13568 PyObject *resultobj;
13569 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13570 bool arg2 = (bool) True ;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self",(char *) "forward", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13579 if (obj1) {
13580 {
13581 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 }
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->AdvanceSelection(arg2);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 Py_INCREF(Py_None); resultobj = Py_None;
13593 return resultobj;
13594 fail:
13595 return NULL;
13596 }
13597
13598
13599 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13600 PyObject *obj;
13601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13602 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13603 Py_INCREF(obj);
13604 return Py_BuildValue((char *)"");
13605 }
13606 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13609 int arg2 = (int) 0 ;
13610 int arg3 = (int) -1 ;
13611 int arg4 = (int) -1 ;
13612 wxBookCtrlEvent *result;
13613 PyObject * obj0 = 0 ;
13614 PyObject * obj1 = 0 ;
13615 PyObject * obj2 = 0 ;
13616 PyObject * obj3 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13622 if (obj0) {
13623 {
13624 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 }
13628 if (obj1) {
13629 {
13630 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 }
13634 if (obj2) {
13635 {
13636 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 }
13640 if (obj3) {
13641 {
13642 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13663 int result;
13664 PyObject * obj0 = 0 ;
13665 char *kwnames[] = {
13666 (char *) "self", NULL
13667 };
13668
13669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 resultobj = SWIG_PyObj_FromInt((int)result);
13679 return resultobj;
13680 fail:
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13688 int arg2 ;
13689 PyObject * obj0 = 0 ;
13690 PyObject * obj1 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "nSel", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13697 {
13698 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 }
13701 {
13702 PyThreadState* __tstate = wxPyBeginAllowThreads();
13703 (arg1)->SetSelection(arg2);
13704
13705 wxPyEndAllowThreads(__tstate);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 Py_INCREF(Py_None); resultobj = Py_None;
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj;
13717 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13718 int result;
13719 PyObject * obj0 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 resultobj = SWIG_PyObj_FromInt((int)result);
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj;
13742 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13743 int arg2 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "nOldSel", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13752 {
13753 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 (arg1)->SetOldSelection(arg2);
13759
13760 wxPyEndAllowThreads(__tstate);
13761 if (PyErr_Occurred()) SWIG_fail;
13762 }
13763 Py_INCREF(Py_None); resultobj = Py_None;
13764 return resultobj;
13765 fail:
13766 return NULL;
13767 }
13768
13769
13770 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13771 PyObject *obj;
13772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13773 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13774 Py_INCREF(obj);
13775 return Py_BuildValue((char *)"");
13776 }
13777 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxWindow *arg1 = (wxWindow *) 0 ;
13780 int arg2 ;
13781 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13782 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13783 wxSize const &arg4_defvalue = wxDefaultSize ;
13784 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13785 long arg5 = (long) 0 ;
13786 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13787 wxString *arg6 = (wxString *) &arg6_defvalue ;
13788 wxNotebook *result;
13789 wxPoint temp3 ;
13790 wxSize temp4 ;
13791 bool temp6 = False ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 PyObject * obj2 = 0 ;
13795 PyObject * obj3 = 0 ;
13796 PyObject * obj4 = 0 ;
13797 PyObject * obj5 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13804 {
13805 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 if (obj2) {
13809 {
13810 arg3 = &temp3;
13811 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13812 }
13813 }
13814 if (obj3) {
13815 {
13816 arg4 = &temp4;
13817 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13818 }
13819 }
13820 if (obj4) {
13821 {
13822 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 }
13826 if (obj5) {
13827 {
13828 arg6 = wxString_in_helper(obj5);
13829 if (arg6 == NULL) SWIG_fail;
13830 temp6 = True;
13831 }
13832 }
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 {
13841 resultobj = wxPyMake_wxObject(result);
13842 }
13843 {
13844 if (temp6)
13845 delete arg6;
13846 }
13847 return resultobj;
13848 fail:
13849 {
13850 if (temp6)
13851 delete arg6;
13852 }
13853 return NULL;
13854 }
13855
13856
13857 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxNotebook *result;
13860 char *kwnames[] = {
13861 NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = (wxNotebook *)new wxNotebook();
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 {
13873 resultobj = wxPyMake_wxObject(result);
13874 }
13875 return resultobj;
13876 fail:
13877 return NULL;
13878 }
13879
13880
13881 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj;
13883 wxNotebook *arg1 = (wxNotebook *) 0 ;
13884 wxWindow *arg2 = (wxWindow *) 0 ;
13885 int arg3 ;
13886 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13887 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13888 wxSize const &arg5_defvalue = wxDefaultSize ;
13889 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13890 long arg6 = (long) 0 ;
13891 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13892 wxString *arg7 = (wxString *) &arg7_defvalue ;
13893 bool result;
13894 wxPoint temp4 ;
13895 wxSize temp5 ;
13896 bool temp7 = False ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 PyObject * obj2 = 0 ;
13900 PyObject * obj3 = 0 ;
13901 PyObject * obj4 = 0 ;
13902 PyObject * obj5 = 0 ;
13903 PyObject * obj6 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13911 {
13912 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 if (obj3) {
13916 {
13917 arg4 = &temp4;
13918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13919 }
13920 }
13921 if (obj4) {
13922 {
13923 arg5 = &temp5;
13924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13925 }
13926 }
13927 if (obj5) {
13928 {
13929 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 }
13933 if (obj6) {
13934 {
13935 arg7 = wxString_in_helper(obj6);
13936 if (arg7 == NULL) SWIG_fail;
13937 temp7 = True;
13938 }
13939 }
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13948 {
13949 if (temp7)
13950 delete arg7;
13951 }
13952 return resultobj;
13953 fail:
13954 {
13955 if (temp7)
13956 delete arg7;
13957 }
13958 return NULL;
13959 }
13960
13961
13962 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13963 PyObject *resultobj;
13964 wxNotebook *arg1 = (wxNotebook *) 0 ;
13965 int result;
13966 PyObject * obj0 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 resultobj = SWIG_PyObj_FromInt((int)result);
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxNotebook *arg1 = (wxNotebook *) 0 ;
13990 wxSize *arg2 = 0 ;
13991 wxSize temp2 ;
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "padding", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14000 {
14001 arg2 = &temp2;
14002 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->SetPadding((wxSize const &)*arg2);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 return resultobj;
14013 fail:
14014 return NULL;
14015 }
14016
14017
14018 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxNotebook *arg1 = (wxNotebook *) 0 ;
14021 wxSize *arg2 = 0 ;
14022 wxSize temp2 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "sz", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14031 {
14032 arg2 = &temp2;
14033 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14034 }
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 (arg1)->SetTabSize((wxSize const &)*arg2);
14038
14039 wxPyEndAllowThreads(__tstate);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 }
14042 Py_INCREF(Py_None); resultobj = Py_None;
14043 return resultobj;
14044 fail:
14045 return NULL;
14046 }
14047
14048
14049 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxNotebook *arg1 = (wxNotebook *) 0 ;
14052 wxPoint *arg2 = 0 ;
14053 long *arg3 = (long *) 0 ;
14054 int result;
14055 wxPoint temp2 ;
14056 long temp3 ;
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "pt", NULL
14061 };
14062
14063 arg3 = &temp3;
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 {
14067 arg2 = &temp2;
14068 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14069 }
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14073
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 resultobj = SWIG_PyObj_FromInt((int)result);
14078 {
14079 PyObject *o = PyInt_FromLong((long) (*arg3));
14080 resultobj = t_output_helper(resultobj,o);
14081 }
14082 return resultobj;
14083 fail:
14084 return NULL;
14085 }
14086
14087
14088 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj;
14090 wxNotebook *arg1 = (wxNotebook *) 0 ;
14091 wxSize *arg2 = 0 ;
14092 wxSize result;
14093 wxSize temp2 ;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "sizePage", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14102 {
14103 arg2 = &temp2;
14104 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14105 }
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14109
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 {
14114 wxSize * resultptr;
14115 resultptr = new wxSize((wxSize &) result);
14116 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14117 }
14118 return resultobj;
14119 fail:
14120 return NULL;
14121 }
14122
14123
14124 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14125 PyObject *obj;
14126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14127 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14128 Py_INCREF(obj);
14129 return Py_BuildValue((char *)"");
14130 }
14131 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj;
14133 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14134 int arg2 = (int) 0 ;
14135 int arg3 = (int) -1 ;
14136 int arg4 = (int) -1 ;
14137 wxNotebookEvent *result;
14138 PyObject * obj0 = 0 ;
14139 PyObject * obj1 = 0 ;
14140 PyObject * obj2 = 0 ;
14141 PyObject * obj3 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14147 if (obj0) {
14148 {
14149 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 }
14153 if (obj1) {
14154 {
14155 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 }
14159 if (obj2) {
14160 {
14161 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 }
14165 if (obj3) {
14166 {
14167 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
14179 return resultobj;
14180 fail:
14181 return NULL;
14182 }
14183
14184
14185 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14186 PyObject *obj;
14187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14188 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14189 Py_INCREF(obj);
14190 return Py_BuildValue((char *)"");
14191 }
14192 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14193 PyObject *resultobj;
14194 wxWindow *arg1 = (wxWindow *) 0 ;
14195 int arg2 ;
14196 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14197 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14198 wxSize const &arg4_defvalue = wxDefaultSize ;
14199 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14200 long arg5 = (long) 0 ;
14201 wxString const &arg6_defvalue = wxPyEmptyString ;
14202 wxString *arg6 = (wxString *) &arg6_defvalue ;
14203 wxListbook *result;
14204 wxPoint temp3 ;
14205 wxSize temp4 ;
14206 bool temp6 = False ;
14207 PyObject * obj0 = 0 ;
14208 PyObject * obj1 = 0 ;
14209 PyObject * obj2 = 0 ;
14210 PyObject * obj3 = 0 ;
14211 PyObject * obj4 = 0 ;
14212 PyObject * obj5 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14219 {
14220 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 if (obj2) {
14224 {
14225 arg3 = &temp3;
14226 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14227 }
14228 }
14229 if (obj3) {
14230 {
14231 arg4 = &temp4;
14232 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14233 }
14234 }
14235 if (obj4) {
14236 {
14237 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 }
14241 if (obj5) {
14242 {
14243 arg6 = wxString_in_helper(obj5);
14244 if (arg6 == NULL) SWIG_fail;
14245 temp6 = True;
14246 }
14247 }
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14256 {
14257 if (temp6)
14258 delete arg6;
14259 }
14260 return resultobj;
14261 fail:
14262 {
14263 if (temp6)
14264 delete arg6;
14265 }
14266 return NULL;
14267 }
14268
14269
14270 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14271 PyObject *resultobj;
14272 wxListbook *result;
14273 char *kwnames[] = {
14274 NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 result = (wxListbook *)new wxListbook();
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
14285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14286 return resultobj;
14287 fail:
14288 return NULL;
14289 }
14290
14291
14292 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14293 PyObject *resultobj;
14294 wxListbook *arg1 = (wxListbook *) 0 ;
14295 wxWindow *arg2 = (wxWindow *) 0 ;
14296 int arg3 ;
14297 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14298 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14299 wxSize const &arg5_defvalue = wxDefaultSize ;
14300 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14301 long arg6 = (long) 0 ;
14302 wxString const &arg7_defvalue = wxPyEmptyString ;
14303 wxString *arg7 = (wxString *) &arg7_defvalue ;
14304 bool result;
14305 wxPoint temp4 ;
14306 wxSize temp5 ;
14307 bool temp7 = False ;
14308 PyObject * obj0 = 0 ;
14309 PyObject * obj1 = 0 ;
14310 PyObject * obj2 = 0 ;
14311 PyObject * obj3 = 0 ;
14312 PyObject * obj4 = 0 ;
14313 PyObject * obj5 = 0 ;
14314 PyObject * obj6 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14322 {
14323 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 if (obj3) {
14327 {
14328 arg4 = &temp4;
14329 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14330 }
14331 }
14332 if (obj4) {
14333 {
14334 arg5 = &temp5;
14335 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14336 }
14337 }
14338 if (obj5) {
14339 {
14340 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 }
14344 if (obj6) {
14345 {
14346 arg7 = wxString_in_helper(obj6);
14347 if (arg7 == NULL) SWIG_fail;
14348 temp7 = True;
14349 }
14350 }
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14359 {
14360 if (temp7)
14361 delete arg7;
14362 }
14363 return resultobj;
14364 fail:
14365 {
14366 if (temp7)
14367 delete arg7;
14368 }
14369 return NULL;
14370 }
14371
14372
14373 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxListbook *arg1 = (wxListbook *) 0 ;
14376 bool result;
14377 PyObject * obj0 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = (bool)((wxListbook const *)arg1)->IsVertical();
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14399 PyObject *obj;
14400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14401 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14402 Py_INCREF(obj);
14403 return Py_BuildValue((char *)"");
14404 }
14405 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj;
14407 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14408 int arg2 = (int) 0 ;
14409 int arg3 = (int) -1 ;
14410 int arg4 = (int) -1 ;
14411 wxListbookEvent *result;
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 PyObject * obj2 = 0 ;
14415 PyObject * obj3 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14421 if (obj0) {
14422 {
14423 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 }
14427 if (obj1) {
14428 {
14429 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 }
14433 if (obj2) {
14434 {
14435 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 }
14439 if (obj3) {
14440 {
14441 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 }
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14460 PyObject *obj;
14461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14462 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14463 Py_INCREF(obj);
14464 return Py_BuildValue((char *)"");
14465 }
14466 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14469 wxBookCtrlSizer *result;
14470 PyObject * obj0 = 0 ;
14471 char *kwnames[] = {
14472 (char *) "nb", NULL
14473 };
14474
14475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj;
14493 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 (arg1)->RecalcSizes();
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 Py_INCREF(Py_None); resultobj = Py_None;
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj;
14517 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14518 wxSize result;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 result = (arg1)->CalcMin();
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 {
14534 wxSize * resultptr;
14535 resultptr = new wxSize((wxSize &) result);
14536 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14537 }
14538 return resultobj;
14539 fail:
14540 return NULL;
14541 }
14542
14543
14544 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14545 PyObject *resultobj;
14546 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14547 wxBookCtrl *result;
14548 PyObject * obj0 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (wxBookCtrl *)(arg1)->GetControl();
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14570 PyObject *obj;
14571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14572 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14573 Py_INCREF(obj);
14574 return Py_BuildValue((char *)"");
14575 }
14576 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxNotebook *arg1 = (wxNotebook *) 0 ;
14579 wxNotebookSizer *result;
14580 PyObject * obj0 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "nb", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 (arg1)->RecalcSizes();
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 Py_INCREF(Py_None); resultobj = Py_None;
14619 return resultobj;
14620 fail:
14621 return NULL;
14622 }
14623
14624
14625 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14628 wxSize result;
14629 PyObject * obj0 = 0 ;
14630 char *kwnames[] = {
14631 (char *) "self", NULL
14632 };
14633
14634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 result = (arg1)->CalcMin();
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 {
14644 wxSize * resultptr;
14645 resultptr = new wxSize((wxSize &) result);
14646 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14647 }
14648 return resultobj;
14649 fail:
14650 return NULL;
14651 }
14652
14653
14654 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14657 wxNotebook *result;
14658 PyObject * obj0 = 0 ;
14659 char *kwnames[] = {
14660 (char *) "self", NULL
14661 };
14662
14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 result = (wxNotebook *)(arg1)->GetNotebook();
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 {
14673 resultobj = wxPyMake_wxObject(result);
14674 }
14675 return resultobj;
14676 fail:
14677 return NULL;
14678 }
14679
14680
14681 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14682 PyObject *obj;
14683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14684 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14685 Py_INCREF(obj);
14686 return Py_BuildValue((char *)"");
14687 }
14688 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj;
14690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14691 int result;
14692 PyObject * obj0 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (int)(arg1)->GetId();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_PyObj_FromInt((int)result);
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14716 wxControl *result;
14717 PyObject * obj0 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "self", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (wxControl *)(arg1)->GetControl();
14727
14728 wxPyEndAllowThreads(__tstate);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 {
14732 resultobj = wxPyMake_wxObject(result);
14733 }
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14743 wxToolBarBase *result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = (wxToolBarBase *)(arg1)->GetToolBar();
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 {
14759 resultobj = wxPyMake_wxObject(result);
14760 }
14761 return resultobj;
14762 fail:
14763 return NULL;
14764 }
14765
14766
14767 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14770 int result;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (int)(arg1)->IsButton();
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 resultobj = SWIG_PyObj_FromInt((int)result);
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14795 int result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (int)(arg1)->IsControl();
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_PyObj_FromInt((int)result);
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14820 int result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (int)(arg1)->IsSeparator();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_PyObj_FromInt((int)result);
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14845 int result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (int)(arg1)->GetStyle();
14856
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 resultobj = SWIG_PyObj_FromInt((int)result);
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14870 int result;
14871 PyObject * obj0 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 result = (int)(arg1)->GetKind();
14881
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 resultobj = SWIG_PyObj_FromInt((int)result);
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14895 bool result;
14896 PyObject * obj0 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (bool)(arg1)->IsEnabled();
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14920 bool result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (bool)(arg1)->IsToggled();
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14936 return resultobj;
14937 fail:
14938 return NULL;
14939 }
14940
14941
14942 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj;
14944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14945 bool result;
14946 PyObject * obj0 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14953 {
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 result = (bool)(arg1)->CanBeToggled();
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14961 return resultobj;
14962 fail:
14963 return NULL;
14964 }
14965
14966
14967 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj;
14969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14970 wxBitmap *result;
14971 PyObject * obj0 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "self", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 {
14981 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14982 result = (wxBitmap *) &_result_ref;
14983 }
14984
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14989 return resultobj;
14990 fail:
14991 return NULL;
14992 }
14993
14994
14995 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj;
14997 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14998 wxBitmap *result;
14999 PyObject * obj0 = 0 ;
15000 char *kwnames[] = {
15001 (char *) "self", NULL
15002 };
15003
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",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 {
15009 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15010 result = (wxBitmap *) &_result_ref;
15011 }
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15026 wxBitmap result;
15027 PyObject * obj0 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15034 {
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = (arg1)->GetBitmap();
15037
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 {
15042 wxBitmap * resultptr;
15043 resultptr = new wxBitmap((wxBitmap &) result);
15044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
15045 }
15046 return resultobj;
15047 fail:
15048 return NULL;
15049 }
15050
15051
15052 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15055 wxString result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (arg1)->GetLabel();
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 {
15071 #if wxUSE_UNICODE
15072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15073 #else
15074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15075 #endif
15076 }
15077 return resultobj;
15078 fail:
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15086 wxString result;
15087 PyObject * obj0 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 result = (arg1)->GetShortHelp();
15097
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 {
15102 #if wxUSE_UNICODE
15103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15104 #else
15105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15106 #endif
15107 }
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15117 wxString result;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (arg1)->GetLongHelp();
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 {
15133 #if wxUSE_UNICODE
15134 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15135 #else
15136 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15137 #endif
15138 }
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj;
15147 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15148 bool arg2 ;
15149 bool result;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self",(char *) "enable", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15158 {
15159 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (bool)(arg1)->Enable(arg2);
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15179 PyObject * obj0 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 (arg1)->Toggle();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 Py_INCREF(Py_None); resultobj = Py_None;
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15203 bool arg2 ;
15204 bool result;
15205 PyObject * obj0 = 0 ;
15206 PyObject * obj1 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self",(char *) "toggle", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15213 {
15214 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 result = (bool)(arg1)->SetToggle(arg2);
15220
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj;
15233 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15234 wxString *arg2 = 0 ;
15235 bool result;
15236 bool temp2 = False ;
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self",(char *) "help", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15245 {
15246 arg2 = wxString_in_helper(obj1);
15247 if (arg2 == NULL) SWIG_fail;
15248 temp2 = True;
15249 }
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15258 {
15259 if (temp2)
15260 delete arg2;
15261 }
15262 return resultobj;
15263 fail:
15264 {
15265 if (temp2)
15266 delete arg2;
15267 }
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15275 wxString *arg2 = 0 ;
15276 bool result;
15277 bool temp2 = False ;
15278 PyObject * obj0 = 0 ;
15279 PyObject * obj1 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self",(char *) "help", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",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 = wxString_in_helper(obj1);
15288 if (arg2 == NULL) SWIG_fail;
15289 temp2 = True;
15290 }
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15299 {
15300 if (temp2)
15301 delete arg2;
15302 }
15303 return resultobj;
15304 fail:
15305 {
15306 if (temp2)
15307 delete arg2;
15308 }
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15316 wxBitmap *arg2 = 0 ;
15317 PyObject * obj0 = 0 ;
15318 PyObject * obj1 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self",(char *) "bmp", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15326 if (arg2 == NULL) {
15327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15328 }
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 return resultobj;
15338 fail:
15339 return NULL;
15340 }
15341
15342
15343 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj;
15345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15346 wxBitmap *arg2 = 0 ;
15347 PyObject * obj0 = 0 ;
15348 PyObject * obj1 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self",(char *) "bmp", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15356 if (arg2 == NULL) {
15357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15358 }
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15362
15363 wxPyEndAllowThreads(__tstate);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 Py_INCREF(Py_None); resultobj = Py_None;
15367 return resultobj;
15368 fail:
15369 return NULL;
15370 }
15371
15372
15373 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15374 PyObject *resultobj;
15375 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15376 wxString *arg2 = 0 ;
15377 bool temp2 = False ;
15378 PyObject * obj0 = 0 ;
15379 PyObject * obj1 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self",(char *) "label", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15386 {
15387 arg2 = wxString_in_helper(obj1);
15388 if (arg2 == NULL) SWIG_fail;
15389 temp2 = True;
15390 }
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 (arg1)->SetLabel((wxString const &)*arg2);
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 Py_INCREF(Py_None); resultobj = Py_None;
15399 {
15400 if (temp2)
15401 delete arg2;
15402 }
15403 return resultobj;
15404 fail:
15405 {
15406 if (temp2)
15407 delete arg2;
15408 }
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 (arg1)->Detach();
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 Py_INCREF(Py_None); resultobj = Py_None;
15431 return resultobj;
15432 fail:
15433 return NULL;
15434 }
15435
15436
15437 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15438 PyObject *resultobj;
15439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15440 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15441 PyObject * obj0 = 0 ;
15442 PyObject * obj1 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self",(char *) "tbar", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 (arg1)->Attach(arg2);
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 Py_INCREF(Py_None); resultobj = Py_None;
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15467 PyObject *result;
15468 PyObject * obj0 = 0 ;
15469 char *kwnames[] = {
15470 (char *) "self", NULL
15471 };
15472
15473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = result;
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15492 PyObject *arg2 = (PyObject *) 0 ;
15493 PyObject * obj0 = 0 ;
15494 PyObject * obj1 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self",(char *) "clientData", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15501 arg2 = obj1;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 wxToolBarToolBase_SetClientData(arg1,arg2);
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 return resultobj;
15511 fail:
15512 return NULL;
15513 }
15514
15515
15516 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15517 PyObject *obj;
15518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15519 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15520 Py_INCREF(obj);
15521 return Py_BuildValue((char *)"");
15522 }
15523 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15526 int arg2 ;
15527 wxString *arg3 = 0 ;
15528 wxBitmap *arg4 = 0 ;
15529 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15530 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15531 int arg6 = (int) wxITEM_NORMAL ;
15532 wxString const &arg7_defvalue = wxPyEmptyString ;
15533 wxString *arg7 = (wxString *) &arg7_defvalue ;
15534 wxString const &arg8_defvalue = wxPyEmptyString ;
15535 wxString *arg8 = (wxString *) &arg8_defvalue ;
15536 PyObject *arg9 = (PyObject *) NULL ;
15537 wxToolBarToolBase *result;
15538 bool temp3 = False ;
15539 bool temp7 = False ;
15540 bool temp8 = False ;
15541 PyObject * obj0 = 0 ;
15542 PyObject * obj1 = 0 ;
15543 PyObject * obj2 = 0 ;
15544 PyObject * obj3 = 0 ;
15545 PyObject * obj4 = 0 ;
15546 PyObject * obj5 = 0 ;
15547 PyObject * obj6 = 0 ;
15548 PyObject * obj7 = 0 ;
15549 PyObject * obj8 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15558 if (PyErr_Occurred()) SWIG_fail;
15559 }
15560 {
15561 arg3 = wxString_in_helper(obj2);
15562 if (arg3 == NULL) SWIG_fail;
15563 temp3 = True;
15564 }
15565 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15566 if (arg4 == NULL) {
15567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15568 }
15569 if (obj4) {
15570 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15571 if (arg5 == NULL) {
15572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15573 }
15574 }
15575 if (obj5) {
15576 {
15577 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 }
15581 if (obj6) {
15582 {
15583 arg7 = wxString_in_helper(obj6);
15584 if (arg7 == NULL) SWIG_fail;
15585 temp7 = True;
15586 }
15587 }
15588 if (obj7) {
15589 {
15590 arg8 = wxString_in_helper(obj7);
15591 if (arg8 == NULL) SWIG_fail;
15592 temp8 = True;
15593 }
15594 }
15595 if (obj8) {
15596 arg9 = obj8;
15597 }
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 {
15606 resultobj = wxPyMake_wxObject(result);
15607 }
15608 {
15609 if (temp3)
15610 delete arg3;
15611 }
15612 {
15613 if (temp7)
15614 delete arg7;
15615 }
15616 {
15617 if (temp8)
15618 delete arg8;
15619 }
15620 return resultobj;
15621 fail:
15622 {
15623 if (temp3)
15624 delete arg3;
15625 }
15626 {
15627 if (temp7)
15628 delete arg7;
15629 }
15630 {
15631 if (temp8)
15632 delete arg8;
15633 }
15634 return NULL;
15635 }
15636
15637
15638 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15639 PyObject *resultobj;
15640 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15641 size_t arg2 ;
15642 int arg3 ;
15643 wxString *arg4 = 0 ;
15644 wxBitmap *arg5 = 0 ;
15645 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15646 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15647 int arg7 = (int) wxITEM_NORMAL ;
15648 wxString const &arg8_defvalue = wxPyEmptyString ;
15649 wxString *arg8 = (wxString *) &arg8_defvalue ;
15650 wxString const &arg9_defvalue = wxPyEmptyString ;
15651 wxString *arg9 = (wxString *) &arg9_defvalue ;
15652 PyObject *arg10 = (PyObject *) NULL ;
15653 wxToolBarToolBase *result;
15654 bool temp4 = False ;
15655 bool temp8 = False ;
15656 bool temp9 = False ;
15657 PyObject * obj0 = 0 ;
15658 PyObject * obj1 = 0 ;
15659 PyObject * obj2 = 0 ;
15660 PyObject * obj3 = 0 ;
15661 PyObject * obj4 = 0 ;
15662 PyObject * obj5 = 0 ;
15663 PyObject * obj6 = 0 ;
15664 PyObject * obj7 = 0 ;
15665 PyObject * obj8 = 0 ;
15666 PyObject * obj9 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 {
15674 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 {
15678 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 {
15682 arg4 = wxString_in_helper(obj3);
15683 if (arg4 == NULL) SWIG_fail;
15684 temp4 = True;
15685 }
15686 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15687 if (arg5 == NULL) {
15688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15689 }
15690 if (obj5) {
15691 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15692 if (arg6 == NULL) {
15693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15694 }
15695 }
15696 if (obj6) {
15697 {
15698 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 }
15702 if (obj7) {
15703 {
15704 arg8 = wxString_in_helper(obj7);
15705 if (arg8 == NULL) SWIG_fail;
15706 temp8 = True;
15707 }
15708 }
15709 if (obj8) {
15710 {
15711 arg9 = wxString_in_helper(obj8);
15712 if (arg9 == NULL) SWIG_fail;
15713 temp9 = True;
15714 }
15715 }
15716 if (obj9) {
15717 arg10 = obj9;
15718 }
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 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);
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 {
15727 resultobj = wxPyMake_wxObject(result);
15728 }
15729 {
15730 if (temp4)
15731 delete arg4;
15732 }
15733 {
15734 if (temp8)
15735 delete arg8;
15736 }
15737 {
15738 if (temp9)
15739 delete arg9;
15740 }
15741 return resultobj;
15742 fail:
15743 {
15744 if (temp4)
15745 delete arg4;
15746 }
15747 {
15748 if (temp8)
15749 delete arg8;
15750 }
15751 {
15752 if (temp9)
15753 delete arg9;
15754 }
15755 return NULL;
15756 }
15757
15758
15759 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj;
15761 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15762 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15763 wxToolBarToolBase *result;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "tool", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 {
15781 resultobj = wxPyMake_wxObject(result);
15782 }
15783 return resultobj;
15784 fail:
15785 return NULL;
15786 }
15787
15788
15789 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15790 PyObject *resultobj;
15791 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15792 size_t arg2 ;
15793 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15794 wxToolBarToolBase *result;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 PyObject * obj2 = 0 ;
15798 char *kwnames[] = {
15799 (char *) "self",(char *) "pos",(char *) "tool", NULL
15800 };
15801
15802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15804 {
15805 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 resultobj = wxPyMake_wxObject(result);
15818 }
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15828 wxControl *arg2 = (wxControl *) 0 ;
15829 wxToolBarToolBase *result;
15830 PyObject * obj0 = 0 ;
15831 PyObject * obj1 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self",(char *) "control", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 resultobj = wxPyMake_wxObject(result);
15848 }
15849 return resultobj;
15850 fail:
15851 return NULL;
15852 }
15853
15854
15855 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj;
15857 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15858 size_t arg2 ;
15859 wxControl *arg3 = (wxControl *) 0 ;
15860 wxToolBarToolBase *result;
15861 PyObject * obj0 = 0 ;
15862 PyObject * obj1 = 0 ;
15863 PyObject * obj2 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "self",(char *) "pos",(char *) "control", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15870 {
15871 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 {
15883 resultobj = wxPyMake_wxObject(result);
15884 }
15885 return resultobj;
15886 fail:
15887 return NULL;
15888 }
15889
15890
15891 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15894 int arg2 ;
15895 wxControl *result;
15896 PyObject * obj0 = 0 ;
15897 PyObject * obj1 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self",(char *) "id", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15904 {
15905 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 result = (wxControl *)(arg1)->FindControl(arg2);
15911
15912 wxPyEndAllowThreads(__tstate);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 {
15916 resultobj = wxPyMake_wxObject(result);
15917 }
15918 return resultobj;
15919 fail:
15920 return NULL;
15921 }
15922
15923
15924 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15927 wxToolBarToolBase *result;
15928 PyObject * obj0 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 {
15943 resultobj = wxPyMake_wxObject(result);
15944 }
15945 return resultobj;
15946 fail:
15947 return NULL;
15948 }
15949
15950
15951 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15952 PyObject *resultobj;
15953 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15954 size_t arg2 ;
15955 wxToolBarToolBase *result;
15956 PyObject * obj0 = 0 ;
15957 PyObject * obj1 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "pos", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 {
15965 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 {
15976 resultobj = wxPyMake_wxObject(result);
15977 }
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15987 int arg2 ;
15988 wxToolBarToolBase *result;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self",(char *) "id", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15997 {
15998 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16004
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 {
16009 resultobj = wxPyMake_wxObject(result);
16010 }
16011 return resultobj;
16012 fail:
16013 return NULL;
16014 }
16015
16016
16017 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16018 PyObject *resultobj;
16019 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16020 size_t arg2 ;
16021 bool result;
16022 PyObject * obj0 = 0 ;
16023 PyObject * obj1 = 0 ;
16024 char *kwnames[] = {
16025 (char *) "self",(char *) "pos", NULL
16026 };
16027
16028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16030 {
16031 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (bool)(arg1)->DeleteToolByPos(arg2);
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16051 int arg2 ;
16052 bool result;
16053 PyObject * obj0 = 0 ;
16054 PyObject * obj1 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self",(char *) "id", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16061 {
16062 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 result = (bool)(arg1)->DeleteTool(arg2);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 (arg1)->ClearTools();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16106 bool result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (bool)(arg1)->Realize();
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16131 int arg2 ;
16132 bool arg3 ;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 PyObject * obj2 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self",(char *) "id",(char *) "enable", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16142 {
16143 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 {
16147 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 (arg1)->EnableTool(arg2,arg3);
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 Py_INCREF(Py_None); resultobj = Py_None;
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16167 int arg2 ;
16168 bool arg3 ;
16169 PyObject * obj0 = 0 ;
16170 PyObject * obj1 = 0 ;
16171 PyObject * obj2 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self",(char *) "id",(char *) "toggle", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 {
16179 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 {
16183 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 (arg1)->ToggleTool(arg2,arg3);
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16203 int arg2 ;
16204 bool arg3 ;
16205 PyObject * obj0 = 0 ;
16206 PyObject * obj1 = 0 ;
16207 PyObject * obj2 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self",(char *) "id",(char *) "toggle", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16214 {
16215 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 {
16219 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 (arg1)->SetToggle(arg2,arg3);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16239 int arg2 ;
16240 PyObject *result;
16241 PyObject * obj0 = 0 ;
16242 PyObject * obj1 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self",(char *) "id", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16249 {
16250 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 resultobj = result;
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj;
16269 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16270 int arg2 ;
16271 PyObject *arg3 = (PyObject *) 0 ;
16272 PyObject * obj0 = 0 ;
16273 PyObject * obj1 = 0 ;
16274 PyObject * obj2 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self",(char *) "id",(char *) "clientData", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16281 {
16282 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 arg3 = obj2;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 Py_INCREF(Py_None); resultobj = Py_None;
16294 return resultobj;
16295 fail:
16296 return NULL;
16297 }
16298
16299
16300 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16303 int arg2 ;
16304 int result;
16305 PyObject * obj0 = 0 ;
16306 PyObject * obj1 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self",(char *) "id", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16313 {
16314 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 resultobj = SWIG_PyObj_FromInt((int)result);
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj;
16333 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16334 int arg2 ;
16335 bool result;
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self",(char *) "id", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 {
16345 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (bool)(arg1)->GetToolState(arg2);
16351
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16356 return resultobj;
16357 fail:
16358 return NULL;
16359 }
16360
16361
16362 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16363 PyObject *resultobj;
16364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16365 int arg2 ;
16366 bool result;
16367 PyObject * obj0 = 0 ;
16368 PyObject * obj1 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self",(char *) "id", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16375 {
16376 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (bool)(arg1)->GetToolEnabled(arg2);
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16387 return resultobj;
16388 fail:
16389 return NULL;
16390 }
16391
16392
16393 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16394 PyObject *resultobj;
16395 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16396 int arg2 ;
16397 wxString *arg3 = 0 ;
16398 bool temp3 = False ;
16399 PyObject * obj0 = 0 ;
16400 PyObject * obj1 = 0 ;
16401 PyObject * obj2 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "self",(char *) "id",(char *) "helpString", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16408 {
16409 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 {
16413 arg3 = wxString_in_helper(obj2);
16414 if (arg3 == NULL) SWIG_fail;
16415 temp3 = True;
16416 }
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 Py_INCREF(Py_None); resultobj = Py_None;
16425 {
16426 if (temp3)
16427 delete arg3;
16428 }
16429 return resultobj;
16430 fail:
16431 {
16432 if (temp3)
16433 delete arg3;
16434 }
16435 return NULL;
16436 }
16437
16438
16439 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16442 int arg2 ;
16443 wxString result;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "id", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16452 {
16453 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 result = (arg1)->GetToolShortHelp(arg2);
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 {
16464 #if wxUSE_UNICODE
16465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16466 #else
16467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16468 #endif
16469 }
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16479 int arg2 ;
16480 wxString *arg3 = 0 ;
16481 bool temp3 = False ;
16482 PyObject * obj0 = 0 ;
16483 PyObject * obj1 = 0 ;
16484 PyObject * obj2 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self",(char *) "id",(char *) "helpString", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16491 {
16492 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 arg3 = wxString_in_helper(obj2);
16497 if (arg3 == NULL) SWIG_fail;
16498 temp3 = True;
16499 }
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 Py_INCREF(Py_None); resultobj = Py_None;
16508 {
16509 if (temp3)
16510 delete arg3;
16511 }
16512 return resultobj;
16513 fail:
16514 {
16515 if (temp3)
16516 delete arg3;
16517 }
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16525 int arg2 ;
16526 wxString result;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "id", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16535 {
16536 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (arg1)->GetToolLongHelp(arg2);
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 {
16547 #if wxUSE_UNICODE
16548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16549 #else
16550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16551 #endif
16552 }
16553 return resultobj;
16554 fail:
16555 return NULL;
16556 }
16557
16558
16559 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16560 PyObject *resultobj;
16561 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16562 int arg2 ;
16563 int arg3 ;
16564 PyObject * obj0 = 0 ;
16565 PyObject * obj1 = 0 ;
16566 PyObject * obj2 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self",(char *) "x",(char *) "y", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 {
16574 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 {
16578 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 (arg1)->SetMargins(arg2,arg3);
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 Py_INCREF(Py_None); resultobj = Py_None;
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16598 wxSize *arg2 = 0 ;
16599 wxSize temp2 ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self",(char *) "size", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16608 {
16609 arg2 = &temp2;
16610 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16611 }
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 (arg1)->SetMargins((wxSize const &)*arg2);
16615
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
16619 Py_INCREF(Py_None); resultobj = Py_None;
16620 return resultobj;
16621 fail:
16622 return NULL;
16623 }
16624
16625
16626 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16627 PyObject *resultobj;
16628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16629 int arg2 ;
16630 PyObject * obj0 = 0 ;
16631 PyObject * obj1 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self",(char *) "packing", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16638 {
16639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 (arg1)->SetToolPacking(arg2);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 Py_INCREF(Py_None); resultobj = Py_None;
16650 return resultobj;
16651 fail:
16652 return NULL;
16653 }
16654
16655
16656 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16659 int arg2 ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self",(char *) "separation", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16668 {
16669 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 (arg1)->SetToolSeparation(arg2);
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 Py_INCREF(Py_None); resultobj = Py_None;
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16689 wxSize result;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 result = (arg1)->GetToolMargins();
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 {
16705 wxSize * resultptr;
16706 resultptr = new wxSize((wxSize &) result);
16707 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16708 }
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16718 wxSize result;
16719 PyObject * obj0 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "self", NULL
16722 };
16723
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (arg1)->GetMargins();
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
16734 wxSize * resultptr;
16735 resultptr = new wxSize((wxSize &) result);
16736 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16737 }
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16747 int result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 result = (int)(arg1)->GetToolPacking();
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = SWIG_PyObj_FromInt((int)result);
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16772 int result;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (int)(arg1)->GetToolSeparation();
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 resultobj = SWIG_PyObj_FromInt((int)result);
16788 return resultobj;
16789 fail:
16790 return NULL;
16791 }
16792
16793
16794 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16797 int arg2 ;
16798 PyObject * obj0 = 0 ;
16799 PyObject * obj1 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self",(char *) "nRows", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16806 {
16807 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 (arg1)->SetRows(arg2);
16813
16814 wxPyEndAllowThreads(__tstate);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 Py_INCREF(Py_None); resultobj = Py_None;
16818 return resultobj;
16819 fail:
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16827 int arg2 ;
16828 int arg3 ;
16829 PyObject * obj0 = 0 ;
16830 PyObject * obj1 = 0 ;
16831 PyObject * obj2 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self",(char *) "rows",(char *) "cols", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16838 {
16839 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 {
16843 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 (arg1)->SetMaxRowsCols(arg2,arg3);
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 Py_INCREF(Py_None); resultobj = Py_None;
16854 return resultobj;
16855 fail:
16856 return NULL;
16857 }
16858
16859
16860 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj;
16862 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16863 int result;
16864 PyObject * obj0 = 0 ;
16865 char *kwnames[] = {
16866 (char *) "self", NULL
16867 };
16868
16869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (int)(arg1)->GetMaxRows();
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 resultobj = SWIG_PyObj_FromInt((int)result);
16879 return resultobj;
16880 fail:
16881 return NULL;
16882 }
16883
16884
16885 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj;
16887 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16888 int result;
16889 PyObject * obj0 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = (int)(arg1)->GetMaxCols();
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 resultobj = SWIG_PyObj_FromInt((int)result);
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16913 wxSize *arg2 = 0 ;
16914 wxSize temp2 ;
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self",(char *) "size", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 {
16924 arg2 = &temp2;
16925 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16926 }
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 Py_INCREF(Py_None); resultobj = Py_None;
16935 return resultobj;
16936 fail:
16937 return NULL;
16938 }
16939
16940
16941 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16942 PyObject *resultobj;
16943 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16944 wxSize result;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 result = (arg1)->GetToolBitmapSize();
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 {
16960 wxSize * resultptr;
16961 resultptr = new wxSize((wxSize &) result);
16962 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16973 wxSize result;
16974 PyObject * obj0 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (arg1)->GetToolSize();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 wxSize * resultptr;
16990 resultptr = new wxSize((wxSize &) result);
16991 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17002 int arg2 ;
17003 int arg3 ;
17004 wxToolBarToolBase *result;
17005 PyObject * obj0 = 0 ;
17006 PyObject * obj1 = 0 ;
17007 PyObject * obj2 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "self",(char *) "x",(char *) "y", NULL
17010 };
17011
17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17014 {
17015 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 {
17030 resultobj = wxPyMake_wxObject(result);
17031 }
17032 return resultobj;
17033 fail:
17034 return NULL;
17035 }
17036
17037
17038 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17039 PyObject *resultobj;
17040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17041 int arg2 ;
17042 wxToolBarToolBase *result;
17043 PyObject * obj0 = 0 ;
17044 PyObject * obj1 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "self",(char *) "toolid", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",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 = (int) SWIG_PyObj_AsInt(obj1);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 {
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17058
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 {
17063 resultobj = wxPyMake_wxObject(result);
17064 }
17065 return resultobj;
17066 fail:
17067 return NULL;
17068 }
17069
17070
17071 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17072 PyObject *resultobj;
17073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17074 bool result;
17075 PyObject * obj0 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "self", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 result = (bool)(arg1)->IsVertical();
17085
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17090 return resultobj;
17091 fail:
17092 return NULL;
17093 }
17094
17095
17096 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17097 PyObject *obj;
17098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17099 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17100 Py_INCREF(obj);
17101 return Py_BuildValue((char *)"");
17102 }
17103 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxWindow *arg1 = (wxWindow *) 0 ;
17106 int arg2 ;
17107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17109 wxSize const &arg4_defvalue = wxDefaultSize ;
17110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17111 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17112 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17113 wxString *arg6 = (wxString *) &arg6_defvalue ;
17114 wxToolBar *result;
17115 wxPoint temp3 ;
17116 wxSize temp4 ;
17117 bool temp6 = False ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 PyObject * obj3 = 0 ;
17122 PyObject * obj4 = 0 ;
17123 PyObject * obj5 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17130 {
17131 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 if (obj2) {
17135 {
17136 arg3 = &temp3;
17137 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17138 }
17139 }
17140 if (obj3) {
17141 {
17142 arg4 = &temp4;
17143 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17144 }
17145 }
17146 if (obj4) {
17147 {
17148 arg5 = (long) SWIG_PyObj_AsLong(obj4);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 }
17152 if (obj5) {
17153 {
17154 arg6 = wxString_in_helper(obj5);
17155 if (arg6 == NULL) SWIG_fail;
17156 temp6 = True;
17157 }
17158 }
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 {
17167 resultobj = wxPyMake_wxObject(result);
17168 }
17169 {
17170 if (temp6)
17171 delete arg6;
17172 }
17173 return resultobj;
17174 fail:
17175 {
17176 if (temp6)
17177 delete arg6;
17178 }
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxToolBar *result;
17186 char *kwnames[] = {
17187 NULL
17188 };
17189
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 result = (wxToolBar *)new wxToolBar();
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 {
17199 resultobj = wxPyMake_wxObject(result);
17200 }
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxToolBar *arg1 = (wxToolBar *) 0 ;
17210 wxWindow *arg2 = (wxWindow *) 0 ;
17211 int arg3 ;
17212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17214 wxSize const &arg5_defvalue = wxDefaultSize ;
17215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17216 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17217 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17218 wxString *arg7 = (wxString *) &arg7_defvalue ;
17219 bool result;
17220 wxPoint temp4 ;
17221 wxSize temp5 ;
17222 bool temp7 = False ;
17223 PyObject * obj0 = 0 ;
17224 PyObject * obj1 = 0 ;
17225 PyObject * obj2 = 0 ;
17226 PyObject * obj3 = 0 ;
17227 PyObject * obj4 = 0 ;
17228 PyObject * obj5 = 0 ;
17229 PyObject * obj6 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17237 {
17238 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 if (obj3) {
17242 {
17243 arg4 = &temp4;
17244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17245 }
17246 }
17247 if (obj4) {
17248 {
17249 arg5 = &temp5;
17250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17251 }
17252 }
17253 if (obj5) {
17254 {
17255 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 }
17259 if (obj6) {
17260 {
17261 arg7 = wxString_in_helper(obj6);
17262 if (arg7 == NULL) SWIG_fail;
17263 temp7 = True;
17264 }
17265 }
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17274 {
17275 if (temp7)
17276 delete arg7;
17277 }
17278 return resultobj;
17279 fail:
17280 {
17281 if (temp7)
17282 delete arg7;
17283 }
17284 return NULL;
17285 }
17286
17287
17288 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxToolBar *arg1 = (wxToolBar *) 0 ;
17291 int arg2 ;
17292 int arg3 ;
17293 wxToolBarToolBase *result;
17294 PyObject * obj0 = 0 ;
17295 PyObject * obj1 = 0 ;
17296 PyObject * obj2 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self",(char *) "x",(char *) "y", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17303 {
17304 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 {
17319 resultobj = wxPyMake_wxObject(result);
17320 }
17321 return resultobj;
17322 fail:
17323 return NULL;
17324 }
17325
17326
17327 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17328 PyObject *obj;
17329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17330 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17331 Py_INCREF(obj);
17332 return Py_BuildValue((char *)"");
17333 }
17334 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17335 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17336 return 1;
17337 }
17338
17339
17340 static PyObject *_wrap_ListCtrlNameStr_get() {
17341 PyObject *pyobj;
17342
17343 {
17344 #if wxUSE_UNICODE
17345 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17346 #else
17347 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17348 #endif
17349 }
17350 return pyobj;
17351 }
17352
17353
17354 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxColour const &arg1_defvalue = wxNullColour ;
17357 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17358 wxColour const &arg2_defvalue = wxNullColour ;
17359 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17360 wxFont const &arg3_defvalue = wxNullFont ;
17361 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17362 wxListItemAttr *result;
17363 wxColour temp1 ;
17364 wxColour temp2 ;
17365 PyObject * obj0 = 0 ;
17366 PyObject * obj1 = 0 ;
17367 PyObject * obj2 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17373 if (obj0) {
17374 {
17375 arg1 = &temp1;
17376 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17377 }
17378 }
17379 if (obj1) {
17380 {
17381 arg2 = &temp2;
17382 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17383 }
17384 }
17385 if (obj2) {
17386 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17387 if (arg3 == NULL) {
17388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17389 }
17390 }
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17408 wxColour *arg2 = 0 ;
17409 wxColour temp2 ;
17410 PyObject * obj0 = 0 ;
17411 PyObject * obj1 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "colText", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 {
17419 arg2 = &temp2;
17420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17421 }
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 (arg1)->SetTextColour((wxColour const &)*arg2);
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 Py_INCREF(Py_None); resultobj = Py_None;
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj;
17438 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17439 wxColour *arg2 = 0 ;
17440 wxColour temp2 ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "colBack", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17449 {
17450 arg2 = &temp2;
17451 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17452 }
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 Py_INCREF(Py_None); resultobj = Py_None;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464 }
17465
17466
17467 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17468 PyObject *resultobj;
17469 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17470 wxFont *arg2 = 0 ;
17471 PyObject * obj0 = 0 ;
17472 PyObject * obj1 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self",(char *) "font", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17480 if (arg2 == NULL) {
17481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17482 }
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 (arg1)->SetFont((wxFont const &)*arg2);
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 Py_INCREF(Py_None); resultobj = Py_None;
17491 return resultobj;
17492 fail:
17493 return NULL;
17494 }
17495
17496
17497 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17500 bool result;
17501 PyObject * obj0 = 0 ;
17502 char *kwnames[] = {
17503 (char *) "self", NULL
17504 };
17505
17506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 result = (bool)(arg1)->HasTextColour();
17511
17512 wxPyEndAllowThreads(__tstate);
17513 if (PyErr_Occurred()) SWIG_fail;
17514 }
17515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17516 return resultobj;
17517 fail:
17518 return NULL;
17519 }
17520
17521
17522 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17523 PyObject *resultobj;
17524 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17525 bool result;
17526 PyObject * obj0 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "self", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = (bool)(arg1)->HasBackgroundColour();
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17550 bool result;
17551 PyObject * obj0 = 0 ;
17552 char *kwnames[] = {
17553 (char *) "self", NULL
17554 };
17555
17556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 result = (bool)(arg1)->HasFont();
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj;
17574 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17575 wxColour result;
17576 PyObject * obj0 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 result = (arg1)->GetTextColour();
17586
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 {
17591 wxColour * resultptr;
17592 resultptr = new wxColour((wxColour &) result);
17593 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17594 }
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17604 wxColour result;
17605 PyObject * obj0 = 0 ;
17606 char *kwnames[] = {
17607 (char *) "self", NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17612 {
17613 PyThreadState* __tstate = wxPyBeginAllowThreads();
17614 result = (arg1)->GetBackgroundColour();
17615
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 {
17620 wxColour * resultptr;
17621 resultptr = new wxColour((wxColour &) result);
17622 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17623 }
17624 return resultobj;
17625 fail:
17626 return NULL;
17627 }
17628
17629
17630 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17631 PyObject *resultobj;
17632 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17633 wxFont result;
17634 PyObject * obj0 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (arg1)->GetFont();
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 {
17649 wxFont * resultptr;
17650 resultptr = new wxFont((wxFont &) result);
17651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17652 }
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj;
17661 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17662 PyObject * obj0 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 wxListItemAttr_Destroy(arg1);
17672
17673 wxPyEndAllowThreads(__tstate);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
17676 Py_INCREF(Py_None); resultobj = Py_None;
17677 return resultobj;
17678 fail:
17679 return NULL;
17680 }
17681
17682
17683 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17684 PyObject *obj;
17685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17686 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17687 Py_INCREF(obj);
17688 return Py_BuildValue((char *)"");
17689 }
17690 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxListItem *result;
17693 char *kwnames[] = {
17694 NULL
17695 };
17696
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (wxListItem *)new wxListItem();
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 {
17706 resultobj = wxPyMake_wxObject(result);
17707 }
17708 return resultobj;
17709 fail:
17710 return NULL;
17711 }
17712
17713
17714 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17715 PyObject *resultobj;
17716 wxListItem *arg1 = (wxListItem *) 0 ;
17717 PyObject * obj0 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 delete arg1;
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 Py_INCREF(Py_None); resultobj = Py_None;
17732 return resultobj;
17733 fail:
17734 return NULL;
17735 }
17736
17737
17738 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj;
17740 wxListItem *arg1 = (wxListItem *) 0 ;
17741 PyObject * obj0 = 0 ;
17742 char *kwnames[] = {
17743 (char *) "self", NULL
17744 };
17745
17746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->Clear();
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 Py_INCREF(Py_None); resultobj = Py_None;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxListItem *arg1 = (wxListItem *) 0 ;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 (arg1)->ClearAttributes();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxListItem *arg1 = (wxListItem *) 0 ;
17789 long arg2 ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self",(char *) "mask", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 {
17799 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 (arg1)->SetMask(arg2);
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 Py_INCREF(Py_None); resultobj = Py_None;
17810 return resultobj;
17811 fail:
17812 return NULL;
17813 }
17814
17815
17816 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxListItem *arg1 = (wxListItem *) 0 ;
17819 long arg2 ;
17820 PyObject * obj0 = 0 ;
17821 PyObject * obj1 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self",(char *) "id", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 {
17829 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 (arg1)->SetId(arg2);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 Py_INCREF(Py_None); resultobj = Py_None;
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxListItem *arg1 = (wxListItem *) 0 ;
17849 int arg2 ;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self",(char *) "col", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17858 {
17859 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 (arg1)->SetColumn(arg2);
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 Py_INCREF(Py_None); resultobj = Py_None;
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxListItem *arg1 = (wxListItem *) 0 ;
17879 long arg2 ;
17880 PyObject * obj0 = 0 ;
17881 PyObject * obj1 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self",(char *) "state", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17888 {
17889 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 {
17893 PyThreadState* __tstate = wxPyBeginAllowThreads();
17894 (arg1)->SetState(arg2);
17895
17896 wxPyEndAllowThreads(__tstate);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 Py_INCREF(Py_None); resultobj = Py_None;
17900 return resultobj;
17901 fail:
17902 return NULL;
17903 }
17904
17905
17906 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxListItem *arg1 = (wxListItem *) 0 ;
17909 long arg2 ;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self",(char *) "stateMask", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17918 {
17919 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 (arg1)->SetStateMask(arg2);
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 Py_INCREF(Py_None); resultobj = Py_None;
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxListItem *arg1 = (wxListItem *) 0 ;
17939 wxString *arg2 = 0 ;
17940 bool temp2 = False ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self",(char *) "text", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17949 {
17950 arg2 = wxString_in_helper(obj1);
17951 if (arg2 == NULL) SWIG_fail;
17952 temp2 = True;
17953 }
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->SetText((wxString const &)*arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 {
17963 if (temp2)
17964 delete arg2;
17965 }
17966 return resultobj;
17967 fail:
17968 {
17969 if (temp2)
17970 delete arg2;
17971 }
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxListItem *arg1 = (wxListItem *) 0 ;
17979 int arg2 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self",(char *) "image", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 {
17989 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->SetImage(arg2);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxListItem *arg1 = (wxListItem *) 0 ;
18009 long arg2 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "data", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 (arg1)->SetData(arg2);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 Py_INCREF(Py_None); resultobj = Py_None;
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxListItem *arg1 = (wxListItem *) 0 ;
18039 int arg2 ;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self",(char *) "width", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18048 {
18049 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 {
18053 PyThreadState* __tstate = wxPyBeginAllowThreads();
18054 (arg1)->SetWidth(arg2);
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 Py_INCREF(Py_None); resultobj = Py_None;
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxListItem *arg1 = (wxListItem *) 0 ;
18069 int arg2 ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "align", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 {
18079 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->SetAlign((wxListColumnFormat )arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxListItem *arg1 = (wxListItem *) 0 ;
18099 wxColour *arg2 = 0 ;
18100 wxColour temp2 ;
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self",(char *) "colText", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18109 {
18110 arg2 = &temp2;
18111 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18112 }
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 (arg1)->SetTextColour((wxColour const &)*arg2);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 Py_INCREF(Py_None); resultobj = Py_None;
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxListItem *arg1 = (wxListItem *) 0 ;
18130 wxColour *arg2 = 0 ;
18131 wxColour temp2 ;
18132 PyObject * obj0 = 0 ;
18133 PyObject * obj1 = 0 ;
18134 char *kwnames[] = {
18135 (char *) "self",(char *) "colBack", NULL
18136 };
18137
18138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18140 {
18141 arg2 = &temp2;
18142 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18143 }
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 return resultobj;
18153 fail:
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxListItem *arg1 = (wxListItem *) 0 ;
18161 wxFont *arg2 = 0 ;
18162 PyObject * obj0 = 0 ;
18163 PyObject * obj1 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self",(char *) "font", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 if (arg2 == NULL) {
18172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18173 }
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 (arg1)->SetFont((wxFont const &)*arg2);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 Py_INCREF(Py_None); resultobj = Py_None;
18182 return resultobj;
18183 fail:
18184 return NULL;
18185 }
18186
18187
18188 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxListItem *arg1 = (wxListItem *) 0 ;
18191 long result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (long)(arg1)->GetMask();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = SWIG_PyObj_FromLong((long)result);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxListItem *arg1 = (wxListItem *) 0 ;
18216 long result;
18217 PyObject * obj0 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 result = (long)(arg1)->GetId();
18227
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 resultobj = SWIG_PyObj_FromLong((long)result);
18232 return resultobj;
18233 fail:
18234 return NULL;
18235 }
18236
18237
18238 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18239 PyObject *resultobj;
18240 wxListItem *arg1 = (wxListItem *) 0 ;
18241 int result;
18242 PyObject * obj0 = 0 ;
18243 char *kwnames[] = {
18244 (char *) "self", NULL
18245 };
18246
18247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18249 {
18250 PyThreadState* __tstate = wxPyBeginAllowThreads();
18251 result = (int)(arg1)->GetColumn();
18252
18253 wxPyEndAllowThreads(__tstate);
18254 if (PyErr_Occurred()) SWIG_fail;
18255 }
18256 resultobj = SWIG_PyObj_FromInt((int)result);
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxListItem *arg1 = (wxListItem *) 0 ;
18266 long result;
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18274 {
18275 PyThreadState* __tstate = wxPyBeginAllowThreads();
18276 result = (long)(arg1)->GetState();
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 resultobj = SWIG_PyObj_FromLong((long)result);
18282 return resultobj;
18283 fail:
18284 return NULL;
18285 }
18286
18287
18288 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj;
18290 wxListItem *arg1 = (wxListItem *) 0 ;
18291 wxString *result;
18292 PyObject * obj0 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 {
18302 wxString const &_result_ref = (arg1)->GetText();
18303 result = (wxString *) &_result_ref;
18304 }
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 {
18310 #if wxUSE_UNICODE
18311 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18312 #else
18313 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18314 #endif
18315 }
18316 return resultobj;
18317 fail:
18318 return NULL;
18319 }
18320
18321
18322 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj;
18324 wxListItem *arg1 = (wxListItem *) 0 ;
18325 int result;
18326 PyObject * obj0 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "self", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 result = (int)(arg1)->GetImage();
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 resultobj = SWIG_PyObj_FromInt((int)result);
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxListItem *arg1 = (wxListItem *) 0 ;
18350 long result;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (long)(arg1)->GetData();
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 resultobj = SWIG_PyObj_FromLong((long)result);
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxListItem *arg1 = (wxListItem *) 0 ;
18375 int result;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "self", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (int)(arg1)->GetWidth();
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 resultobj = SWIG_PyObj_FromInt((int)result);
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxListItem *arg1 = (wxListItem *) 0 ;
18400 int result;
18401 PyObject * obj0 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 result = (int)(arg1)->GetAlign();
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 resultobj = SWIG_PyObj_FromInt((int)result);
18416 return resultobj;
18417 fail:
18418 return NULL;
18419 }
18420
18421
18422 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxListItem *arg1 = (wxListItem *) 0 ;
18425 wxListItemAttr *result;
18426 PyObject * obj0 = 0 ;
18427 char *kwnames[] = {
18428 (char *) "self", NULL
18429 };
18430
18431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 result = (wxListItemAttr *)(arg1)->GetAttributes();
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18441 return resultobj;
18442 fail:
18443 return NULL;
18444 }
18445
18446
18447 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxListItem *arg1 = (wxListItem *) 0 ;
18450 bool result;
18451 PyObject * obj0 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (bool)(arg1)->HasAttributes();
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxListItem *arg1 = (wxListItem *) 0 ;
18475 wxColour result;
18476 PyObject * obj0 = 0 ;
18477 char *kwnames[] = {
18478 (char *) "self", NULL
18479 };
18480
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = ((wxListItem const *)arg1)->GetTextColour();
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 {
18491 wxColour * resultptr;
18492 resultptr = new wxColour((wxColour &) result);
18493 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18494 }
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxListItem *arg1 = (wxListItem *) 0 ;
18504 wxColour result;
18505 PyObject * obj0 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "self", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 {
18520 wxColour * resultptr;
18521 resultptr = new wxColour((wxColour &) result);
18522 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxListItem *arg1 = (wxListItem *) 0 ;
18533 wxFont result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 result = ((wxListItem const *)arg1)->GetFont();
18544
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 {
18549 wxFont * resultptr;
18550 resultptr = new wxFont((wxFont &) result);
18551 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18552 }
18553 return resultobj;
18554 fail:
18555 return NULL;
18556 }
18557
18558
18559 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18560 PyObject *resultobj;
18561 wxListItem *arg1 = (wxListItem *) 0 ;
18562 long arg2 ;
18563 PyObject * obj0 = 0 ;
18564 PyObject * obj1 = 0 ;
18565 char *kwnames[] = {
18566 (char *) "self",(char *) "m_mask", NULL
18567 };
18568
18569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18571 {
18572 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 if (arg1) (arg1)->m_mask = arg2;
18576
18577 Py_INCREF(Py_None); resultobj = Py_None;
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxListItem *arg1 = (wxListItem *) 0 ;
18587 long result;
18588 PyObject * obj0 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18595 result = (long) ((arg1)->m_mask);
18596
18597 resultobj = SWIG_PyObj_FromLong((long)result);
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxListItem *arg1 = (wxListItem *) 0 ;
18607 long arg2 ;
18608 PyObject * obj0 = 0 ;
18609 PyObject * obj1 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "m_itemId", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 {
18617 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 if (arg1) (arg1)->m_itemId = arg2;
18621
18622 Py_INCREF(Py_None); resultobj = Py_None;
18623 return resultobj;
18624 fail:
18625 return NULL;
18626 }
18627
18628
18629 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxListItem *arg1 = (wxListItem *) 0 ;
18632 long result;
18633 PyObject * obj0 = 0 ;
18634 char *kwnames[] = {
18635 (char *) "self", NULL
18636 };
18637
18638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18640 result = (long) ((arg1)->m_itemId);
18641
18642 resultobj = SWIG_PyObj_FromLong((long)result);
18643 return resultobj;
18644 fail:
18645 return NULL;
18646 }
18647
18648
18649 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj;
18651 wxListItem *arg1 = (wxListItem *) 0 ;
18652 int arg2 ;
18653 PyObject * obj0 = 0 ;
18654 PyObject * obj1 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self",(char *) "m_col", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18661 {
18662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 if (arg1) (arg1)->m_col = arg2;
18666
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxListItem *arg1 = (wxListItem *) 0 ;
18677 int result;
18678 PyObject * obj0 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18685 result = (int) ((arg1)->m_col);
18686
18687 resultobj = SWIG_PyObj_FromInt((int)result);
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxListItem *arg1 = (wxListItem *) 0 ;
18697 long arg2 ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "m_state", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 {
18707 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 if (arg1) (arg1)->m_state = arg2;
18711
18712 Py_INCREF(Py_None); resultobj = Py_None;
18713 return resultobj;
18714 fail:
18715 return NULL;
18716 }
18717
18718
18719 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxListItem *arg1 = (wxListItem *) 0 ;
18722 long result;
18723 PyObject * obj0 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18730 result = (long) ((arg1)->m_state);
18731
18732 resultobj = SWIG_PyObj_FromLong((long)result);
18733 return resultobj;
18734 fail:
18735 return NULL;
18736 }
18737
18738
18739 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18740 PyObject *resultobj;
18741 wxListItem *arg1 = (wxListItem *) 0 ;
18742 long arg2 ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "m_stateMask", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 {
18752 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 if (arg1) (arg1)->m_stateMask = arg2;
18756
18757 Py_INCREF(Py_None); resultobj = Py_None;
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxListItem *arg1 = (wxListItem *) 0 ;
18767 long result;
18768 PyObject * obj0 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18775 result = (long) ((arg1)->m_stateMask);
18776
18777 resultobj = SWIG_PyObj_FromLong((long)result);
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxListItem *arg1 = (wxListItem *) 0 ;
18787 wxString *arg2 = (wxString *) 0 ;
18788 bool temp2 = False ;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "m_text", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18797 {
18798 arg2 = wxString_in_helper(obj1);
18799 if (arg2 == NULL) SWIG_fail;
18800 temp2 = True;
18801 }
18802 if (arg1) (arg1)->m_text = *arg2;
18803
18804 Py_INCREF(Py_None); resultobj = Py_None;
18805 {
18806 if (temp2)
18807 delete arg2;
18808 }
18809 return resultobj;
18810 fail:
18811 {
18812 if (temp2)
18813 delete arg2;
18814 }
18815 return NULL;
18816 }
18817
18818
18819 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxListItem *arg1 = (wxListItem *) 0 ;
18822 wxString *result;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18830 result = (wxString *)& ((arg1)->m_text);
18831
18832 {
18833 #if wxUSE_UNICODE
18834 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18835 #else
18836 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18837 #endif
18838 }
18839 return resultobj;
18840 fail:
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxListItem *arg1 = (wxListItem *) 0 ;
18848 int arg2 ;
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self",(char *) "m_image", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 {
18858 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 if (arg1) (arg1)->m_image = arg2;
18862
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxListItem *arg1 = (wxListItem *) 0 ;
18873 int result;
18874 PyObject * obj0 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18881 result = (int) ((arg1)->m_image);
18882
18883 resultobj = SWIG_PyObj_FromInt((int)result);
18884 return resultobj;
18885 fail:
18886 return NULL;
18887 }
18888
18889
18890 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 wxListItem *arg1 = (wxListItem *) 0 ;
18893 long arg2 ;
18894 PyObject * obj0 = 0 ;
18895 PyObject * obj1 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self",(char *) "m_data", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18902 {
18903 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 if (arg1) (arg1)->m_data = arg2;
18907
18908 Py_INCREF(Py_None); resultobj = Py_None;
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxListItem *arg1 = (wxListItem *) 0 ;
18918 long result;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 result = (long) ((arg1)->m_data);
18927
18928 resultobj = SWIG_PyObj_FromLong((long)result);
18929 return resultobj;
18930 fail:
18931 return NULL;
18932 }
18933
18934
18935 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18936 PyObject *resultobj;
18937 wxListItem *arg1 = (wxListItem *) 0 ;
18938 int arg2 ;
18939 PyObject * obj0 = 0 ;
18940 PyObject * obj1 = 0 ;
18941 char *kwnames[] = {
18942 (char *) "self",(char *) "m_format", NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18947 {
18948 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 if (arg1) (arg1)->m_format = arg2;
18952
18953 Py_INCREF(Py_None); resultobj = Py_None;
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxListItem *arg1 = (wxListItem *) 0 ;
18963 int result;
18964 PyObject * obj0 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18971 result = (int) ((arg1)->m_format);
18972
18973 resultobj = SWIG_PyObj_FromInt((int)result);
18974 return resultobj;
18975 fail:
18976 return NULL;
18977 }
18978
18979
18980 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj;
18982 wxListItem *arg1 = (wxListItem *) 0 ;
18983 int arg2 ;
18984 PyObject * obj0 = 0 ;
18985 PyObject * obj1 = 0 ;
18986 char *kwnames[] = {
18987 (char *) "self",(char *) "m_width", NULL
18988 };
18989
18990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18992 {
18993 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 if (arg1) (arg1)->m_width = arg2;
18997
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxListItem *arg1 = (wxListItem *) 0 ;
19008 int result;
19009 PyObject * obj0 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19016 result = (int) ((arg1)->m_width);
19017
19018 resultobj = SWIG_PyObj_FromInt((int)result);
19019 return resultobj;
19020 fail:
19021 return NULL;
19022 }
19023
19024
19025 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19026 PyObject *obj;
19027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19028 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19029 Py_INCREF(obj);
19030 return Py_BuildValue((char *)"");
19031 }
19032 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19035 int arg2 = (int) 0 ;
19036 wxListEvent *result;
19037 PyObject * obj0 = 0 ;
19038 PyObject * obj1 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "commandType",(char *) "id", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19044 if (obj0) {
19045 {
19046 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 }
19050 if (obj1) {
19051 {
19052 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxListEvent *arg1 = (wxListEvent *) 0 ;
19073 int arg2 ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "m_code", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19082 {
19083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 if (arg1) (arg1)->m_code = arg2;
19087
19088 Py_INCREF(Py_None); resultobj = Py_None;
19089 return resultobj;
19090 fail:
19091 return NULL;
19092 }
19093
19094
19095 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxListEvent *arg1 = (wxListEvent *) 0 ;
19098 int result;
19099 PyObject * obj0 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19106 result = (int) ((arg1)->m_code);
19107
19108 resultobj = SWIG_PyObj_FromInt((int)result);
19109 return resultobj;
19110 fail:
19111 return NULL;
19112 }
19113
19114
19115 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxListEvent *arg1 = (wxListEvent *) 0 ;
19118 long arg2 ;
19119 PyObject * obj0 = 0 ;
19120 PyObject * obj1 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self",(char *) "m_oldItemIndex", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19127 {
19128 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 if (arg1) (arg1)->m_oldItemIndex = arg2;
19132
19133 Py_INCREF(Py_None); resultobj = Py_None;
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxListEvent *arg1 = (wxListEvent *) 0 ;
19143 long result;
19144 PyObject * obj0 = 0 ;
19145 char *kwnames[] = {
19146 (char *) "self", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19151 result = (long) ((arg1)->m_oldItemIndex);
19152
19153 resultobj = SWIG_PyObj_FromLong((long)result);
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj;
19162 wxListEvent *arg1 = (wxListEvent *) 0 ;
19163 long arg2 ;
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "m_itemIndex", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19172 {
19173 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 if (arg1) (arg1)->m_itemIndex = arg2;
19177
19178 Py_INCREF(Py_None); resultobj = Py_None;
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxListEvent *arg1 = (wxListEvent *) 0 ;
19188 long result;
19189 PyObject * obj0 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19196 result = (long) ((arg1)->m_itemIndex);
19197
19198 resultobj = SWIG_PyObj_FromLong((long)result);
19199 return resultobj;
19200 fail:
19201 return NULL;
19202 }
19203
19204
19205 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19206 PyObject *resultobj;
19207 wxListEvent *arg1 = (wxListEvent *) 0 ;
19208 int arg2 ;
19209 PyObject * obj0 = 0 ;
19210 PyObject * obj1 = 0 ;
19211 char *kwnames[] = {
19212 (char *) "self",(char *) "m_col", NULL
19213 };
19214
19215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19217 {
19218 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 if (arg1) (arg1)->m_col = arg2;
19222
19223 Py_INCREF(Py_None); resultobj = Py_None;
19224 return resultobj;
19225 fail:
19226 return NULL;
19227 }
19228
19229
19230 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19231 PyObject *resultobj;
19232 wxListEvent *arg1 = (wxListEvent *) 0 ;
19233 int result;
19234 PyObject * obj0 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "self", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19241 result = (int) ((arg1)->m_col);
19242
19243 resultobj = SWIG_PyObj_FromInt((int)result);
19244 return resultobj;
19245 fail:
19246 return NULL;
19247 }
19248
19249
19250 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19251 PyObject *resultobj;
19252 wxListEvent *arg1 = (wxListEvent *) 0 ;
19253 wxPoint *arg2 = (wxPoint *) 0 ;
19254 PyObject * obj0 = 0 ;
19255 PyObject * obj1 = 0 ;
19256 char *kwnames[] = {
19257 (char *) "self",(char *) "m_pointDrag", NULL
19258 };
19259
19260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19263 if (arg1) (arg1)->m_pointDrag = *arg2;
19264
19265 Py_INCREF(Py_None); resultobj = Py_None;
19266 return resultobj;
19267 fail:
19268 return NULL;
19269 }
19270
19271
19272 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj;
19274 wxListEvent *arg1 = (wxListEvent *) 0 ;
19275 wxPoint *result;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 result = (wxPoint *)& ((arg1)->m_pointDrag);
19284
19285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxListEvent *arg1 = (wxListEvent *) 0 ;
19295 wxListItem *result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19303 result = (wxListItem *)& ((arg1)->m_item);
19304
19305 {
19306 resultobj = wxPyMake_wxObject(result);
19307 }
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxListEvent *arg1 = (wxListEvent *) 0 ;
19317 int result;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (int)(arg1)->GetKeyCode();
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 resultobj = SWIG_PyObj_FromInt((int)result);
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj;
19341 wxListEvent *arg1 = (wxListEvent *) 0 ;
19342 long result;
19343 PyObject * obj0 = 0 ;
19344 char *kwnames[] = {
19345 (char *) "self", NULL
19346 };
19347
19348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 result = (long)(arg1)->GetIndex();
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 resultobj = SWIG_PyObj_FromLong((long)result);
19358 return resultobj;
19359 fail:
19360 return NULL;
19361 }
19362
19363
19364 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxListEvent *arg1 = (wxListEvent *) 0 ;
19367 int result;
19368 PyObject * obj0 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (int)(arg1)->GetColumn();
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 resultobj = SWIG_PyObj_FromInt((int)result);
19383 return resultobj;
19384 fail:
19385 return NULL;
19386 }
19387
19388
19389 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxListEvent *arg1 = (wxListEvent *) 0 ;
19392 wxPoint result;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = (arg1)->GetPoint();
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 {
19408 wxPoint * resultptr;
19409 resultptr = new wxPoint((wxPoint &) result);
19410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19411 }
19412 return resultobj;
19413 fail:
19414 return NULL;
19415 }
19416
19417
19418 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxListEvent *arg1 = (wxListEvent *) 0 ;
19421 wxString *result;
19422 PyObject * obj0 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 {
19432 wxString const &_result_ref = (arg1)->GetLabel();
19433 result = (wxString *) &_result_ref;
19434 }
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 {
19440 #if wxUSE_UNICODE
19441 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19442 #else
19443 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19444 #endif
19445 }
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxListEvent *arg1 = (wxListEvent *) 0 ;
19455 wxString *result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19463 {
19464 PyThreadState* __tstate = wxPyBeginAllowThreads();
19465 {
19466 wxString const &_result_ref = (arg1)->GetText();
19467 result = (wxString *) &_result_ref;
19468 }
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 {
19474 #if wxUSE_UNICODE
19475 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19476 #else
19477 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19478 #endif
19479 }
19480 return resultobj;
19481 fail:
19482 return NULL;
19483 }
19484
19485
19486 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19487 PyObject *resultobj;
19488 wxListEvent *arg1 = (wxListEvent *) 0 ;
19489 int result;
19490 PyObject * obj0 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19497 {
19498 PyThreadState* __tstate = wxPyBeginAllowThreads();
19499 result = (int)(arg1)->GetImage();
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 resultobj = SWIG_PyObj_FromInt((int)result);
19505 return resultobj;
19506 fail:
19507 return NULL;
19508 }
19509
19510
19511 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19512 PyObject *resultobj;
19513 wxListEvent *arg1 = (wxListEvent *) 0 ;
19514 long result;
19515 PyObject * obj0 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (long)(arg1)->GetData();
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 resultobj = SWIG_PyObj_FromLong((long)result);
19530 return resultobj;
19531 fail:
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxListEvent *arg1 = (wxListEvent *) 0 ;
19539 long result;
19540 PyObject * obj0 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 result = (long)(arg1)->GetMask();
19550
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 resultobj = SWIG_PyObj_FromLong((long)result);
19555 return resultobj;
19556 fail:
19557 return NULL;
19558 }
19559
19560
19561 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19562 PyObject *resultobj;
19563 wxListEvent *arg1 = (wxListEvent *) 0 ;
19564 wxListItem *result;
19565 PyObject * obj0 = 0 ;
19566 char *kwnames[] = {
19567 (char *) "self", NULL
19568 };
19569
19570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 {
19575 wxListItem const &_result_ref = (arg1)->GetItem();
19576 result = (wxListItem *) &_result_ref;
19577 }
19578
19579 wxPyEndAllowThreads(__tstate);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19583 return resultobj;
19584 fail:
19585 return NULL;
19586 }
19587
19588
19589 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19590 PyObject *resultobj;
19591 wxListEvent *arg1 = (wxListEvent *) 0 ;
19592 long result;
19593 PyObject * obj0 = 0 ;
19594 char *kwnames[] = {
19595 (char *) "self", NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (long)(arg1)->GetCacheFrom();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 resultobj = SWIG_PyObj_FromLong((long)result);
19608 return resultobj;
19609 fail:
19610 return NULL;
19611 }
19612
19613
19614 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxListEvent *arg1 = (wxListEvent *) 0 ;
19617 long result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",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 = (long)(arg1)->GetCacheTo();
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 resultobj = SWIG_PyObj_FromLong((long)result);
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxListEvent *arg1 = (wxListEvent *) 0 ;
19642 bool result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",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 = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxListEvent *arg1 = (wxListEvent *) 0 ;
19667 bool arg2 ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "editCancelled", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19676 {
19677 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 (arg1)->SetEditCanceled(arg2);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 Py_INCREF(Py_None); resultobj = Py_None;
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19695 PyObject *obj;
19696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19697 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19698 Py_INCREF(obj);
19699 return Py_BuildValue((char *)"");
19700 }
19701 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxWindow *arg1 = (wxWindow *) 0 ;
19704 int arg2 = (int) -1 ;
19705 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19706 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19707 wxSize const &arg4_defvalue = wxDefaultSize ;
19708 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19709 long arg5 = (long) wxLC_ICON ;
19710 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19711 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19712 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19713 wxString *arg7 = (wxString *) &arg7_defvalue ;
19714 wxPyListCtrl *result;
19715 wxPoint temp3 ;
19716 wxSize temp4 ;
19717 bool temp7 = False ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 PyObject * obj2 = 0 ;
19721 PyObject * obj3 = 0 ;
19722 PyObject * obj4 = 0 ;
19723 PyObject * obj5 = 0 ;
19724 PyObject * obj6 = 0 ;
19725 char *kwnames[] = {
19726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19727 };
19728
19729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19731 if (obj1) {
19732 {
19733 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 }
19737 if (obj2) {
19738 {
19739 arg3 = &temp3;
19740 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19741 }
19742 }
19743 if (obj3) {
19744 {
19745 arg4 = &temp4;
19746 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19747 }
19748 }
19749 if (obj4) {
19750 {
19751 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 }
19755 if (obj5) {
19756 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19757 if (arg6 == NULL) {
19758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19759 }
19760 }
19761 if (obj6) {
19762 {
19763 arg7 = wxString_in_helper(obj6);
19764 if (arg7 == NULL) SWIG_fail;
19765 temp7 = True;
19766 }
19767 }
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19771
19772 wxPyEndAllowThreads(__tstate);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 }
19775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19776 {
19777 if (temp7)
19778 delete arg7;
19779 }
19780 return resultobj;
19781 fail:
19782 {
19783 if (temp7)
19784 delete arg7;
19785 }
19786 return NULL;
19787 }
19788
19789
19790 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj;
19792 wxPyListCtrl *result;
19793 char *kwnames[] = {
19794 NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 result = (wxPyListCtrl *)new wxPyListCtrl();
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19806 return resultobj;
19807 fail:
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19815 wxWindow *arg2 = (wxWindow *) 0 ;
19816 int arg3 = (int) -1 ;
19817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19819 wxSize const &arg5_defvalue = wxDefaultSize ;
19820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19821 long arg6 = (long) wxLC_ICON ;
19822 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19823 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19824 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19825 wxString *arg8 = (wxString *) &arg8_defvalue ;
19826 bool result;
19827 wxPoint temp4 ;
19828 wxSize temp5 ;
19829 bool temp8 = False ;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 PyObject * obj2 = 0 ;
19833 PyObject * obj3 = 0 ;
19834 PyObject * obj4 = 0 ;
19835 PyObject * obj5 = 0 ;
19836 PyObject * obj6 = 0 ;
19837 PyObject * obj7 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19845 if (obj2) {
19846 {
19847 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 }
19851 if (obj3) {
19852 {
19853 arg4 = &temp4;
19854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19855 }
19856 }
19857 if (obj4) {
19858 {
19859 arg5 = &temp5;
19860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19861 }
19862 }
19863 if (obj5) {
19864 {
19865 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 }
19869 if (obj6) {
19870 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19871 if (arg7 == NULL) {
19872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19873 }
19874 }
19875 if (obj7) {
19876 {
19877 arg8 = wxString_in_helper(obj7);
19878 if (arg8 == NULL) SWIG_fail;
19879 temp8 = True;
19880 }
19881 }
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19890 {
19891 if (temp8)
19892 delete arg8;
19893 }
19894 return resultobj;
19895 fail:
19896 {
19897 if (temp8)
19898 delete arg8;
19899 }
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19907 PyObject *arg2 = (PyObject *) 0 ;
19908 PyObject *arg3 = (PyObject *) 0 ;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 PyObject * obj2 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self",(char *) "self",(char *) "_class", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 arg2 = obj1;
19919 arg3 = obj2;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 (arg1)->_setCallbackInfo(arg2,arg3);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 Py_INCREF(Py_None); resultobj = Py_None;
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj;
19936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19937 wxColour *arg2 = 0 ;
19938 bool result;
19939 wxColour temp2 ;
19940 PyObject * obj0 = 0 ;
19941 PyObject * obj1 = 0 ;
19942 char *kwnames[] = {
19943 (char *) "self",(char *) "col", NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19948 {
19949 arg2 = &temp2;
19950 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19951 }
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19955
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19967 PyObject *resultobj;
19968 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19969 wxColour *arg2 = 0 ;
19970 bool result;
19971 wxColour temp2 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self",(char *) "col", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19980 {
19981 arg2 = &temp2;
19982 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19983 }
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20001 int arg2 ;
20002 wxListItem *result;
20003 PyObject * obj0 = 0 ;
20004 PyObject * obj1 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "col", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20011 {
20012 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 {
20023 resultobj = wxPyMake_wxObject(result);
20024 }
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20034 int arg2 ;
20035 wxListItem *arg3 = 0 ;
20036 bool result;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 PyObject * obj2 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "col",(char *) "item", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 {
20047 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20051 if (arg3 == NULL) {
20052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20053 }
20054 {
20055 PyThreadState* __tstate = wxPyBeginAllowThreads();
20056 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20057
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20062 return resultobj;
20063 fail:
20064 return NULL;
20065 }
20066
20067
20068 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj;
20070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20071 int arg2 ;
20072 int result;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "col", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20081 {
20082 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 resultobj = SWIG_PyObj_FromInt((int)result);
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj;
20101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20102 int arg2 ;
20103 int arg3 ;
20104 bool result;
20105 PyObject * obj0 = 0 ;
20106 PyObject * obj1 = 0 ;
20107 PyObject * obj2 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self",(char *) "col",(char *) "width", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20114 {
20115 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 {
20119 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20120 if (PyErr_Occurred()) SWIG_fail;
20121 }
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20125
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj;
20138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20139 int result;
20140 PyObject * obj0 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = SWIG_PyObj_FromInt((int)result);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20164 wxRect result;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 wxRect * resultptr;
20181 resultptr = new wxRect((wxRect &) result);
20182 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20183 }
20184 return resultobj;
20185 fail:
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20193 long arg2 ;
20194 int arg3 = (int) 0 ;
20195 wxListItem *result;
20196 PyObject * obj0 = 0 ;
20197 PyObject * obj1 = 0 ;
20198 PyObject * obj2 = 0 ;
20199 char *kwnames[] = {
20200 (char *) "self",(char *) "itemId",(char *) "col", NULL
20201 };
20202
20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20205 {
20206 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 if (obj2) {
20210 {
20211 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 }
20214 }
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20218
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 {
20223 resultobj = wxPyMake_wxObject(result);
20224 }
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20234 wxListItem *arg2 = 0 ;
20235 bool result;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self",(char *) "info", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20245 if (arg2 == NULL) {
20246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20247 }
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (bool)(arg1)->SetItem(*arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20265 long arg2 ;
20266 int arg3 ;
20267 wxString *arg4 = 0 ;
20268 int arg5 = (int) -1 ;
20269 long result;
20270 bool temp4 = False ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 PyObject * obj2 = 0 ;
20274 PyObject * obj3 = 0 ;
20275 PyObject * obj4 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20278 };
20279
20280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20282 {
20283 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 {
20287 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 }
20290 {
20291 arg4 = wxString_in_helper(obj3);
20292 if (arg4 == NULL) SWIG_fail;
20293 temp4 = True;
20294 }
20295 if (obj4) {
20296 {
20297 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20298 if (PyErr_Occurred()) SWIG_fail;
20299 }
20300 }
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 resultobj = SWIG_PyObj_FromLong((long)result);
20309 {
20310 if (temp4)
20311 delete arg4;
20312 }
20313 return resultobj;
20314 fail:
20315 {
20316 if (temp4)
20317 delete arg4;
20318 }
20319 return NULL;
20320 }
20321
20322
20323 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj;
20325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20326 long arg2 ;
20327 long arg3 ;
20328 int result;
20329 PyObject * obj0 = 0 ;
20330 PyObject * obj1 = 0 ;
20331 PyObject * obj2 = 0 ;
20332 char *kwnames[] = {
20333 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20334 };
20335
20336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20338 {
20339 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 {
20343 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 resultobj = SWIG_PyObj_FromInt((int)result);
20354 return resultobj;
20355 fail:
20356 return NULL;
20357 }
20358
20359
20360 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20361 PyObject *resultobj;
20362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20363 long arg2 ;
20364 long arg3 ;
20365 long arg4 ;
20366 bool result;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 PyObject * obj2 = 0 ;
20370 PyObject * obj3 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20377 {
20378 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 {
20386 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20387 if (PyErr_Occurred()) SWIG_fail;
20388 }
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20406 long arg2 ;
20407 int arg3 ;
20408 int arg4 ;
20409 bool result;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 PyObject * obj2 = 0 ;
20413 PyObject * obj3 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20420 {
20421 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 {
20425 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20449 long arg2 ;
20450 wxString result;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "item", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20459 {
20460 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 {
20471 #if wxUSE_UNICODE
20472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20473 #else
20474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20475 #endif
20476 }
20477 return resultobj;
20478 fail:
20479 return NULL;
20480 }
20481
20482
20483 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20484 PyObject *resultobj;
20485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20486 long arg2 ;
20487 wxString *arg3 = 0 ;
20488 bool temp3 = False ;
20489 PyObject * obj0 = 0 ;
20490 PyObject * obj1 = 0 ;
20491 PyObject * obj2 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self",(char *) "item",(char *) "str", NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20498 {
20499 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 {
20503 arg3 = wxString_in_helper(obj2);
20504 if (arg3 == NULL) SWIG_fail;
20505 temp3 = True;
20506 }
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 Py_INCREF(Py_None); resultobj = Py_None;
20515 {
20516 if (temp3)
20517 delete arg3;
20518 }
20519 return resultobj;
20520 fail:
20521 {
20522 if (temp3)
20523 delete arg3;
20524 }
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20532 long arg2 ;
20533 long result;
20534 PyObject * obj0 = 0 ;
20535 PyObject * obj1 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self",(char *) "item", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20542 {
20543 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20549
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 resultobj = SWIG_PyObj_FromLong((long)result);
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20563 long arg2 ;
20564 long arg3 ;
20565 bool result;
20566 PyObject * obj0 = 0 ;
20567 PyObject * obj1 = 0 ;
20568 PyObject * obj2 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self",(char *) "item",(char *) "data", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20575 {
20576 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 {
20580 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 result = (bool)(arg1)->SetItemData(arg2,arg3);
20586
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20591 return resultobj;
20592 fail:
20593 return NULL;
20594 }
20595
20596
20597 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20598 PyObject *resultobj;
20599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20600 long arg2 ;
20601 wxPoint result;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self",(char *) "item", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20610 {
20611 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 {
20622 wxPoint * resultptr;
20623 resultptr = new wxPoint((wxPoint &) result);
20624 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20625 }
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20635 long arg2 ;
20636 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20637 wxRect result;
20638 PyObject * obj0 = 0 ;
20639 PyObject * obj1 = 0 ;
20640 PyObject * obj2 = 0 ;
20641 char *kwnames[] = {
20642 (char *) "self",(char *) "item",(char *) "code", NULL
20643 };
20644
20645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20647 {
20648 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
20651 if (obj2) {
20652 {
20653 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 }
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 {
20665 wxRect * resultptr;
20666 resultptr = new wxRect((wxRect &) result);
20667 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20668 }
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj;
20677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20678 long arg2 ;
20679 wxPoint *arg3 = 0 ;
20680 bool result;
20681 wxPoint temp3 ;
20682 PyObject * obj0 = 0 ;
20683 PyObject * obj1 = 0 ;
20684 PyObject * obj2 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self",(char *) "item",(char *) "pos", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20691 {
20692 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 {
20696 arg3 = &temp3;
20697 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20698 }
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20716 int result;
20717 PyObject * obj0 = 0 ;
20718 char *kwnames[] = {
20719 (char *) "self", NULL
20720 };
20721
20722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20724 {
20725 PyThreadState* __tstate = wxPyBeginAllowThreads();
20726 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20727
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 resultobj = SWIG_PyObj_FromInt((int)result);
20732 return resultobj;
20733 fail:
20734 return NULL;
20735 }
20736
20737
20738 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20741 int result;
20742 PyObject * obj0 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 resultobj = SWIG_PyObj_FromInt((int)result);
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj;
20765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20766 wxSize result;
20767 PyObject * obj0 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
20781 {
20782 wxSize * resultptr;
20783 resultptr = new wxSize((wxSize &) result);
20784 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20785 }
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20795 int arg2 ;
20796 bool arg3 = (bool) False ;
20797 PyObject * obj0 = 0 ;
20798 PyObject * obj1 = 0 ;
20799 PyObject * obj2 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20806 {
20807 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 if (obj2) {
20811 {
20812 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
20815 }
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 (arg1)->SetItemSpacing(arg2,arg3);
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 Py_INCREF(Py_None); resultobj = Py_None;
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20833 int result;
20834 PyObject * obj0 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_PyObj_FromInt((int)result);
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20858 wxColour result;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 {
20874 wxColour * resultptr;
20875 resultptr = new wxColour((wxColour &) result);
20876 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj;
20886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20887 wxColour *arg2 = 0 ;
20888 wxColour temp2 ;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "col", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 {
20898 arg2 = &temp2;
20899 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20900 }
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 (arg1)->SetTextColour((wxColour const &)*arg2);
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 Py_INCREF(Py_None); resultobj = Py_None;
20909 return resultobj;
20910 fail:
20911 return NULL;
20912 }
20913
20914
20915 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20916 PyObject *resultobj;
20917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20918 long result;
20919 PyObject * obj0 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20929
20930 wxPyEndAllowThreads(__tstate);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 resultobj = SWIG_PyObj_FromLong((long)result);
20934 return resultobj;
20935 fail:
20936 return NULL;
20937 }
20938
20939
20940 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20941 PyObject *resultobj;
20942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20943 long arg2 ;
20944 bool arg3 = (bool) True ;
20945 PyObject * obj0 = 0 ;
20946 PyObject * obj1 = 0 ;
20947 PyObject * obj2 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "self",(char *) "style",(char *) "add", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20954 {
20955 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 if (obj2) {
20959 {
20960 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 }
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 (arg1)->SetSingleStyle(arg2,arg3);
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 Py_INCREF(Py_None); resultobj = Py_None;
20972 return resultobj;
20973 fail:
20974 return NULL;
20975 }
20976
20977
20978 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20979 PyObject *resultobj;
20980 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20981 long arg2 ;
20982 PyObject * obj0 = 0 ;
20983 PyObject * obj1 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self",(char *) "style", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 {
20991 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 (arg1)->SetWindowStyleFlag(arg2);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 Py_INCREF(Py_None); resultobj = Py_None;
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21011 long arg2 ;
21012 int arg3 = (int) wxLIST_NEXT_ALL ;
21013 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21014 long result;
21015 PyObject * obj0 = 0 ;
21016 PyObject * obj1 = 0 ;
21017 PyObject * obj2 = 0 ;
21018 PyObject * obj3 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21025 {
21026 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 if (obj2) {
21030 {
21031 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 }
21035 if (obj3) {
21036 {
21037 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 }
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_PyObj_FromLong((long)result);
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21058 int arg2 ;
21059 wxImageList *result;
21060 PyObject * obj0 = 0 ;
21061 PyObject * obj1 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self",(char *) "which", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21068 {
21069 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 {
21080 resultobj = wxPyMake_wxObject(result);
21081 }
21082 return resultobj;
21083 fail:
21084 return NULL;
21085 }
21086
21087
21088 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21091 wxImageList *arg2 = (wxImageList *) 0 ;
21092 int arg3 ;
21093 PyObject * obj0 = 0 ;
21094 PyObject * obj1 = 0 ;
21095 PyObject * obj2 = 0 ;
21096 char *kwnames[] = {
21097 (char *) "self",(char *) "imageList",(char *) "which", NULL
21098 };
21099
21100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21103 {
21104 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 PyThreadState* __tstate = wxPyBeginAllowThreads();
21109 (arg1)->SetImageList(arg2,arg3);
21110
21111 wxPyEndAllowThreads(__tstate);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 }
21114 Py_INCREF(Py_None); resultobj = Py_None;
21115 return resultobj;
21116 fail:
21117 return NULL;
21118 }
21119
21120
21121 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21122 PyObject *resultobj;
21123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21124 wxImageList *arg2 = (wxImageList *) 0 ;
21125 int arg3 ;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 PyObject * obj2 = 0 ;
21129 char *kwnames[] = {
21130 (char *) "self",(char *) "imageList",(char *) "which", NULL
21131 };
21132
21133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21136 {
21137 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 (arg1)->AssignImageList(arg2,arg3);
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 Py_INCREF(Py_None); resultobj = Py_None;
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21157 bool result;
21158 PyObject * obj0 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21173 return resultobj;
21174 fail:
21175 return NULL;
21176 }
21177
21178
21179 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj;
21181 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21182 long arg2 ;
21183 PyObject * obj0 = 0 ;
21184 PyObject * obj1 = 0 ;
21185 char *kwnames[] = {
21186 (char *) "self",(char *) "item", NULL
21187 };
21188
21189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21191 {
21192 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 {
21196 PyThreadState* __tstate = wxPyBeginAllowThreads();
21197 (arg1)->RefreshItem(arg2);
21198
21199 wxPyEndAllowThreads(__tstate);
21200 if (PyErr_Occurred()) SWIG_fail;
21201 }
21202 Py_INCREF(Py_None); resultobj = Py_None;
21203 return resultobj;
21204 fail:
21205 return NULL;
21206 }
21207
21208
21209 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21210 PyObject *resultobj;
21211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21212 long arg2 ;
21213 long arg3 ;
21214 PyObject * obj0 = 0 ;
21215 PyObject * obj1 = 0 ;
21216 PyObject * obj2 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21223 {
21224 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 {
21228 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 (arg1)->RefreshItems(arg2,arg3);
21234
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 Py_INCREF(Py_None); resultobj = Py_None;
21239 return resultobj;
21240 fail:
21241 return NULL;
21242 }
21243
21244
21245 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21246 PyObject *resultobj;
21247 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21248 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21249 bool result;
21250 PyObject * obj0 = 0 ;
21251 PyObject * obj1 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self",(char *) "flag", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21258 if (obj1) {
21259 {
21260 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 }
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (bool)(arg1)->Arrange(arg2);
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21272 return resultobj;
21273 fail:
21274 return NULL;
21275 }
21276
21277
21278 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21279 PyObject *resultobj;
21280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21281 long arg2 ;
21282 bool result;
21283 PyObject * obj0 = 0 ;
21284 PyObject * obj1 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "item", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21291 {
21292 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 {
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 result = (bool)(arg1)->DeleteItem(arg2);
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21303 return resultobj;
21304 fail:
21305 return NULL;
21306 }
21307
21308
21309 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj;
21311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21312 bool result;
21313 PyObject * obj0 = 0 ;
21314 char *kwnames[] = {
21315 (char *) "self", NULL
21316 };
21317
21318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 result = (bool)(arg1)->DeleteAllItems();
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21337 int arg2 ;
21338 bool result;
21339 PyObject * obj0 = 0 ;
21340 PyObject * obj1 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self",(char *) "col", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21347 {
21348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 result = (bool)(arg1)->DeleteColumn(arg2);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21359 return resultobj;
21360 fail:
21361 return NULL;
21362 }
21363
21364
21365 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21368 bool result;
21369 PyObject * obj0 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 result = (bool)(arg1)->DeleteAllColumns();
21379
21380 wxPyEndAllowThreads(__tstate);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21384 return resultobj;
21385 fail:
21386 return NULL;
21387 }
21388
21389
21390 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj;
21392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21393 PyObject * obj0 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 (arg1)->ClearAll();
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 Py_INCREF(Py_None); resultobj = Py_None;
21408 return resultobj;
21409 fail:
21410 return NULL;
21411 }
21412
21413
21414 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21415 PyObject *resultobj;
21416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21417 long arg2 ;
21418 PyObject * obj0 = 0 ;
21419 PyObject * obj1 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self",(char *) "item", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 {
21427 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 (arg1)->EditLabel(arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 Py_INCREF(Py_None); resultobj = Py_None;
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21447 long arg2 ;
21448 bool result;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self",(char *) "item", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21457 {
21458 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 result = (bool)(arg1)->EnsureVisible(arg2);
21464
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21478 long arg2 ;
21479 wxString *arg3 = 0 ;
21480 bool arg4 = (bool) False ;
21481 long result;
21482 bool temp3 = False ;
21483 PyObject * obj0 = 0 ;
21484 PyObject * obj1 = 0 ;
21485 PyObject * obj2 = 0 ;
21486 PyObject * obj3 = 0 ;
21487 char *kwnames[] = {
21488 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21489 };
21490
21491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21493 {
21494 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
21497 {
21498 arg3 = wxString_in_helper(obj2);
21499 if (arg3 == NULL) SWIG_fail;
21500 temp3 = True;
21501 }
21502 if (obj3) {
21503 {
21504 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 }
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 resultobj = SWIG_PyObj_FromLong((long)result);
21516 {
21517 if (temp3)
21518 delete arg3;
21519 }
21520 return resultobj;
21521 fail:
21522 {
21523 if (temp3)
21524 delete arg3;
21525 }
21526 return NULL;
21527 }
21528
21529
21530 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21533 long arg2 ;
21534 long arg3 ;
21535 long result;
21536 PyObject * obj0 = 0 ;
21537 PyObject * obj1 = 0 ;
21538 PyObject * obj2 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "start",(char *) "data", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 {
21546 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 result = (long)(arg1)->FindItem(arg2,arg3);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 resultobj = SWIG_PyObj_FromLong((long)result);
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21570 long arg2 ;
21571 wxPoint *arg3 = 0 ;
21572 int arg4 ;
21573 long result;
21574 wxPoint temp3 ;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 PyObject * obj2 = 0 ;
21578 PyObject * obj3 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 arg3 = &temp3;
21591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21592 }
21593 {
21594 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 resultobj = SWIG_PyObj_FromLong((long)result);
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21614 wxPoint *arg2 = 0 ;
21615 int *arg3 = 0 ;
21616 long result;
21617 wxPoint temp2 ;
21618 int temp3 ;
21619 PyObject * obj0 = 0 ;
21620 PyObject * obj1 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "point", NULL
21623 };
21624
21625 arg3 = &temp3;
21626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21628 {
21629 arg2 = &temp2;
21630 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 resultobj = SWIG_PyObj_FromLong((long)result);
21640 {
21641 PyObject *o = PyInt_FromLong((long) (*arg3));
21642 resultobj = t_output_helper(resultobj,o);
21643 }
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21653 wxListItem *arg2 = 0 ;
21654 long result;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 char *kwnames[] = {
21658 (char *) "self",(char *) "info", NULL
21659 };
21660
21661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21664 if (arg2 == NULL) {
21665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21666 }
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (long)(arg1)->InsertItem(*arg2);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 resultobj = SWIG_PyObj_FromLong((long)result);
21675 return resultobj;
21676 fail:
21677 return NULL;
21678 }
21679
21680
21681 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21684 long arg2 ;
21685 wxString *arg3 = 0 ;
21686 long result;
21687 bool temp3 = False ;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690 PyObject * obj2 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self",(char *) "index",(char *) "label", NULL
21693 };
21694
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21697 {
21698 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 {
21702 arg3 = wxString_in_helper(obj2);
21703 if (arg3 == NULL) SWIG_fail;
21704 temp3 = True;
21705 }
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 resultobj = SWIG_PyObj_FromLong((long)result);
21714 {
21715 if (temp3)
21716 delete arg3;
21717 }
21718 return resultobj;
21719 fail:
21720 {
21721 if (temp3)
21722 delete arg3;
21723 }
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21731 long arg2 ;
21732 int arg3 ;
21733 long result;
21734 PyObject * obj0 = 0 ;
21735 PyObject * obj1 = 0 ;
21736 PyObject * obj2 = 0 ;
21737 char *kwnames[] = {
21738 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21739 };
21740
21741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21743 {
21744 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 {
21748 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 result = (long)(arg1)->InsertItem(arg2,arg3);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 resultobj = SWIG_PyObj_FromLong((long)result);
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21768 long arg2 ;
21769 wxString *arg3 = 0 ;
21770 int arg4 ;
21771 long result;
21772 bool temp3 = False ;
21773 PyObject * obj0 = 0 ;
21774 PyObject * obj1 = 0 ;
21775 PyObject * obj2 = 0 ;
21776 PyObject * obj3 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21783 {
21784 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 {
21788 arg3 = wxString_in_helper(obj2);
21789 if (arg3 == NULL) SWIG_fail;
21790 temp3 = True;
21791 }
21792 {
21793 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 {
21797 PyThreadState* __tstate = wxPyBeginAllowThreads();
21798 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21799
21800 wxPyEndAllowThreads(__tstate);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 }
21803 resultobj = SWIG_PyObj_FromLong((long)result);
21804 {
21805 if (temp3)
21806 delete arg3;
21807 }
21808 return resultobj;
21809 fail:
21810 {
21811 if (temp3)
21812 delete arg3;
21813 }
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21821 long arg2 ;
21822 wxListItem *arg3 = 0 ;
21823 long result;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 PyObject * obj2 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "self",(char *) "col",(char *) "info", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21833 {
21834 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21838 if (arg3 == NULL) {
21839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21840 }
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 resultobj = SWIG_PyObj_FromLong((long)result);
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj;
21857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21858 long arg2 ;
21859 wxString *arg3 = 0 ;
21860 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21861 int arg5 = (int) -1 ;
21862 long result;
21863 bool temp3 = False ;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 PyObject * obj2 = 0 ;
21867 PyObject * obj3 = 0 ;
21868 PyObject * obj4 = 0 ;
21869 char *kwnames[] = {
21870 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21871 };
21872
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21875 {
21876 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 {
21880 arg3 = wxString_in_helper(obj2);
21881 if (arg3 == NULL) SWIG_fail;
21882 temp3 = True;
21883 }
21884 if (obj3) {
21885 {
21886 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 }
21890 if (obj4) {
21891 {
21892 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 }
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 resultobj = SWIG_PyObj_FromLong((long)result);
21904 {
21905 if (temp3)
21906 delete arg3;
21907 }
21908 return resultobj;
21909 fail:
21910 {
21911 if (temp3)
21912 delete arg3;
21913 }
21914 return NULL;
21915 }
21916
21917
21918 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21921 long arg2 ;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "count", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 {
21931 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 (arg1)->SetItemCount(arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 Py_INCREF(Py_None); resultobj = Py_None;
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj;
21950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21951 int arg2 ;
21952 int arg3 ;
21953 bool result;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "dx",(char *) "dy", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21963 {
21964 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 {
21972 PyThreadState* __tstate = wxPyBeginAllowThreads();
21973 result = (bool)(arg1)->ScrollList(arg2,arg3);
21974
21975 wxPyEndAllowThreads(__tstate);
21976 if (PyErr_Occurred()) SWIG_fail;
21977 }
21978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21979 return resultobj;
21980 fail:
21981 return NULL;
21982 }
21983
21984
21985 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21986 PyObject *resultobj;
21987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21988 long arg2 ;
21989 wxColour *arg3 = 0 ;
21990 wxColour temp3 ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 PyObject * obj2 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self",(char *) "item",(char *) "col", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22000 {
22001 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 {
22005 arg3 = &temp3;
22006 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22007 }
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 Py_INCREF(Py_None); resultobj = Py_None;
22016 return resultobj;
22017 fail:
22018 return NULL;
22019 }
22020
22021
22022 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22025 long arg2 ;
22026 wxColour result;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "item", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22035 {
22036 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 {
22047 wxColour * resultptr;
22048 resultptr = new wxColour((wxColour &) result);
22049 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22060 long arg2 ;
22061 wxColour *arg3 = 0 ;
22062 wxColour temp3 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 PyObject * obj2 = 0 ;
22066 char *kwnames[] = {
22067 (char *) "self",(char *) "item",(char *) "col", NULL
22068 };
22069
22070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22072 {
22073 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 {
22077 arg3 = &temp3;
22078 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22079 }
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 Py_INCREF(Py_None); resultobj = Py_None;
22088 return resultobj;
22089 fail:
22090 return NULL;
22091 }
22092
22093
22094 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22097 long arg2 ;
22098 wxColour result;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "item", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22107 {
22108 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 {
22119 wxColour * resultptr;
22120 resultptr = new wxColour((wxColour &) result);
22121 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22122 }
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22132 PyObject *arg2 = (PyObject *) 0 ;
22133 bool result;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self",(char *) "func", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22142 arg2 = obj1;
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22146
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22151 return resultobj;
22152 fail:
22153 return NULL;
22154 }
22155
22156
22157 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22158 PyObject *resultobj;
22159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22160 wxWindow *result;
22161 PyObject * obj0 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 {
22176 resultobj = wxPyMake_wxObject(result);
22177 }
22178 return resultobj;
22179 fail:
22180 return NULL;
22181 }
22182
22183
22184 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22185 PyObject *obj;
22186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22187 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22188 Py_INCREF(obj);
22189 return Py_BuildValue((char *)"");
22190 }
22191 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxWindow *arg1 = (wxWindow *) 0 ;
22194 int arg2 = (int) -1 ;
22195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22197 wxSize const &arg4_defvalue = wxDefaultSize ;
22198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22199 long arg5 = (long) wxLC_REPORT ;
22200 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22201 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22202 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22203 wxString *arg7 = (wxString *) &arg7_defvalue ;
22204 wxListView *result;
22205 wxPoint temp3 ;
22206 wxSize temp4 ;
22207 bool temp7 = False ;
22208 PyObject * obj0 = 0 ;
22209 PyObject * obj1 = 0 ;
22210 PyObject * obj2 = 0 ;
22211 PyObject * obj3 = 0 ;
22212 PyObject * obj4 = 0 ;
22213 PyObject * obj5 = 0 ;
22214 PyObject * obj6 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22221 if (obj1) {
22222 {
22223 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 }
22227 if (obj2) {
22228 {
22229 arg3 = &temp3;
22230 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22231 }
22232 }
22233 if (obj3) {
22234 {
22235 arg4 = &temp4;
22236 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22237 }
22238 }
22239 if (obj4) {
22240 {
22241 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 }
22245 if (obj5) {
22246 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22247 if (arg6 == NULL) {
22248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22249 }
22250 }
22251 if (obj6) {
22252 {
22253 arg7 = wxString_in_helper(obj6);
22254 if (arg7 == NULL) SWIG_fail;
22255 temp7 = True;
22256 }
22257 }
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22261
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22266 {
22267 if (temp7)
22268 delete arg7;
22269 }
22270 return resultobj;
22271 fail:
22272 {
22273 if (temp7)
22274 delete arg7;
22275 }
22276 return NULL;
22277 }
22278
22279
22280 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22281 PyObject *resultobj;
22282 wxListView *result;
22283 char *kwnames[] = {
22284 NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (wxListView *)new wxListView();
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22296 return resultobj;
22297 fail:
22298 return NULL;
22299 }
22300
22301
22302 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj;
22304 wxListView *arg1 = (wxListView *) 0 ;
22305 wxWindow *arg2 = (wxWindow *) 0 ;
22306 int arg3 = (int) -1 ;
22307 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22308 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22309 wxSize const &arg5_defvalue = wxDefaultSize ;
22310 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22311 long arg6 = (long) wxLC_REPORT ;
22312 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22313 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22314 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22315 wxString *arg8 = (wxString *) &arg8_defvalue ;
22316 bool result;
22317 wxPoint temp4 ;
22318 wxSize temp5 ;
22319 bool temp8 = False ;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 PyObject * obj2 = 0 ;
22323 PyObject * obj3 = 0 ;
22324 PyObject * obj4 = 0 ;
22325 PyObject * obj5 = 0 ;
22326 PyObject * obj6 = 0 ;
22327 PyObject * obj7 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22335 if (obj2) {
22336 {
22337 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 }
22341 if (obj3) {
22342 {
22343 arg4 = &temp4;
22344 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22345 }
22346 }
22347 if (obj4) {
22348 {
22349 arg5 = &temp5;
22350 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22351 }
22352 }
22353 if (obj5) {
22354 {
22355 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 }
22359 if (obj6) {
22360 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22361 if (arg7 == NULL) {
22362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22363 }
22364 }
22365 if (obj7) {
22366 {
22367 arg8 = wxString_in_helper(obj7);
22368 if (arg8 == NULL) SWIG_fail;
22369 temp8 = True;
22370 }
22371 }
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22380 {
22381 if (temp8)
22382 delete arg8;
22383 }
22384 return resultobj;
22385 fail:
22386 {
22387 if (temp8)
22388 delete arg8;
22389 }
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxListView *arg1 = (wxListView *) 0 ;
22397 long arg2 ;
22398 bool arg3 = (bool) True ;
22399 PyObject * obj0 = 0 ;
22400 PyObject * obj1 = 0 ;
22401 PyObject * obj2 = 0 ;
22402 char *kwnames[] = {
22403 (char *) "self",(char *) "n",(char *) "on", NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22408 {
22409 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 if (obj2) {
22413 {
22414 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 }
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 (arg1)->Select(arg2,arg3);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 Py_INCREF(Py_None); resultobj = Py_None;
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxListView *arg1 = (wxListView *) 0 ;
22435 long arg2 ;
22436 PyObject * obj0 = 0 ;
22437 PyObject * obj1 = 0 ;
22438 char *kwnames[] = {
22439 (char *) "self",(char *) "index", NULL
22440 };
22441
22442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22444 {
22445 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 (arg1)->Focus(arg2);
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 Py_INCREF(Py_None); resultobj = Py_None;
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxListView *arg1 = (wxListView *) 0 ;
22465 long result;
22466 PyObject * obj0 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 resultobj = SWIG_PyObj_FromLong((long)result);
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxListView *arg1 = (wxListView *) 0 ;
22490 long arg2 ;
22491 long result;
22492 PyObject * obj0 = 0 ;
22493 PyObject * obj1 = 0 ;
22494 char *kwnames[] = {
22495 (char *) "self",(char *) "item", NULL
22496 };
22497
22498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22500 {
22501 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22507
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 resultobj = SWIG_PyObj_FromLong((long)result);
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxListView *arg1 = (wxListView *) 0 ;
22521 long result;
22522 PyObject * obj0 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22532
22533 wxPyEndAllowThreads(__tstate);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 resultobj = SWIG_PyObj_FromLong((long)result);
22537 return resultobj;
22538 fail:
22539 return NULL;
22540 }
22541
22542
22543 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22544 PyObject *resultobj;
22545 wxListView *arg1 = (wxListView *) 0 ;
22546 long arg2 ;
22547 bool result;
22548 PyObject * obj0 = 0 ;
22549 PyObject * obj1 = 0 ;
22550 char *kwnames[] = {
22551 (char *) "self",(char *) "index", NULL
22552 };
22553
22554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22556 {
22557 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 result = (bool)(arg1)->IsSelected(arg2);
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22568 return resultobj;
22569 fail:
22570 return NULL;
22571 }
22572
22573
22574 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22575 PyObject *resultobj;
22576 wxListView *arg1 = (wxListView *) 0 ;
22577 int arg2 ;
22578 int arg3 ;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 PyObject * obj2 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self",(char *) "col",(char *) "image", NULL
22584 };
22585
22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22588 {
22589 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 {
22593 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 {
22597 PyThreadState* __tstate = wxPyBeginAllowThreads();
22598 (arg1)->SetColumnImage(arg2,arg3);
22599
22600 wxPyEndAllowThreads(__tstate);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 Py_INCREF(Py_None); resultobj = Py_None;
22604 return resultobj;
22605 fail:
22606 return NULL;
22607 }
22608
22609
22610 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 wxListView *arg1 = (wxListView *) 0 ;
22613 int arg2 ;
22614 PyObject * obj0 = 0 ;
22615 PyObject * obj1 = 0 ;
22616 char *kwnames[] = {
22617 (char *) "self",(char *) "col", NULL
22618 };
22619
22620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22622 {
22623 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 (arg1)->ClearColumnImage(arg2);
22629
22630 wxPyEndAllowThreads(__tstate);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
22633 Py_INCREF(Py_None); resultobj = Py_None;
22634 return resultobj;
22635 fail:
22636 return NULL;
22637 }
22638
22639
22640 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22641 PyObject *obj;
22642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22643 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22644 Py_INCREF(obj);
22645 return Py_BuildValue((char *)"");
22646 }
22647 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
22648 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22649 return 1;
22650 }
22651
22652
22653 static PyObject *_wrap_TreeCtrlNameStr_get() {
22654 PyObject *pyobj;
22655
22656 {
22657 #if wxUSE_UNICODE
22658 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22659 #else
22660 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22661 #endif
22662 }
22663 return pyobj;
22664 }
22665
22666
22667 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxTreeItemId *result;
22670 char *kwnames[] = {
22671 NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (wxTreeItemId *)new wxTreeItemId();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 delete arg1;
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 Py_INCREF(Py_None); resultobj = Py_None;
22707 return resultobj;
22708 fail:
22709 return NULL;
22710 }
22711
22712
22713 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22714 PyObject *resultobj;
22715 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22716 bool result;
22717 PyObject * obj0 = 0 ;
22718 char *kwnames[] = {
22719 (char *) "self", NULL
22720 };
22721
22722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22741 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22742 bool result;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "other", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22769 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22770 bool result;
22771 PyObject * obj0 = 0 ;
22772 PyObject * obj1 = 0 ;
22773 char *kwnames[] = {
22774 (char *) "self",(char *) "other", NULL
22775 };
22776
22777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22797 void *arg2 = (void *) 0 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self",(char *) "m_pItem", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22807 if (arg1) (arg1)->m_pItem = arg2;
22808
22809 Py_INCREF(Py_None); resultobj = Py_None;
22810 return resultobj;
22811 fail:
22812 return NULL;
22813 }
22814
22815
22816 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22817 PyObject *resultobj;
22818 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22819 void *result;
22820 PyObject * obj0 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22827 result = (void *) ((arg1)->m_pItem);
22828
22829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22830 return resultobj;
22831 fail:
22832 return NULL;
22833 }
22834
22835
22836 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22837 PyObject *obj;
22838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22839 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22840 Py_INCREF(obj);
22841 return Py_BuildValue((char *)"");
22842 }
22843 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj;
22845 PyObject *arg1 = (PyObject *) NULL ;
22846 wxPyTreeItemData *result;
22847 PyObject * obj0 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "obj", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22853 if (obj0) {
22854 arg1 = obj0;
22855 }
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
22864 return resultobj;
22865 fail:
22866 return NULL;
22867 }
22868
22869
22870 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22873 PyObject *result;
22874 PyObject * obj0 = 0 ;
22875 char *kwnames[] = {
22876 (char *) "self", NULL
22877 };
22878
22879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 result = (PyObject *)(arg1)->GetData();
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = result;
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22898 PyObject *arg2 = (PyObject *) 0 ;
22899 PyObject * obj0 = 0 ;
22900 PyObject * obj1 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "obj", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22907 arg2 = obj1;
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 (arg1)->SetData(arg2);
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 Py_INCREF(Py_None); resultobj = Py_None;
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22925 wxTreeItemId *result;
22926 PyObject * obj0 = 0 ;
22927 char *kwnames[] = {
22928 (char *) "self", NULL
22929 };
22930
22931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 {
22936 wxTreeItemId const &_result_ref = (arg1)->GetId();
22937 result = (wxTreeItemId *) &_result_ref;
22938 }
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22953 wxTreeItemId *arg2 = 0 ;
22954 PyObject * obj0 = 0 ;
22955 PyObject * obj1 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self",(char *) "id", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22963 if (arg2 == NULL) {
22964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22965 }
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 (arg1)->SetId((wxTreeItemId const &)*arg2);
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 Py_INCREF(Py_None); resultobj = Py_None;
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
22981 PyObject *resultobj;
22982 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22983 PyObject * obj0 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 wxPyTreeItemData_Destroy(arg1);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 Py_INCREF(Py_None); resultobj = Py_None;
22998 return resultobj;
22999 fail:
23000 return NULL;
23001 }
23002
23003
23004 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23005 PyObject *obj;
23006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23007 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23008 Py_INCREF(obj);
23009 return Py_BuildValue((char *)"");
23010 }
23011 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23014 int arg2 = (int) 0 ;
23015 wxTreeEvent *result;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "commandType",(char *) "id", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23023 if (obj0) {
23024 {
23025 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 }
23029 if (obj1) {
23030 {
23031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 }
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23052 wxTreeItemId result;
23053 PyObject * obj0 = 0 ;
23054 char *kwnames[] = {
23055 (char *) "self", NULL
23056 };
23057
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = ((wxTreeEvent const *)arg1)->GetItem();
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 {
23068 wxTreeItemId * resultptr;
23069 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23071 }
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23081 wxTreeItemId *arg2 = 0 ;
23082 PyObject * obj0 = 0 ;
23083 PyObject * obj1 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self",(char *) "item", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,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)->SetItem((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_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23111 wxTreeItemId result;
23112 PyObject * obj0 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 {
23127 wxTreeItemId * resultptr;
23128 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23129 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23130 }
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23140 wxTreeItemId *arg2 = 0 ;
23141 PyObject * obj0 = 0 ;
23142 PyObject * obj1 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self",(char *) "item", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23150 if (arg2 == NULL) {
23151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23152 }
23153 {
23154 PyThreadState* __tstate = wxPyBeginAllowThreads();
23155 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23156
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 Py_INCREF(Py_None); resultobj = Py_None;
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23168 PyObject *resultobj;
23169 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23170 wxPoint result;
23171 PyObject * obj0 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = ((wxTreeEvent const *)arg1)->GetPoint();
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 {
23186 wxPoint * resultptr;
23187 resultptr = new wxPoint((wxPoint &) result);
23188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23189 }
23190 return resultobj;
23191 fail:
23192 return NULL;
23193 }
23194
23195
23196 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj;
23198 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23199 wxPoint *arg2 = 0 ;
23200 wxPoint temp2 ;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self",(char *) "pt", NULL
23205 };
23206
23207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23209 {
23210 arg2 = &temp2;
23211 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23212 }
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 (arg1)->SetPoint((wxPoint const &)*arg2);
23216
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
23220 Py_INCREF(Py_None); resultobj = Py_None;
23221 return resultobj;
23222 fail:
23223 return NULL;
23224 }
23225
23226
23227 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj;
23229 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23230 wxKeyEvent *result;
23231 PyObject * obj0 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 {
23241 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23242 result = (wxKeyEvent *) &_result_ref;
23243 }
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23249 return resultobj;
23250 fail:
23251 return NULL;
23252 }
23253
23254
23255 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23256 PyObject *resultobj;
23257 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23258 int result;
23259 PyObject * obj0 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 resultobj = SWIG_PyObj_FromInt((int)result);
23274 return resultobj;
23275 fail:
23276 return NULL;
23277 }
23278
23279
23280 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23283 wxKeyEvent *arg2 = 0 ;
23284 PyObject * obj0 = 0 ;
23285 PyObject * obj1 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self",(char *) "evt", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23293 if (arg2 == NULL) {
23294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23295 }
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 Py_INCREF(Py_None); resultobj = Py_None;
23304 return resultobj;
23305 fail:
23306 return NULL;
23307 }
23308
23309
23310 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23311 PyObject *resultobj;
23312 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23313 wxString *result;
23314 PyObject * obj0 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 {
23324 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23325 result = (wxString *) &_result_ref;
23326 }
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 {
23332 #if wxUSE_UNICODE
23333 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23334 #else
23335 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23336 #endif
23337 }
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23347 wxString *arg2 = 0 ;
23348 bool temp2 = False ;
23349 PyObject * obj0 = 0 ;
23350 PyObject * obj1 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self",(char *) "label", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23357 {
23358 arg2 = wxString_in_helper(obj1);
23359 if (arg2 == NULL) SWIG_fail;
23360 temp2 = True;
23361 }
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 (arg1)->SetLabel((wxString const &)*arg2);
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 Py_INCREF(Py_None); resultobj = Py_None;
23370 {
23371 if (temp2)
23372 delete arg2;
23373 }
23374 return resultobj;
23375 fail:
23376 {
23377 if (temp2)
23378 delete arg2;
23379 }
23380 return NULL;
23381 }
23382
23383
23384 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj;
23386 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23387 bool result;
23388 PyObject * obj0 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23398
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23412 bool arg2 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "editCancelled", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23421 {
23422 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 (arg1)->SetEditCanceled(arg2);
23428
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 Py_INCREF(Py_None); resultobj = Py_None;
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23442 wxString *arg2 = 0 ;
23443 bool temp2 = False ;
23444 PyObject * obj0 = 0 ;
23445 PyObject * obj1 = 0 ;
23446 char *kwnames[] = {
23447 (char *) "self",(char *) "toolTip", NULL
23448 };
23449
23450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23452 {
23453 arg2 = wxString_in_helper(obj1);
23454 if (arg2 == NULL) SWIG_fail;
23455 temp2 = True;
23456 }
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->SetToolTip((wxString const &)*arg2);
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 Py_INCREF(Py_None); resultobj = Py_None;
23465 {
23466 if (temp2)
23467 delete arg2;
23468 }
23469 return resultobj;
23470 fail:
23471 {
23472 if (temp2)
23473 delete arg2;
23474 }
23475 return NULL;
23476 }
23477
23478
23479 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23480 PyObject *obj;
23481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23482 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23483 Py_INCREF(obj);
23484 return Py_BuildValue((char *)"");
23485 }
23486 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23487 PyObject *resultobj;
23488 wxWindow *arg1 = (wxWindow *) 0 ;
23489 int arg2 = (int) -1 ;
23490 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23491 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23492 wxSize const &arg4_defvalue = wxDefaultSize ;
23493 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23494 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23495 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23496 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23497 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23498 wxString *arg7 = (wxString *) &arg7_defvalue ;
23499 wxPyTreeCtrl *result;
23500 wxPoint temp3 ;
23501 wxSize temp4 ;
23502 bool temp7 = False ;
23503 PyObject * obj0 = 0 ;
23504 PyObject * obj1 = 0 ;
23505 PyObject * obj2 = 0 ;
23506 PyObject * obj3 = 0 ;
23507 PyObject * obj4 = 0 ;
23508 PyObject * obj5 = 0 ;
23509 PyObject * obj6 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23516 if (obj1) {
23517 {
23518 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 }
23522 if (obj2) {
23523 {
23524 arg3 = &temp3;
23525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23526 }
23527 }
23528 if (obj3) {
23529 {
23530 arg4 = &temp4;
23531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23532 }
23533 }
23534 if (obj4) {
23535 {
23536 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 }
23540 if (obj5) {
23541 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23542 if (arg6 == NULL) {
23543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23544 }
23545 }
23546 if (obj6) {
23547 {
23548 arg7 = wxString_in_helper(obj6);
23549 if (arg7 == NULL) SWIG_fail;
23550 temp7 = True;
23551 }
23552 }
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 resultobj = wxPyMake_wxObject(result);
23562 }
23563 {
23564 if (temp7)
23565 delete arg7;
23566 }
23567 return resultobj;
23568 fail:
23569 {
23570 if (temp7)
23571 delete arg7;
23572 }
23573 return NULL;
23574 }
23575
23576
23577 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23578 PyObject *resultobj;
23579 wxPyTreeCtrl *result;
23580 char *kwnames[] = {
23581 NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 {
23593 resultobj = wxPyMake_wxObject(result);
23594 }
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23604 wxWindow *arg2 = (wxWindow *) 0 ;
23605 int arg3 = (int) -1 ;
23606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23608 wxSize const &arg5_defvalue = wxDefaultSize ;
23609 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23610 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23611 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23612 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23613 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23614 wxString *arg8 = (wxString *) &arg8_defvalue ;
23615 bool result;
23616 wxPoint temp4 ;
23617 wxSize temp5 ;
23618 bool temp8 = False ;
23619 PyObject * obj0 = 0 ;
23620 PyObject * obj1 = 0 ;
23621 PyObject * obj2 = 0 ;
23622 PyObject * obj3 = 0 ;
23623 PyObject * obj4 = 0 ;
23624 PyObject * obj5 = 0 ;
23625 PyObject * obj6 = 0 ;
23626 PyObject * obj7 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23634 if (obj2) {
23635 {
23636 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 }
23640 if (obj3) {
23641 {
23642 arg4 = &temp4;
23643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23644 }
23645 }
23646 if (obj4) {
23647 {
23648 arg5 = &temp5;
23649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23650 }
23651 }
23652 if (obj5) {
23653 {
23654 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 }
23658 if (obj6) {
23659 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23660 if (arg7 == NULL) {
23661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23662 }
23663 }
23664 if (obj7) {
23665 {
23666 arg8 = wxString_in_helper(obj7);
23667 if (arg8 == NULL) SWIG_fail;
23668 temp8 = True;
23669 }
23670 }
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23679 {
23680 if (temp8)
23681 delete arg8;
23682 }
23683 return resultobj;
23684 fail:
23685 {
23686 if (temp8)
23687 delete arg8;
23688 }
23689 return NULL;
23690 }
23691
23692
23693 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23696 PyObject *arg2 = (PyObject *) 0 ;
23697 PyObject *arg3 = (PyObject *) 0 ;
23698 PyObject * obj0 = 0 ;
23699 PyObject * obj1 = 0 ;
23700 PyObject * obj2 = 0 ;
23701 char *kwnames[] = {
23702 (char *) "self",(char *) "self",(char *) "_class", NULL
23703 };
23704
23705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23707 arg2 = obj1;
23708 arg3 = obj2;
23709 {
23710 PyThreadState* __tstate = wxPyBeginAllowThreads();
23711 (arg1)->_setCallbackInfo(arg2,arg3);
23712
23713 wxPyEndAllowThreads(__tstate);
23714 if (PyErr_Occurred()) SWIG_fail;
23715 }
23716 Py_INCREF(Py_None); resultobj = Py_None;
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23726 size_t result;
23727 PyObject * obj0 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23751 unsigned int result;
23752 PyObject * obj0 = 0 ;
23753 char *kwnames[] = {
23754 (char *) "self", NULL
23755 };
23756
23757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23776 unsigned int arg2 ;
23777 PyObject * obj0 = 0 ;
23778 PyObject * obj1 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "indent", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23785 {
23786 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 (arg1)->SetIndent(arg2);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 Py_INCREF(Py_None); resultobj = Py_None;
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23806 unsigned int result;
23807 PyObject * obj0 = 0 ;
23808 char *kwnames[] = {
23809 (char *) "self", NULL
23810 };
23811
23812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23831 unsigned int arg2 ;
23832 PyObject * obj0 = 0 ;
23833 PyObject * obj1 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "spacing", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23840 {
23841 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 (arg1)->SetSpacing(arg2);
23847
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 Py_INCREF(Py_None); resultobj = Py_None;
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23861 wxImageList *result;
23862 PyObject * obj0 = 0 ;
23863 char *kwnames[] = {
23864 (char *) "self", NULL
23865 };
23866
23867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 {
23877 resultobj = wxPyMake_wxObject(result);
23878 }
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23888 wxImageList *result;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 {
23904 resultobj = wxPyMake_wxObject(result);
23905 }
23906 return resultobj;
23907 fail:
23908 return NULL;
23909 }
23910
23911
23912 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23913 PyObject *resultobj;
23914 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23915 wxImageList *arg2 = (wxImageList *) 0 ;
23916 PyObject * obj0 = 0 ;
23917 PyObject * obj1 = 0 ;
23918 char *kwnames[] = {
23919 (char *) "self",(char *) "imageList", NULL
23920 };
23921
23922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->SetImageList(arg2);
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 Py_INCREF(Py_None); resultobj = Py_None;
23933 return resultobj;
23934 fail:
23935 return NULL;
23936 }
23937
23938
23939 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23940 PyObject *resultobj;
23941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23942 wxImageList *arg2 = (wxImageList *) 0 ;
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self",(char *) "imageList", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 (arg1)->SetStateImageList(arg2);
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 Py_INCREF(Py_None); resultobj = Py_None;
23960 return resultobj;
23961 fail:
23962 return NULL;
23963 }
23964
23965
23966 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23967 PyObject *resultobj;
23968 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23969 wxImageList *arg2 = (wxImageList *) 0 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "imageList", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 (arg1)->AssignImageList(arg2);
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 Py_INCREF(Py_None); resultobj = Py_None;
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23996 wxImageList *arg2 = (wxImageList *) 0 ;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self",(char *) "imageList", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 (arg1)->AssignStateImageList(arg2);
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 Py_INCREF(Py_None); resultobj = Py_None;
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24023 wxTreeItemId *arg2 = 0 ;
24024 wxString result;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "item", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24034 if (arg2 == NULL) {
24035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24036 }
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 {
24045 #if wxUSE_UNICODE
24046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24047 #else
24048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24049 #endif
24050 }
24051 return resultobj;
24052 fail:
24053 return NULL;
24054 }
24055
24056
24057 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24060 wxTreeItemId *arg2 = 0 ;
24061 int arg3 = (int) wxTreeItemIcon_Normal ;
24062 int result;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 PyObject * obj2 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self",(char *) "item",(char *) "which", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24073 if (arg2 == NULL) {
24074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24075 }
24076 if (obj2) {
24077 {
24078 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 }
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
24089 resultobj = SWIG_PyObj_FromInt((int)result);
24090 return resultobj;
24091 fail:
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24099 wxTreeItemId *arg2 = 0 ;
24100 wxPyTreeItemData *result;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "item", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24110 if (arg2 == NULL) {
24111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24130 wxTreeItemId *arg2 = 0 ;
24131 PyObject *result;
24132 PyObject * obj0 = 0 ;
24133 PyObject * obj1 = 0 ;
24134 char *kwnames[] = {
24135 (char *) "self",(char *) "item", NULL
24136 };
24137
24138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24141 if (arg2 == NULL) {
24142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24143 }
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 resultobj = result;
24152 return resultobj;
24153 fail:
24154 return NULL;
24155 }
24156
24157
24158 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24161 wxTreeItemId *arg2 = 0 ;
24162 wxColour result;
24163 PyObject * obj0 = 0 ;
24164 PyObject * obj1 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "item", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24172 if (arg2 == NULL) {
24173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24174 }
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 {
24183 wxColour * resultptr;
24184 resultptr = new wxColour((wxColour &) result);
24185 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24186 }
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24196 wxTreeItemId *arg2 = 0 ;
24197 wxColour result;
24198 PyObject * obj0 = 0 ;
24199 PyObject * obj1 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self",(char *) "item", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24207 if (arg2 == NULL) {
24208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24209 }
24210 {
24211 PyThreadState* __tstate = wxPyBeginAllowThreads();
24212 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 {
24218 wxColour * resultptr;
24219 resultptr = new wxColour((wxColour &) result);
24220 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24221 }
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24231 wxTreeItemId *arg2 = 0 ;
24232 wxFont result;
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 char *kwnames[] = {
24236 (char *) "self",(char *) "item", NULL
24237 };
24238
24239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24242 if (arg2 == NULL) {
24243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24244 }
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 {
24253 wxFont * resultptr;
24254 resultptr = new wxFont((wxFont &) result);
24255 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24256 }
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24266 wxTreeItemId *arg2 = 0 ;
24267 wxString *arg3 = 0 ;
24268 bool temp3 = False ;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 PyObject * obj2 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self",(char *) "item",(char *) "text", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24279 if (arg2 == NULL) {
24280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24281 }
24282 {
24283 arg3 = wxString_in_helper(obj2);
24284 if (arg3 == NULL) SWIG_fail;
24285 temp3 = True;
24286 }
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 Py_INCREF(Py_None); resultobj = Py_None;
24295 {
24296 if (temp3)
24297 delete arg3;
24298 }
24299 return resultobj;
24300 fail:
24301 {
24302 if (temp3)
24303 delete arg3;
24304 }
24305 return NULL;
24306 }
24307
24308
24309 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24310 PyObject *resultobj;
24311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24312 wxTreeItemId *arg2 = 0 ;
24313 int arg3 ;
24314 int arg4 = (int) wxTreeItemIcon_Normal ;
24315 PyObject * obj0 = 0 ;
24316 PyObject * obj1 = 0 ;
24317 PyObject * obj2 = 0 ;
24318 PyObject * obj3 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24326 if (arg2 == NULL) {
24327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24328 }
24329 {
24330 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 if (obj3) {
24334 {
24335 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 }
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 Py_INCREF(Py_None); resultobj = Py_None;
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24356 wxTreeItemId *arg2 = 0 ;
24357 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24358 PyObject * obj0 = 0 ;
24359 PyObject * obj1 = 0 ;
24360 PyObject * obj2 = 0 ;
24361 char *kwnames[] = {
24362 (char *) "self",(char *) "item",(char *) "data", NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24368 if (arg2 == NULL) {
24369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24370 }
24371 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 Py_INCREF(Py_None); resultobj = Py_None;
24380 return resultobj;
24381 fail:
24382 return NULL;
24383 }
24384
24385
24386 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24389 wxTreeItemId *arg2 = 0 ;
24390 PyObject *arg3 = (PyObject *) 0 ;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 PyObject * obj2 = 0 ;
24394 char *kwnames[] = {
24395 (char *) "self",(char *) "item",(char *) "obj", NULL
24396 };
24397
24398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24401 if (arg2 == NULL) {
24402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24403 }
24404 arg3 = obj2;
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24408
24409 wxPyEndAllowThreads(__tstate);
24410 if (PyErr_Occurred()) SWIG_fail;
24411 }
24412 Py_INCREF(Py_None); resultobj = Py_None;
24413 return resultobj;
24414 fail:
24415 return NULL;
24416 }
24417
24418
24419 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24420 PyObject *resultobj;
24421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24422 wxTreeItemId *arg2 = 0 ;
24423 bool arg3 = (bool) True ;
24424 PyObject * obj0 = 0 ;
24425 PyObject * obj1 = 0 ;
24426 PyObject * obj2 = 0 ;
24427 char *kwnames[] = {
24428 (char *) "self",(char *) "item",(char *) "has", NULL
24429 };
24430
24431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24434 if (arg2 == NULL) {
24435 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24436 }
24437 if (obj2) {
24438 {
24439 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 }
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 Py_INCREF(Py_None); resultobj = Py_None;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24460 wxTreeItemId *arg2 = 0 ;
24461 bool arg3 = (bool) True ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 PyObject * obj2 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self",(char *) "item",(char *) "bold", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24472 if (arg2 == NULL) {
24473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24474 }
24475 if (obj2) {
24476 {
24477 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 }
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 Py_INCREF(Py_None); resultobj = Py_None;
24489 return resultobj;
24490 fail:
24491 return NULL;
24492 }
24493
24494
24495 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24498 wxTreeItemId *arg2 = 0 ;
24499 wxColour *arg3 = 0 ;
24500 wxColour temp3 ;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503 PyObject * obj2 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self",(char *) "item",(char *) "col", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24511 if (arg2 == NULL) {
24512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24513 }
24514 {
24515 arg3 = &temp3;
24516 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24517 }
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 Py_INCREF(Py_None); resultobj = Py_None;
24526 return resultobj;
24527 fail:
24528 return NULL;
24529 }
24530
24531
24532 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24535 wxTreeItemId *arg2 = 0 ;
24536 wxColour *arg3 = 0 ;
24537 wxColour temp3 ;
24538 PyObject * obj0 = 0 ;
24539 PyObject * obj1 = 0 ;
24540 PyObject * obj2 = 0 ;
24541 char *kwnames[] = {
24542 (char *) "self",(char *) "item",(char *) "col", NULL
24543 };
24544
24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24548 if (arg2 == NULL) {
24549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24550 }
24551 {
24552 arg3 = &temp3;
24553 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24554 }
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24572 wxTreeItemId *arg2 = 0 ;
24573 wxFont *arg3 = 0 ;
24574 PyObject * obj0 = 0 ;
24575 PyObject * obj1 = 0 ;
24576 PyObject * obj2 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "self",(char *) "item",(char *) "font", NULL
24579 };
24580
24581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24584 if (arg2 == NULL) {
24585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24586 }
24587 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24588 if (arg3 == NULL) {
24589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24590 }
24591 {
24592 PyThreadState* __tstate = wxPyBeginAllowThreads();
24593 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24594
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 Py_INCREF(Py_None); resultobj = Py_None;
24599 return resultobj;
24600 fail:
24601 return NULL;
24602 }
24603
24604
24605 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24606 PyObject *resultobj;
24607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24608 wxTreeItemId *arg2 = 0 ;
24609 bool result;
24610 PyObject * obj0 = 0 ;
24611 PyObject * obj1 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self",(char *) "item", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24619 if (arg2 == NULL) {
24620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24621 }
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24630 return resultobj;
24631 fail:
24632 return NULL;
24633 }
24634
24635
24636 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24637 PyObject *resultobj;
24638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24639 wxTreeItemId *arg2 = 0 ;
24640 bool result;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self",(char *) "item", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24650 if (arg2 == NULL) {
24651 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24652 }
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj;
24669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24670 wxTreeItemId *arg2 = 0 ;
24671 bool result;
24672 PyObject * obj0 = 0 ;
24673 PyObject * obj1 = 0 ;
24674 char *kwnames[] = {
24675 (char *) "self",(char *) "item", NULL
24676 };
24677
24678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24681 if (arg2 == NULL) {
24682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24683 }
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj;
24700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24701 wxTreeItemId *arg2 = 0 ;
24702 bool result;
24703 PyObject * obj0 = 0 ;
24704 PyObject * obj1 = 0 ;
24705 char *kwnames[] = {
24706 (char *) "self",(char *) "item", NULL
24707 };
24708
24709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) 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 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24718
24719 wxPyEndAllowThreads(__tstate);
24720 if (PyErr_Occurred()) SWIG_fail;
24721 }
24722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24723 return resultobj;
24724 fail:
24725 return NULL;
24726 }
24727
24728
24729 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24730 PyObject *resultobj;
24731 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24732 wxTreeItemId *arg2 = 0 ;
24733 bool result;
24734 PyObject * obj0 = 0 ;
24735 PyObject * obj1 = 0 ;
24736 char *kwnames[] = {
24737 (char *) "self",(char *) "item", NULL
24738 };
24739
24740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24743 if (arg2 == NULL) {
24744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24745 }
24746 {
24747 PyThreadState* __tstate = wxPyBeginAllowThreads();
24748 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24749
24750 wxPyEndAllowThreads(__tstate);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24754 return resultobj;
24755 fail:
24756 return NULL;
24757 }
24758
24759
24760 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24761 PyObject *resultobj;
24762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24763 wxTreeItemId *arg2 = 0 ;
24764 bool arg3 = (bool) True ;
24765 size_t result;
24766 PyObject * obj0 = 0 ;
24767 PyObject * obj1 = 0 ;
24768 PyObject * obj2 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "self",(char *) "item",(char *) "recursively", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24776 if (arg2 == NULL) {
24777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24778 }
24779 if (obj2) {
24780 {
24781 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 }
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24793 return resultobj;
24794 fail:
24795 return NULL;
24796 }
24797
24798
24799 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24800 PyObject *resultobj;
24801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24802 wxTreeItemId result;
24803 PyObject * obj0 = 0 ;
24804 char *kwnames[] = {
24805 (char *) "self", NULL
24806 };
24807
24808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 wxTreeItemId * resultptr;
24819 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24820 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24821 }
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24829 PyObject *resultobj;
24830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24831 wxTreeItemId result;
24832 PyObject * obj0 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24842
24843 wxPyEndAllowThreads(__tstate);
24844 if (PyErr_Occurred()) SWIG_fail;
24845 }
24846 {
24847 wxTreeItemId * resultptr;
24848 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24850 }
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24860 PyObject *result;
24861 PyObject * obj0 = 0 ;
24862 char *kwnames[] = {
24863 (char *) "self", NULL
24864 };
24865
24866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 resultobj = result;
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24885 wxTreeItemId *arg2 = 0 ;
24886 wxTreeItemId result;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self",(char *) "item", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24896 if (arg2 == NULL) {
24897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24898 }
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24902
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 {
24907 wxTreeItemId * resultptr;
24908 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24910 }
24911 return resultobj;
24912 fail:
24913 return NULL;
24914 }
24915
24916
24917 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24918 PyObject *resultobj;
24919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24920 wxTreeItemId *arg2 = 0 ;
24921 PyObject *result;
24922 PyObject * obj0 = 0 ;
24923 PyObject * obj1 = 0 ;
24924 char *kwnames[] = {
24925 (char *) "self",(char *) "item", NULL
24926 };
24927
24928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
24929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24931 if (arg2 == NULL) {
24932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24933 }
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
24937
24938 wxPyEndAllowThreads(__tstate);
24939 if (PyErr_Occurred()) SWIG_fail;
24940 }
24941 resultobj = result;
24942 return resultobj;
24943 fail:
24944 return NULL;
24945 }
24946
24947
24948 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24949 PyObject *resultobj;
24950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24951 wxTreeItemId *arg2 = 0 ;
24952 void *arg3 = (void *) 0 ;
24953 PyObject *result;
24954 PyObject * obj0 = 0 ;
24955 PyObject * obj1 = 0 ;
24956 PyObject * obj2 = 0 ;
24957 char *kwnames[] = {
24958 (char *) "self",(char *) "item",(char *) "cookie", NULL
24959 };
24960
24961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24964 if (arg2 == NULL) {
24965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24966 }
24967 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 resultobj = result;
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24985 wxTreeItemId *arg2 = 0 ;
24986 wxTreeItemId result;
24987 PyObject * obj0 = 0 ;
24988 PyObject * obj1 = 0 ;
24989 char *kwnames[] = {
24990 (char *) "self",(char *) "item", NULL
24991 };
24992
24993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
24994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 if (arg2 == NULL) {
24997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24998 }
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 {
25007 wxTreeItemId * resultptr;
25008 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25009 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25010 }
25011 return resultobj;
25012 fail:
25013 return NULL;
25014 }
25015
25016
25017 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25018 PyObject *resultobj;
25019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25020 wxTreeItemId *arg2 = 0 ;
25021 wxTreeItemId result;
25022 PyObject * obj0 = 0 ;
25023 PyObject * obj1 = 0 ;
25024 char *kwnames[] = {
25025 (char *) "self",(char *) "item", NULL
25026 };
25027
25028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25031 if (arg2 == NULL) {
25032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25033 }
25034 {
25035 PyThreadState* __tstate = wxPyBeginAllowThreads();
25036 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25037
25038 wxPyEndAllowThreads(__tstate);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
25041 {
25042 wxTreeItemId * resultptr;
25043 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25045 }
25046 return resultobj;
25047 fail:
25048 return NULL;
25049 }
25050
25051
25052 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25053 PyObject *resultobj;
25054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25055 wxTreeItemId *arg2 = 0 ;
25056 wxTreeItemId result;
25057 PyObject * obj0 = 0 ;
25058 PyObject * obj1 = 0 ;
25059 char *kwnames[] = {
25060 (char *) "self",(char *) "item", NULL
25061 };
25062
25063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25066 if (arg2 == NULL) {
25067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25068 }
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 {
25077 wxTreeItemId * resultptr;
25078 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25080 }
25081 return resultobj;
25082 fail:
25083 return NULL;
25084 }
25085
25086
25087 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25088 PyObject *resultobj;
25089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25090 wxTreeItemId result;
25091 PyObject * obj0 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 {
25106 wxTreeItemId * resultptr;
25107 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25109 }
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25119 wxTreeItemId *arg2 = 0 ;
25120 wxTreeItemId result;
25121 PyObject * obj0 = 0 ;
25122 PyObject * obj1 = 0 ;
25123 char *kwnames[] = {
25124 (char *) "self",(char *) "item", NULL
25125 };
25126
25127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25130 if (arg2 == NULL) {
25131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25132 }
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25136
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 {
25141 wxTreeItemId * resultptr;
25142 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25143 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25144 }
25145 return resultobj;
25146 fail:
25147 return NULL;
25148 }
25149
25150
25151 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj;
25153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25154 wxTreeItemId *arg2 = 0 ;
25155 wxTreeItemId result;
25156 PyObject * obj0 = 0 ;
25157 PyObject * obj1 = 0 ;
25158 char *kwnames[] = {
25159 (char *) "self",(char *) "item", NULL
25160 };
25161
25162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25165 if (arg2 == NULL) {
25166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25167 }
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25171
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 {
25176 wxTreeItemId * resultptr;
25177 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25178 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25179 }
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25189 wxString *arg2 = 0 ;
25190 int arg3 = (int) -1 ;
25191 int arg4 = (int) -1 ;
25192 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25193 wxTreeItemId result;
25194 bool temp2 = False ;
25195 PyObject * obj0 = 0 ;
25196 PyObject * obj1 = 0 ;
25197 PyObject * obj2 = 0 ;
25198 PyObject * obj3 = 0 ;
25199 PyObject * obj4 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25206 {
25207 arg2 = wxString_in_helper(obj1);
25208 if (arg2 == NULL) SWIG_fail;
25209 temp2 = True;
25210 }
25211 if (obj2) {
25212 {
25213 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 }
25217 if (obj3) {
25218 {
25219 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 }
25223 if (obj4) {
25224 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25225 }
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
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 {
25239 if (temp2)
25240 delete arg2;
25241 }
25242 return resultobj;
25243 fail:
25244 {
25245 if (temp2)
25246 delete arg2;
25247 }
25248 return NULL;
25249 }
25250
25251
25252 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25253 PyObject *resultobj;
25254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25255 wxTreeItemId *arg2 = 0 ;
25256 wxString *arg3 = 0 ;
25257 int arg4 = (int) -1 ;
25258 int arg5 = (int) -1 ;
25259 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25260 wxTreeItemId result;
25261 bool temp3 = False ;
25262 PyObject * obj0 = 0 ;
25263 PyObject * obj1 = 0 ;
25264 PyObject * obj2 = 0 ;
25265 PyObject * obj3 = 0 ;
25266 PyObject * obj4 = 0 ;
25267 PyObject * obj5 = 0 ;
25268 char *kwnames[] = {
25269 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25270 };
25271
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25275 if (arg2 == NULL) {
25276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25277 }
25278 {
25279 arg3 = wxString_in_helper(obj2);
25280 if (arg3 == NULL) SWIG_fail;
25281 temp3 = True;
25282 }
25283 if (obj3) {
25284 {
25285 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 }
25289 if (obj4) {
25290 {
25291 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 }
25295 if (obj5) {
25296 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25297 }
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 {
25306 wxTreeItemId * resultptr;
25307 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25308 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25309 }
25310 {
25311 if (temp3)
25312 delete arg3;
25313 }
25314 return resultobj;
25315 fail:
25316 {
25317 if (temp3)
25318 delete arg3;
25319 }
25320 return NULL;
25321 }
25322
25323
25324 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25325 PyObject *resultobj;
25326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25327 wxTreeItemId *arg2 = 0 ;
25328 wxTreeItemId *arg3 = 0 ;
25329 wxString *arg4 = 0 ;
25330 int arg5 = (int) -1 ;
25331 int arg6 = (int) -1 ;
25332 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25333 wxTreeItemId result;
25334 bool temp4 = False ;
25335 PyObject * obj0 = 0 ;
25336 PyObject * obj1 = 0 ;
25337 PyObject * obj2 = 0 ;
25338 PyObject * obj3 = 0 ;
25339 PyObject * obj4 = 0 ;
25340 PyObject * obj5 = 0 ;
25341 PyObject * obj6 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25349 if (arg2 == NULL) {
25350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25351 }
25352 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25353 if (arg3 == NULL) {
25354 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25355 }
25356 {
25357 arg4 = wxString_in_helper(obj3);
25358 if (arg4 == NULL) SWIG_fail;
25359 temp4 = True;
25360 }
25361 if (obj4) {
25362 {
25363 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 }
25367 if (obj5) {
25368 {
25369 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 }
25373 if (obj6) {
25374 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25375 }
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 {
25384 wxTreeItemId * resultptr;
25385 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25386 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25387 }
25388 {
25389 if (temp4)
25390 delete arg4;
25391 }
25392 return resultobj;
25393 fail:
25394 {
25395 if (temp4)
25396 delete arg4;
25397 }
25398 return NULL;
25399 }
25400
25401
25402 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25403 PyObject *resultobj;
25404 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25405 wxTreeItemId *arg2 = 0 ;
25406 size_t arg3 ;
25407 wxString *arg4 = 0 ;
25408 int arg5 = (int) -1 ;
25409 int arg6 = (int) -1 ;
25410 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25411 wxTreeItemId result;
25412 bool temp4 = False ;
25413 PyObject * obj0 = 0 ;
25414 PyObject * obj1 = 0 ;
25415 PyObject * obj2 = 0 ;
25416 PyObject * obj3 = 0 ;
25417 PyObject * obj4 = 0 ;
25418 PyObject * obj5 = 0 ;
25419 PyObject * obj6 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25427 if (arg2 == NULL) {
25428 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25429 }
25430 {
25431 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 {
25435 arg4 = wxString_in_helper(obj3);
25436 if (arg4 == NULL) SWIG_fail;
25437 temp4 = True;
25438 }
25439 if (obj4) {
25440 {
25441 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 }
25445 if (obj5) {
25446 {
25447 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 }
25451 if (obj6) {
25452 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25453 }
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25457
25458 wxPyEndAllowThreads(__tstate);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 }
25461 {
25462 wxTreeItemId * resultptr;
25463 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25464 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25465 }
25466 {
25467 if (temp4)
25468 delete arg4;
25469 }
25470 return resultobj;
25471 fail:
25472 {
25473 if (temp4)
25474 delete arg4;
25475 }
25476 return NULL;
25477 }
25478
25479
25480 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25481 PyObject *resultobj;
25482 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25483 wxTreeItemId *arg2 = 0 ;
25484 wxString *arg3 = 0 ;
25485 int arg4 = (int) -1 ;
25486 int arg5 = (int) -1 ;
25487 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25488 wxTreeItemId result;
25489 bool temp3 = False ;
25490 PyObject * obj0 = 0 ;
25491 PyObject * obj1 = 0 ;
25492 PyObject * obj2 = 0 ;
25493 PyObject * obj3 = 0 ;
25494 PyObject * obj4 = 0 ;
25495 PyObject * obj5 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25503 if (arg2 == NULL) {
25504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25505 }
25506 {
25507 arg3 = wxString_in_helper(obj2);
25508 if (arg3 == NULL) SWIG_fail;
25509 temp3 = True;
25510 }
25511 if (obj3) {
25512 {
25513 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 }
25517 if (obj4) {
25518 {
25519 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 }
25523 if (obj5) {
25524 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25525 }
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 {
25534 wxTreeItemId * resultptr;
25535 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25536 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25537 }
25538 {
25539 if (temp3)
25540 delete arg3;
25541 }
25542 return resultobj;
25543 fail:
25544 {
25545 if (temp3)
25546 delete arg3;
25547 }
25548 return NULL;
25549 }
25550
25551
25552 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25553 PyObject *resultobj;
25554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25555 wxTreeItemId *arg2 = 0 ;
25556 PyObject * obj0 = 0 ;
25557 PyObject * obj1 = 0 ;
25558 char *kwnames[] = {
25559 (char *) "self",(char *) "item", NULL
25560 };
25561
25562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25565 if (arg2 == NULL) {
25566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25567 }
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 (arg1)->Delete((wxTreeItemId const &)*arg2);
25571
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
25575 Py_INCREF(Py_None); resultobj = Py_None;
25576 return resultobj;
25577 fail:
25578 return NULL;
25579 }
25580
25581
25582 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj;
25584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25585 wxTreeItemId *arg2 = 0 ;
25586 PyObject * obj0 = 0 ;
25587 PyObject * obj1 = 0 ;
25588 char *kwnames[] = {
25589 (char *) "self",(char *) "item", NULL
25590 };
25591
25592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25595 if (arg2 == NULL) {
25596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25597 }
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25615 PyObject * obj0 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "self", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 (arg1)->DeleteAllItems();
25625
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
25629 Py_INCREF(Py_None); resultobj = Py_None;
25630 return resultobj;
25631 fail:
25632 return NULL;
25633 }
25634
25635
25636 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj;
25638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25639 wxTreeItemId *arg2 = 0 ;
25640 PyObject * obj0 = 0 ;
25641 PyObject * obj1 = 0 ;
25642 char *kwnames[] = {
25643 (char *) "self",(char *) "item", NULL
25644 };
25645
25646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25649 if (arg2 == NULL) {
25650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25651 }
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 (arg1)->Expand((wxTreeItemId const &)*arg2);
25655
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
25659 Py_INCREF(Py_None); resultobj = Py_None;
25660 return resultobj;
25661 fail:
25662 return NULL;
25663 }
25664
25665
25666 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25667 PyObject *resultobj;
25668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25669 wxTreeItemId *arg2 = 0 ;
25670 PyObject * obj0 = 0 ;
25671 PyObject * obj1 = 0 ;
25672 char *kwnames[] = {
25673 (char *) "self",(char *) "item", NULL
25674 };
25675
25676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25679 if (arg2 == NULL) {
25680 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25681 }
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 Py_INCREF(Py_None); resultobj = Py_None;
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25699 wxTreeItemId *arg2 = 0 ;
25700 PyObject * obj0 = 0 ;
25701 PyObject * obj1 = 0 ;
25702 char *kwnames[] = {
25703 (char *) "self",(char *) "item", NULL
25704 };
25705
25706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25709 if (arg2 == NULL) {
25710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25711 }
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25715
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 Py_INCREF(Py_None); resultobj = Py_None;
25720 return resultobj;
25721 fail:
25722 return NULL;
25723 }
25724
25725
25726 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25727 PyObject *resultobj;
25728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25729 wxTreeItemId *arg2 = 0 ;
25730 PyObject * obj0 = 0 ;
25731 PyObject * obj1 = 0 ;
25732 char *kwnames[] = {
25733 (char *) "self",(char *) "item", NULL
25734 };
25735
25736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25739 if (arg2 == NULL) {
25740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25741 }
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 Py_INCREF(Py_None); resultobj = Py_None;
25750 return resultobj;
25751 fail:
25752 return NULL;
25753 }
25754
25755
25756 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25757 PyObject *resultobj;
25758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25759 PyObject * obj0 = 0 ;
25760 char *kwnames[] = {
25761 (char *) "self", NULL
25762 };
25763
25764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25766 {
25767 PyThreadState* __tstate = wxPyBeginAllowThreads();
25768 (arg1)->Unselect();
25769
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 Py_INCREF(Py_None); resultobj = Py_None;
25774 return resultobj;
25775 fail:
25776 return NULL;
25777 }
25778
25779
25780 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj;
25782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25783 wxTreeItemId *arg2 = 0 ;
25784 PyObject * obj0 = 0 ;
25785 PyObject * obj1 = 0 ;
25786 char *kwnames[] = {
25787 (char *) "self",(char *) "item", NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
25791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25793 if (arg2 == NULL) {
25794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25795 }
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 Py_INCREF(Py_None); resultobj = Py_None;
25804 return resultobj;
25805 fail:
25806 return NULL;
25807 }
25808
25809
25810 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj;
25812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25813 PyObject * obj0 = 0 ;
25814 char *kwnames[] = {
25815 (char *) "self", NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 (arg1)->UnselectAll();
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 Py_INCREF(Py_None); resultobj = Py_None;
25828 return resultobj;
25829 fail:
25830 return NULL;
25831 }
25832
25833
25834 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25835 PyObject *resultobj;
25836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25837 wxTreeItemId *arg2 = 0 ;
25838 bool arg3 = (bool) True ;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "item",(char *) "select", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25849 if (arg2 == NULL) {
25850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25851 }
25852 if (obj2) {
25853 {
25854 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 }
25858 {
25859 PyThreadState* __tstate = wxPyBeginAllowThreads();
25860 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
25861
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 Py_INCREF(Py_None); resultobj = Py_None;
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25873 PyObject *resultobj;
25874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25875 wxTreeItemId *arg2 = 0 ;
25876 PyObject * obj0 = 0 ;
25877 PyObject * obj1 = 0 ;
25878 char *kwnames[] = {
25879 (char *) "self",(char *) "item", NULL
25880 };
25881
25882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
25883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25885 if (arg2 == NULL) {
25886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25887 }
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 Py_INCREF(Py_None); resultobj = Py_None;
25896 return resultobj;
25897 fail:
25898 return NULL;
25899 }
25900
25901
25902 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj;
25904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25905 wxTreeItemId *arg2 = 0 ;
25906 PyObject * obj0 = 0 ;
25907 PyObject * obj1 = 0 ;
25908 char *kwnames[] = {
25909 (char *) "self",(char *) "item", NULL
25910 };
25911
25912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25915 if (arg2 == NULL) {
25916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 Py_INCREF(Py_None); resultobj = Py_None;
25926 return resultobj;
25927 fail:
25928 return NULL;
25929 }
25930
25931
25932 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25933 PyObject *resultobj;
25934 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25935 wxTreeItemId *arg2 = 0 ;
25936 PyObject * obj0 = 0 ;
25937 PyObject * obj1 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self",(char *) "item", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
25943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25945 if (arg2 == NULL) {
25946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25947 }
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
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_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25963 PyObject *resultobj;
25964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25965 wxTreeItemId *arg2 = 0 ;
25966 PyObject * obj0 = 0 ;
25967 PyObject * obj1 = 0 ;
25968 char *kwnames[] = {
25969 (char *) "self",(char *) "item", NULL
25970 };
25971
25972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25975 if (arg2 == NULL) {
25976 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25977 }
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 Py_INCREF(Py_None); resultobj = Py_None;
25986 return resultobj;
25987 fail:
25988 return NULL;
25989 }
25990
25991
25992 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj;
25994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25995 wxTextCtrl *result;
25996 PyObject * obj0 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26003 {
26004 PyThreadState* __tstate = wxPyBeginAllowThreads();
26005 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26006
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 {
26011 resultobj = wxPyMake_wxObject(result);
26012 }
26013 return resultobj;
26014 fail:
26015 return NULL;
26016 }
26017
26018
26019 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26020 PyObject *resultobj;
26021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26022 wxTreeItemId *arg2 = 0 ;
26023 PyObject * obj0 = 0 ;
26024 PyObject * obj1 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self",(char *) "item", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26032 if (arg2 == NULL) {
26033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26034 }
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26038
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 Py_INCREF(Py_None); resultobj = Py_None;
26043 return resultobj;
26044 fail:
26045 return NULL;
26046 }
26047
26048
26049 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26050 PyObject *resultobj;
26051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26052 wxPoint *arg2 = 0 ;
26053 int *arg3 = 0 ;
26054 wxTreeItemId result;
26055 wxPoint temp2 ;
26056 int temp3 ;
26057 PyObject * obj0 = 0 ;
26058 PyObject * obj1 = 0 ;
26059 char *kwnames[] = {
26060 (char *) "self",(char *) "point", NULL
26061 };
26062
26063 arg3 = &temp3;
26064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26066 {
26067 arg2 = &temp2;
26068 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26069 }
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 {
26078 wxTreeItemId * resultptr;
26079 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26081 }
26082 {
26083 PyObject *o = PyInt_FromLong((long) (*arg3));
26084 resultobj = t_output_helper(resultobj,o);
26085 }
26086 return resultobj;
26087 fail:
26088 return NULL;
26089 }
26090
26091
26092 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26093 PyObject *resultobj;
26094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26095 wxTreeItemId *arg2 = 0 ;
26096 bool arg3 = (bool) False ;
26097 PyObject *result;
26098 PyObject * obj0 = 0 ;
26099 PyObject * obj1 = 0 ;
26100 PyObject * obj2 = 0 ;
26101 char *kwnames[] = {
26102 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26103 };
26104
26105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26108 if (arg2 == NULL) {
26109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26110 }
26111 if (obj2) {
26112 {
26113 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26114 if (PyErr_Occurred()) SWIG_fail;
26115 }
26116 }
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 resultobj = result;
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26132 PyObject *obj;
26133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26134 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26135 Py_INCREF(obj);
26136 return Py_BuildValue((char *)"");
26137 }
26138 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26139 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26140 return 1;
26141 }
26142
26143
26144 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26145 PyObject *pyobj;
26146
26147 {
26148 #if wxUSE_UNICODE
26149 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26150 #else
26151 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26152 #endif
26153 }
26154 return pyobj;
26155 }
26156
26157
26158 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26159 PyObject *resultobj;
26160 wxWindow *arg1 = (wxWindow *) 0 ;
26161 int arg2 = (int) (int)-1 ;
26162 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26163 wxString *arg3 = (wxString *) &arg3_defvalue ;
26164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26166 wxSize const &arg5_defvalue = wxDefaultSize ;
26167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26168 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26169 wxString const &arg7_defvalue = wxPyEmptyString ;
26170 wxString *arg7 = (wxString *) &arg7_defvalue ;
26171 int arg8 = (int) 0 ;
26172 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26173 wxString *arg9 = (wxString *) &arg9_defvalue ;
26174 wxGenericDirCtrl *result;
26175 bool temp3 = False ;
26176 wxPoint temp4 ;
26177 wxSize temp5 ;
26178 bool temp7 = False ;
26179 bool temp9 = False ;
26180 PyObject * obj0 = 0 ;
26181 PyObject * obj1 = 0 ;
26182 PyObject * obj2 = 0 ;
26183 PyObject * obj3 = 0 ;
26184 PyObject * obj4 = 0 ;
26185 PyObject * obj5 = 0 ;
26186 PyObject * obj6 = 0 ;
26187 PyObject * obj7 = 0 ;
26188 PyObject * obj8 = 0 ;
26189 char *kwnames[] = {
26190 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26191 };
26192
26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26195 if (obj1) {
26196 {
26197 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26198 if (PyErr_Occurred()) SWIG_fail;
26199 }
26200 }
26201 if (obj2) {
26202 {
26203 arg3 = wxString_in_helper(obj2);
26204 if (arg3 == NULL) SWIG_fail;
26205 temp3 = True;
26206 }
26207 }
26208 if (obj3) {
26209 {
26210 arg4 = &temp4;
26211 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26212 }
26213 }
26214 if (obj4) {
26215 {
26216 arg5 = &temp5;
26217 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26218 }
26219 }
26220 if (obj5) {
26221 {
26222 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 }
26226 if (obj6) {
26227 {
26228 arg7 = wxString_in_helper(obj6);
26229 if (arg7 == NULL) SWIG_fail;
26230 temp7 = True;
26231 }
26232 }
26233 if (obj7) {
26234 {
26235 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 }
26239 if (obj8) {
26240 {
26241 arg9 = wxString_in_helper(obj8);
26242 if (arg9 == NULL) SWIG_fail;
26243 temp9 = True;
26244 }
26245 }
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26254 {
26255 if (temp3)
26256 delete arg3;
26257 }
26258 {
26259 if (temp7)
26260 delete arg7;
26261 }
26262 {
26263 if (temp9)
26264 delete arg9;
26265 }
26266 return resultobj;
26267 fail:
26268 {
26269 if (temp3)
26270 delete arg3;
26271 }
26272 {
26273 if (temp7)
26274 delete arg7;
26275 }
26276 {
26277 if (temp9)
26278 delete arg9;
26279 }
26280 return NULL;
26281 }
26282
26283
26284 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26285 PyObject *resultobj;
26286 wxGenericDirCtrl *result;
26287 char *kwnames[] = {
26288 NULL
26289 };
26290
26291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26300 return resultobj;
26301 fail:
26302 return NULL;
26303 }
26304
26305
26306 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26307 PyObject *resultobj;
26308 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26309 wxWindow *arg2 = (wxWindow *) 0 ;
26310 int arg3 = (int) (int)-1 ;
26311 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26312 wxString *arg4 = (wxString *) &arg4_defvalue ;
26313 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26314 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26315 wxSize const &arg6_defvalue = wxDefaultSize ;
26316 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26317 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26318 wxString const &arg8_defvalue = wxPyEmptyString ;
26319 wxString *arg8 = (wxString *) &arg8_defvalue ;
26320 int arg9 = (int) 0 ;
26321 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26322 wxString *arg10 = (wxString *) &arg10_defvalue ;
26323 bool result;
26324 bool temp4 = False ;
26325 wxPoint temp5 ;
26326 wxSize temp6 ;
26327 bool temp8 = False ;
26328 bool temp10 = False ;
26329 PyObject * obj0 = 0 ;
26330 PyObject * obj1 = 0 ;
26331 PyObject * obj2 = 0 ;
26332 PyObject * obj3 = 0 ;
26333 PyObject * obj4 = 0 ;
26334 PyObject * obj5 = 0 ;
26335 PyObject * obj6 = 0 ;
26336 PyObject * obj7 = 0 ;
26337 PyObject * obj8 = 0 ;
26338 PyObject * obj9 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26341 };
26342
26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26346 if (obj2) {
26347 {
26348 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 }
26351 }
26352 if (obj3) {
26353 {
26354 arg4 = wxString_in_helper(obj3);
26355 if (arg4 == NULL) SWIG_fail;
26356 temp4 = True;
26357 }
26358 }
26359 if (obj4) {
26360 {
26361 arg5 = &temp5;
26362 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26363 }
26364 }
26365 if (obj5) {
26366 {
26367 arg6 = &temp6;
26368 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26369 }
26370 }
26371 if (obj6) {
26372 {
26373 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 }
26376 }
26377 if (obj7) {
26378 {
26379 arg8 = wxString_in_helper(obj7);
26380 if (arg8 == NULL) SWIG_fail;
26381 temp8 = True;
26382 }
26383 }
26384 if (obj8) {
26385 {
26386 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 }
26390 if (obj9) {
26391 {
26392 arg10 = wxString_in_helper(obj9);
26393 if (arg10 == NULL) SWIG_fail;
26394 temp10 = True;
26395 }
26396 }
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26405 {
26406 if (temp4)
26407 delete arg4;
26408 }
26409 {
26410 if (temp8)
26411 delete arg8;
26412 }
26413 {
26414 if (temp10)
26415 delete arg10;
26416 }
26417 return resultobj;
26418 fail:
26419 {
26420 if (temp4)
26421 delete arg4;
26422 }
26423 {
26424 if (temp8)
26425 delete arg8;
26426 }
26427 {
26428 if (temp10)
26429 delete arg10;
26430 }
26431 return NULL;
26432 }
26433
26434
26435 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj;
26437 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26438 wxString *arg2 = 0 ;
26439 bool result;
26440 bool temp2 = False ;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 char *kwnames[] = {
26444 (char *) "self",(char *) "path", NULL
26445 };
26446
26447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26449 {
26450 arg2 = wxString_in_helper(obj1);
26451 if (arg2 == NULL) SWIG_fail;
26452 temp2 = True;
26453 }
26454 {
26455 PyThreadState* __tstate = wxPyBeginAllowThreads();
26456 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26457
26458 wxPyEndAllowThreads(__tstate);
26459 if (PyErr_Occurred()) SWIG_fail;
26460 }
26461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26462 {
26463 if (temp2)
26464 delete arg2;
26465 }
26466 return resultobj;
26467 fail:
26468 {
26469 if (temp2)
26470 delete arg2;
26471 }
26472 return NULL;
26473 }
26474
26475
26476 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26477 PyObject *resultobj;
26478 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26479 wxString result;
26480 PyObject * obj0 = 0 ;
26481 char *kwnames[] = {
26482 (char *) "self", NULL
26483 };
26484
26485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 {
26495 #if wxUSE_UNICODE
26496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26497 #else
26498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26499 #endif
26500 }
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26508 PyObject *resultobj;
26509 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26510 wxString *arg2 = 0 ;
26511 bool temp2 = False ;
26512 PyObject * obj0 = 0 ;
26513 PyObject * obj1 = 0 ;
26514 char *kwnames[] = {
26515 (char *) "self",(char *) "path", NULL
26516 };
26517
26518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26520 {
26521 arg2 = wxString_in_helper(obj1);
26522 if (arg2 == NULL) SWIG_fail;
26523 temp2 = True;
26524 }
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 (arg1)->SetDefaultPath((wxString const &)*arg2);
26528
26529 wxPyEndAllowThreads(__tstate);
26530 if (PyErr_Occurred()) SWIG_fail;
26531 }
26532 Py_INCREF(Py_None); resultobj = Py_None;
26533 {
26534 if (temp2)
26535 delete arg2;
26536 }
26537 return resultobj;
26538 fail:
26539 {
26540 if (temp2)
26541 delete arg2;
26542 }
26543 return NULL;
26544 }
26545
26546
26547 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj;
26549 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26550 wxString result;
26551 PyObject * obj0 = 0 ;
26552 char *kwnames[] = {
26553 (char *) "self", NULL
26554 };
26555
26556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26561
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 {
26566 #if wxUSE_UNICODE
26567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26568 #else
26569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26570 #endif
26571 }
26572 return resultobj;
26573 fail:
26574 return NULL;
26575 }
26576
26577
26578 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26579 PyObject *resultobj;
26580 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26581 wxString result;
26582 PyObject * obj0 = 0 ;
26583 char *kwnames[] = {
26584 (char *) "self", NULL
26585 };
26586
26587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26592
26593 wxPyEndAllowThreads(__tstate);
26594 if (PyErr_Occurred()) SWIG_fail;
26595 }
26596 {
26597 #if wxUSE_UNICODE
26598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26599 #else
26600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26601 #endif
26602 }
26603 return resultobj;
26604 fail:
26605 return NULL;
26606 }
26607
26608
26609 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26610 PyObject *resultobj;
26611 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26612 wxString *arg2 = 0 ;
26613 bool temp2 = False ;
26614 PyObject * obj0 = 0 ;
26615 PyObject * obj1 = 0 ;
26616 char *kwnames[] = {
26617 (char *) "self",(char *) "path", NULL
26618 };
26619
26620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26622 {
26623 arg2 = wxString_in_helper(obj1);
26624 if (arg2 == NULL) SWIG_fail;
26625 temp2 = True;
26626 }
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 (arg1)->SetPath((wxString const &)*arg2);
26630
26631 wxPyEndAllowThreads(__tstate);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 }
26634 Py_INCREF(Py_None); resultobj = Py_None;
26635 {
26636 if (temp2)
26637 delete arg2;
26638 }
26639 return resultobj;
26640 fail:
26641 {
26642 if (temp2)
26643 delete arg2;
26644 }
26645 return NULL;
26646 }
26647
26648
26649 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26650 PyObject *resultobj;
26651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26652 bool arg2 ;
26653 PyObject * obj0 = 0 ;
26654 PyObject * obj1 = 0 ;
26655 char *kwnames[] = {
26656 (char *) "self",(char *) "show", NULL
26657 };
26658
26659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26661 {
26662 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26663 if (PyErr_Occurred()) SWIG_fail;
26664 }
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 (arg1)->ShowHidden(arg2);
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 Py_INCREF(Py_None); resultobj = Py_None;
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26682 bool result;
26683 PyObject * obj0 = 0 ;
26684 char *kwnames[] = {
26685 (char *) "self", NULL
26686 };
26687
26688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26690 {
26691 PyThreadState* __tstate = wxPyBeginAllowThreads();
26692 result = (bool)(arg1)->GetShowHidden();
26693
26694 wxPyEndAllowThreads(__tstate);
26695 if (PyErr_Occurred()) SWIG_fail;
26696 }
26697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26698 return resultobj;
26699 fail:
26700 return NULL;
26701 }
26702
26703
26704 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26705 PyObject *resultobj;
26706 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26707 wxString result;
26708 PyObject * obj0 = 0 ;
26709 char *kwnames[] = {
26710 (char *) "self", NULL
26711 };
26712
26713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26715 {
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26718
26719 wxPyEndAllowThreads(__tstate);
26720 if (PyErr_Occurred()) SWIG_fail;
26721 }
26722 {
26723 #if wxUSE_UNICODE
26724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26725 #else
26726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26727 #endif
26728 }
26729 return resultobj;
26730 fail:
26731 return NULL;
26732 }
26733
26734
26735 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj;
26737 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26738 wxString *arg2 = 0 ;
26739 bool temp2 = False ;
26740 PyObject * obj0 = 0 ;
26741 PyObject * obj1 = 0 ;
26742 char *kwnames[] = {
26743 (char *) "self",(char *) "filter", NULL
26744 };
26745
26746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26748 {
26749 arg2 = wxString_in_helper(obj1);
26750 if (arg2 == NULL) SWIG_fail;
26751 temp2 = True;
26752 }
26753 {
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 (arg1)->SetFilter((wxString const &)*arg2);
26756
26757 wxPyEndAllowThreads(__tstate);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 }
26760 Py_INCREF(Py_None); resultobj = Py_None;
26761 {
26762 if (temp2)
26763 delete arg2;
26764 }
26765 return resultobj;
26766 fail:
26767 {
26768 if (temp2)
26769 delete arg2;
26770 }
26771 return NULL;
26772 }
26773
26774
26775 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj;
26777 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26778 int result;
26779 PyObject * obj0 = 0 ;
26780 char *kwnames[] = {
26781 (char *) "self", NULL
26782 };
26783
26784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 resultobj = SWIG_PyObj_FromInt((int)result);
26794 return resultobj;
26795 fail:
26796 return NULL;
26797 }
26798
26799
26800 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26801 PyObject *resultobj;
26802 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26803 int arg2 ;
26804 PyObject * obj0 = 0 ;
26805 PyObject * obj1 = 0 ;
26806 char *kwnames[] = {
26807 (char *) "self",(char *) "n", NULL
26808 };
26809
26810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26812 {
26813 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 (arg1)->SetFilterIndex(arg2);
26819
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 Py_INCREF(Py_None); resultobj = Py_None;
26824 return resultobj;
26825 fail:
26826 return NULL;
26827 }
26828
26829
26830 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26831 PyObject *resultobj;
26832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26833 wxTreeItemId result;
26834 PyObject * obj0 = 0 ;
26835 char *kwnames[] = {
26836 (char *) "self", NULL
26837 };
26838
26839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26841 {
26842 PyThreadState* __tstate = wxPyBeginAllowThreads();
26843 result = (arg1)->GetRootId();
26844
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 {
26849 wxTreeItemId * resultptr;
26850 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26851 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26852 }
26853 return resultobj;
26854 fail:
26855 return NULL;
26856 }
26857
26858
26859 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26860 PyObject *resultobj;
26861 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26862 wxPyTreeCtrl *result;
26863 PyObject * obj0 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
26869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
26873
26874 wxPyEndAllowThreads(__tstate);
26875 if (PyErr_Occurred()) SWIG_fail;
26876 }
26877 {
26878 resultobj = wxPyMake_wxObject(result);
26879 }
26880 return resultobj;
26881 fail:
26882 return NULL;
26883 }
26884
26885
26886 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26887 PyObject *resultobj;
26888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26889 wxDirFilterListCtrl *result;
26890 PyObject * obj0 = 0 ;
26891 char *kwnames[] = {
26892 (char *) "self", NULL
26893 };
26894
26895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
26896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
26900
26901 wxPyEndAllowThreads(__tstate);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 }
26904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
26905 return resultobj;
26906 fail:
26907 return NULL;
26908 }
26909
26910
26911 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26912 PyObject *resultobj;
26913 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26914 wxTreeItemId arg2 ;
26915 wxString *arg3 = 0 ;
26916 bool *arg4 = 0 ;
26917 wxTreeItemId result;
26918 wxTreeItemId *argp2 ;
26919 bool temp3 = False ;
26920 bool temp4 ;
26921 PyObject * obj0 = 0 ;
26922 PyObject * obj1 = 0 ;
26923 PyObject * obj2 = 0 ;
26924 char *kwnames[] = {
26925 (char *) "self",(char *) "parentId",(char *) "path", NULL
26926 };
26927
26928 arg4 = &temp4;
26929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26931 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
26932 arg2 = *argp2;
26933 {
26934 arg3 = wxString_in_helper(obj2);
26935 if (arg3 == NULL) SWIG_fail;
26936 temp3 = True;
26937 }
26938 {
26939 PyThreadState* __tstate = wxPyBeginAllowThreads();
26940 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
26941
26942 wxPyEndAllowThreads(__tstate);
26943 if (PyErr_Occurred()) SWIG_fail;
26944 }
26945 {
26946 wxTreeItemId * resultptr;
26947 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26949 }
26950 {
26951 PyObject *o = PyInt_FromLong((long) (*arg4));
26952 resultobj = t_output_helper(resultobj,o);
26953 }
26954 {
26955 if (temp3)
26956 delete arg3;
26957 }
26958 return resultobj;
26959 fail:
26960 {
26961 if (temp3)
26962 delete arg3;
26963 }
26964 return NULL;
26965 }
26966
26967
26968 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
26969 PyObject *resultobj;
26970 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26971 PyObject * obj0 = 0 ;
26972 char *kwnames[] = {
26973 (char *) "self", NULL
26974 };
26975
26976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
26977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26978 {
26979 PyThreadState* __tstate = wxPyBeginAllowThreads();
26980 (arg1)->DoResize();
26981
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 Py_INCREF(Py_None); resultobj = Py_None;
26986 return resultobj;
26987 fail:
26988 return NULL;
26989 }
26990
26991
26992 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
26993 PyObject *resultobj;
26994 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26995 PyObject * obj0 = 0 ;
26996 char *kwnames[] = {
26997 (char *) "self", NULL
26998 };
26999
27000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27002 {
27003 PyThreadState* __tstate = wxPyBeginAllowThreads();
27004 (arg1)->ReCreateTree();
27005
27006 wxPyEndAllowThreads(__tstate);
27007 if (PyErr_Occurred()) SWIG_fail;
27008 }
27009 Py_INCREF(Py_None); resultobj = Py_None;
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27017 PyObject *obj;
27018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27019 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27020 Py_INCREF(obj);
27021 return Py_BuildValue((char *)"");
27022 }
27023 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27024 PyObject *resultobj;
27025 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27026 int arg2 = (int) (int)-1 ;
27027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27029 wxSize const &arg4_defvalue = wxDefaultSize ;
27030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27031 long arg5 = (long) 0 ;
27032 wxDirFilterListCtrl *result;
27033 wxPoint temp3 ;
27034 wxSize temp4 ;
27035 PyObject * obj0 = 0 ;
27036 PyObject * obj1 = 0 ;
27037 PyObject * obj2 = 0 ;
27038 PyObject * obj3 = 0 ;
27039 PyObject * obj4 = 0 ;
27040 char *kwnames[] = {
27041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27042 };
27043
27044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27046 if (obj1) {
27047 {
27048 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 }
27052 if (obj2) {
27053 {
27054 arg3 = &temp3;
27055 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27056 }
27057 }
27058 if (obj3) {
27059 {
27060 arg4 = &temp4;
27061 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27062 }
27063 }
27064 if (obj4) {
27065 {
27066 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27067 if (PyErr_Occurred()) SWIG_fail;
27068 }
27069 }
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27073
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27078 return resultobj;
27079 fail:
27080 return NULL;
27081 }
27082
27083
27084 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27085 PyObject *resultobj;
27086 wxDirFilterListCtrl *result;
27087 char *kwnames[] = {
27088 NULL
27089 };
27090
27091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27092 {
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27095
27096 wxPyEndAllowThreads(__tstate);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27100 return resultobj;
27101 fail:
27102 return NULL;
27103 }
27104
27105
27106 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27107 PyObject *resultobj;
27108 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27109 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27110 int arg3 = (int) (int)-1 ;
27111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27113 wxSize const &arg5_defvalue = wxDefaultSize ;
27114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27115 long arg6 = (long) 0 ;
27116 bool result;
27117 wxPoint temp4 ;
27118 wxSize temp5 ;
27119 PyObject * obj0 = 0 ;
27120 PyObject * obj1 = 0 ;
27121 PyObject * obj2 = 0 ;
27122 PyObject * obj3 = 0 ;
27123 PyObject * obj4 = 0 ;
27124 PyObject * obj5 = 0 ;
27125 char *kwnames[] = {
27126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27127 };
27128
27129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27132 if (obj2) {
27133 {
27134 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 }
27138 if (obj3) {
27139 {
27140 arg4 = &temp4;
27141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27142 }
27143 }
27144 if (obj4) {
27145 {
27146 arg5 = &temp5;
27147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27148 }
27149 }
27150 if (obj5) {
27151 {
27152 arg6 = (long) SWIG_PyObj_AsLong(obj5);
27153 if (PyErr_Occurred()) SWIG_fail;
27154 }
27155 }
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
27158 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27173 wxString *arg2 = 0 ;
27174 int arg3 ;
27175 bool temp2 = False ;
27176 PyObject * obj0 = 0 ;
27177 PyObject * obj1 = 0 ;
27178 PyObject * obj2 = 0 ;
27179 char *kwnames[] = {
27180 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27181 };
27182
27183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27185 {
27186 arg2 = wxString_in_helper(obj1);
27187 if (arg2 == NULL) SWIG_fail;
27188 temp2 = True;
27189 }
27190 {
27191 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 {
27195 PyThreadState* __tstate = wxPyBeginAllowThreads();
27196 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27197
27198 wxPyEndAllowThreads(__tstate);
27199 if (PyErr_Occurred()) SWIG_fail;
27200 }
27201 Py_INCREF(Py_None); resultobj = Py_None;
27202 {
27203 if (temp2)
27204 delete arg2;
27205 }
27206 return resultobj;
27207 fail:
27208 {
27209 if (temp2)
27210 delete arg2;
27211 }
27212 return NULL;
27213 }
27214
27215
27216 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27217 PyObject *obj;
27218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27219 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27220 Py_INCREF(obj);
27221 return Py_BuildValue((char *)"");
27222 }
27223 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj;
27225 wxWindow *arg1 = (wxWindow *) 0 ;
27226 int arg2 ;
27227 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27228 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27229 wxSize const &arg4_defvalue = wxDefaultSize ;
27230 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27231 long arg5 = (long) 0 ;
27232 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27233 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27234 wxString const &arg7_defvalue = wxPyControlNameStr ;
27235 wxString *arg7 = (wxString *) &arg7_defvalue ;
27236 wxPyControl *result;
27237 wxPoint temp3 ;
27238 wxSize temp4 ;
27239 bool temp7 = False ;
27240 PyObject * obj0 = 0 ;
27241 PyObject * obj1 = 0 ;
27242 PyObject * obj2 = 0 ;
27243 PyObject * obj3 = 0 ;
27244 PyObject * obj4 = 0 ;
27245 PyObject * obj5 = 0 ;
27246 PyObject * obj6 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27253 {
27254 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 if (obj2) {
27258 {
27259 arg3 = &temp3;
27260 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27261 }
27262 }
27263 if (obj3) {
27264 {
27265 arg4 = &temp4;
27266 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27267 }
27268 }
27269 if (obj4) {
27270 {
27271 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27272 if (PyErr_Occurred()) SWIG_fail;
27273 }
27274 }
27275 if (obj5) {
27276 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27277 if (arg6 == NULL) {
27278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27279 }
27280 }
27281 if (obj6) {
27282 {
27283 arg7 = wxString_in_helper(obj6);
27284 if (arg7 == NULL) SWIG_fail;
27285 temp7 = True;
27286 }
27287 }
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27291
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27296 {
27297 if (temp7)
27298 delete arg7;
27299 }
27300 return resultobj;
27301 fail:
27302 {
27303 if (temp7)
27304 delete arg7;
27305 }
27306 return NULL;
27307 }
27308
27309
27310 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27311 PyObject *resultobj;
27312 wxPyControl *arg1 = (wxPyControl *) 0 ;
27313 PyObject *arg2 = (PyObject *) 0 ;
27314 PyObject *arg3 = (PyObject *) 0 ;
27315 PyObject * obj0 = 0 ;
27316 PyObject * obj1 = 0 ;
27317 PyObject * obj2 = 0 ;
27318 char *kwnames[] = {
27319 (char *) "self",(char *) "self",(char *) "_class", NULL
27320 };
27321
27322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27324 arg2 = obj1;
27325 arg3 = obj2;
27326 {
27327 PyThreadState* __tstate = wxPyBeginAllowThreads();
27328 (arg1)->_setCallbackInfo(arg2,arg3);
27329
27330 wxPyEndAllowThreads(__tstate);
27331 if (PyErr_Occurred()) SWIG_fail;
27332 }
27333 Py_INCREF(Py_None); resultobj = Py_None;
27334 return resultobj;
27335 fail:
27336 return NULL;
27337 }
27338
27339
27340 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27341 PyObject *resultobj;
27342 wxPyControl *arg1 = (wxPyControl *) 0 ;
27343 int arg2 ;
27344 int arg3 ;
27345 int arg4 ;
27346 int arg5 ;
27347 PyObject * obj0 = 0 ;
27348 PyObject * obj1 = 0 ;
27349 PyObject * obj2 = 0 ;
27350 PyObject * obj3 = 0 ;
27351 PyObject * obj4 = 0 ;
27352 char *kwnames[] = {
27353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27354 };
27355
27356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27358 {
27359 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27360 if (PyErr_Occurred()) SWIG_fail;
27361 }
27362 {
27363 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 {
27367 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27368 if (PyErr_Occurred()) SWIG_fail;
27369 }
27370 {
27371 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 }
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 Py_INCREF(Py_None); resultobj = Py_None;
27382 return resultobj;
27383 fail:
27384 return NULL;
27385 }
27386
27387
27388 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27389 PyObject *resultobj;
27390 wxPyControl *arg1 = (wxPyControl *) 0 ;
27391 int arg2 ;
27392 int arg3 ;
27393 int arg4 ;
27394 int arg5 ;
27395 int arg6 = (int) wxSIZE_AUTO ;
27396 PyObject * obj0 = 0 ;
27397 PyObject * obj1 = 0 ;
27398 PyObject * obj2 = 0 ;
27399 PyObject * obj3 = 0 ;
27400 PyObject * obj4 = 0 ;
27401 PyObject * obj5 = 0 ;
27402 char *kwnames[] = {
27403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27404 };
27405
27406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27408 {
27409 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 }
27416 {
27417 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 {
27421 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 if (obj5) {
27425 {
27426 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 }
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27433
27434 wxPyEndAllowThreads(__tstate);
27435 if (PyErr_Occurred()) SWIG_fail;
27436 }
27437 Py_INCREF(Py_None); resultobj = Py_None;
27438 return resultobj;
27439 fail:
27440 return NULL;
27441 }
27442
27443
27444 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27445 PyObject *resultobj;
27446 wxPyControl *arg1 = (wxPyControl *) 0 ;
27447 int arg2 ;
27448 int arg3 ;
27449 PyObject * obj0 = 0 ;
27450 PyObject * obj1 = 0 ;
27451 PyObject * obj2 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "width",(char *) "height", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27458 {
27459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 {
27463 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 (arg1)->base_DoSetClientSize(arg2,arg3);
27469
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 Py_INCREF(Py_None); resultobj = Py_None;
27474 return resultobj;
27475 fail:
27476 return NULL;
27477 }
27478
27479
27480 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27481 PyObject *resultobj;
27482 wxPyControl *arg1 = (wxPyControl *) 0 ;
27483 int arg2 ;
27484 int arg3 ;
27485 PyObject * obj0 = 0 ;
27486 PyObject * obj1 = 0 ;
27487 PyObject * obj2 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "x",(char *) "y", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27494 {
27495 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 {
27499 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 PyThreadState* __tstate = wxPyBeginAllowThreads();
27504 (arg1)->base_DoSetVirtualSize(arg2,arg3);
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_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27517 PyObject *resultobj;
27518 wxPyControl *arg1 = (wxPyControl *) 0 ;
27519 int *arg2 = (int *) 0 ;
27520 int *arg3 = (int *) 0 ;
27521 int temp2 ;
27522 int temp3 ;
27523 PyObject * obj0 = 0 ;
27524 char *kwnames[] = {
27525 (char *) "self", NULL
27526 };
27527
27528 arg2 = &temp2;
27529 arg3 = &temp3;
27530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27532 {
27533 PyThreadState* __tstate = wxPyBeginAllowThreads();
27534 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27535
27536 wxPyEndAllowThreads(__tstate);
27537 if (PyErr_Occurred()) SWIG_fail;
27538 }
27539 Py_INCREF(Py_None); resultobj = Py_None;
27540 {
27541 PyObject *o = PyInt_FromLong((long) (*arg2));
27542 resultobj = t_output_helper(resultobj,o);
27543 }
27544 {
27545 PyObject *o = PyInt_FromLong((long) (*arg3));
27546 resultobj = t_output_helper(resultobj,o);
27547 }
27548 return resultobj;
27549 fail:
27550 return NULL;
27551 }
27552
27553
27554 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27555 PyObject *resultobj;
27556 wxPyControl *arg1 = (wxPyControl *) 0 ;
27557 int *arg2 = (int *) 0 ;
27558 int *arg3 = (int *) 0 ;
27559 int temp2 ;
27560 int temp3 ;
27561 PyObject * obj0 = 0 ;
27562 char *kwnames[] = {
27563 (char *) "self", NULL
27564 };
27565
27566 arg2 = &temp2;
27567 arg3 = &temp3;
27568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27573
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 Py_INCREF(Py_None); resultobj = Py_None;
27578 {
27579 PyObject *o = PyInt_FromLong((long) (*arg2));
27580 resultobj = t_output_helper(resultobj,o);
27581 }
27582 {
27583 PyObject *o = PyInt_FromLong((long) (*arg3));
27584 resultobj = t_output_helper(resultobj,o);
27585 }
27586 return resultobj;
27587 fail:
27588 return NULL;
27589 }
27590
27591
27592 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27593 PyObject *resultobj;
27594 wxPyControl *arg1 = (wxPyControl *) 0 ;
27595 int *arg2 = (int *) 0 ;
27596 int *arg3 = (int *) 0 ;
27597 int temp2 ;
27598 int temp3 ;
27599 PyObject * obj0 = 0 ;
27600 char *kwnames[] = {
27601 (char *) "self", NULL
27602 };
27603
27604 arg2 = &temp2;
27605 arg3 = &temp3;
27606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 Py_INCREF(Py_None); resultobj = Py_None;
27616 {
27617 PyObject *o = PyInt_FromLong((long) (*arg2));
27618 resultobj = t_output_helper(resultobj,o);
27619 }
27620 {
27621 PyObject *o = PyInt_FromLong((long) (*arg3));
27622 resultobj = t_output_helper(resultobj,o);
27623 }
27624 return resultobj;
27625 fail:
27626 return NULL;
27627 }
27628
27629
27630 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27631 PyObject *resultobj;
27632 wxPyControl *arg1 = (wxPyControl *) 0 ;
27633 wxSize result;
27634 PyObject * obj0 = 0 ;
27635 char *kwnames[] = {
27636 (char *) "self", NULL
27637 };
27638
27639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27641 {
27642 PyThreadState* __tstate = wxPyBeginAllowThreads();
27643 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27644
27645 wxPyEndAllowThreads(__tstate);
27646 if (PyErr_Occurred()) SWIG_fail;
27647 }
27648 {
27649 wxSize * resultptr;
27650 resultptr = new wxSize((wxSize &) result);
27651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27652 }
27653 return resultobj;
27654 fail:
27655 return NULL;
27656 }
27657
27658
27659 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27660 PyObject *resultobj;
27661 wxPyControl *arg1 = (wxPyControl *) 0 ;
27662 wxSize result;
27663 PyObject * obj0 = 0 ;
27664 char *kwnames[] = {
27665 (char *) "self", NULL
27666 };
27667
27668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27673
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 {
27678 wxSize * resultptr;
27679 resultptr = new wxSize((wxSize &) result);
27680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27681 }
27682 return resultobj;
27683 fail:
27684 return NULL;
27685 }
27686
27687
27688 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27689 PyObject *resultobj;
27690 wxPyControl *arg1 = (wxPyControl *) 0 ;
27691 PyObject * obj0 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "self", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",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 (arg1)->base_InitDialog();
27701
27702 wxPyEndAllowThreads(__tstate);
27703 if (PyErr_Occurred()) SWIG_fail;
27704 }
27705 Py_INCREF(Py_None); resultobj = Py_None;
27706 return resultobj;
27707 fail:
27708 return NULL;
27709 }
27710
27711
27712 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27713 PyObject *resultobj;
27714 wxPyControl *arg1 = (wxPyControl *) 0 ;
27715 bool result;
27716 PyObject * obj0 = 0 ;
27717 char *kwnames[] = {
27718 (char *) "self", NULL
27719 };
27720
27721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 result = (bool)(arg1)->base_TransferDataToWindow();
27726
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
27730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27731 return resultobj;
27732 fail:
27733 return NULL;
27734 }
27735
27736
27737 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27738 PyObject *resultobj;
27739 wxPyControl *arg1 = (wxPyControl *) 0 ;
27740 bool result;
27741 PyObject * obj0 = 0 ;
27742 char *kwnames[] = {
27743 (char *) "self", NULL
27744 };
27745
27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27748 {
27749 PyThreadState* __tstate = wxPyBeginAllowThreads();
27750 result = (bool)(arg1)->base_TransferDataFromWindow();
27751
27752 wxPyEndAllowThreads(__tstate);
27753 if (PyErr_Occurred()) SWIG_fail;
27754 }
27755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27756 return resultobj;
27757 fail:
27758 return NULL;
27759 }
27760
27761
27762 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27763 PyObject *resultobj;
27764 wxPyControl *arg1 = (wxPyControl *) 0 ;
27765 bool result;
27766 PyObject * obj0 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27773 {
27774 PyThreadState* __tstate = wxPyBeginAllowThreads();
27775 result = (bool)(arg1)->base_Validate();
27776
27777 wxPyEndAllowThreads(__tstate);
27778 if (PyErr_Occurred()) SWIG_fail;
27779 }
27780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27781 return resultobj;
27782 fail:
27783 return NULL;
27784 }
27785
27786
27787 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27788 PyObject *resultobj;
27789 wxPyControl *arg1 = (wxPyControl *) 0 ;
27790 bool result;
27791 PyObject * obj0 = 0 ;
27792 char *kwnames[] = {
27793 (char *) "self", NULL
27794 };
27795
27796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",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 = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27813 PyObject *resultobj;
27814 wxPyControl *arg1 = (wxPyControl *) 0 ;
27815 bool result;
27816 PyObject * obj0 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "self", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27823 {
27824 PyThreadState* __tstate = wxPyBeginAllowThreads();
27825 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27826
27827 wxPyEndAllowThreads(__tstate);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 }
27830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27831 return resultobj;
27832 fail:
27833 return NULL;
27834 }
27835
27836
27837 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27838 PyObject *resultobj;
27839 wxPyControl *arg1 = (wxPyControl *) 0 ;
27840 wxSize result;
27841 PyObject * obj0 = 0 ;
27842 char *kwnames[] = {
27843 (char *) "self", NULL
27844 };
27845
27846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
27850 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 {
27856 wxSize * resultptr;
27857 resultptr = new wxSize((wxSize &) result);
27858 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27859 }
27860 return resultobj;
27861 fail:
27862 return NULL;
27863 }
27864
27865
27866 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27867 PyObject *resultobj;
27868 wxPyControl *arg1 = (wxPyControl *) 0 ;
27869 wxWindow *arg2 = (wxWindow *) 0 ;
27870 PyObject * obj0 = 0 ;
27871 PyObject * obj1 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self",(char *) "child", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
27877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 (arg1)->base_AddChild(arg2);
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 Py_INCREF(Py_None); resultobj = Py_None;
27887 return resultobj;
27888 fail:
27889 return NULL;
27890 }
27891
27892
27893 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27894 PyObject *resultobj;
27895 wxPyControl *arg1 = (wxPyControl *) 0 ;
27896 wxWindow *arg2 = (wxWindow *) 0 ;
27897 PyObject * obj0 = 0 ;
27898 PyObject * obj1 = 0 ;
27899 char *kwnames[] = {
27900 (char *) "self",(char *) "child", NULL
27901 };
27902
27903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
27904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27906 {
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
27908 (arg1)->base_RemoveChild(arg2);
27909
27910 wxPyEndAllowThreads(__tstate);
27911 if (PyErr_Occurred()) SWIG_fail;
27912 }
27913 Py_INCREF(Py_None); resultobj = Py_None;
27914 return resultobj;
27915 fail:
27916 return NULL;
27917 }
27918
27919
27920 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
27921 PyObject *obj;
27922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27923 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
27924 Py_INCREF(obj);
27925 return Py_BuildValue((char *)"");
27926 }
27927 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
27928 PyObject *resultobj;
27929 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27930 int arg2 = (int) 0 ;
27931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27933 wxHelpEvent *result;
27934 wxPoint temp3 ;
27935 PyObject * obj0 = 0 ;
27936 PyObject * obj1 = 0 ;
27937 PyObject * obj2 = 0 ;
27938 char *kwnames[] = {
27939 (char *) "type",(char *) "winid",(char *) "pt", NULL
27940 };
27941
27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
27943 if (obj0) {
27944 {
27945 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
27948 }
27949 if (obj1) {
27950 {
27951 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27952 if (PyErr_Occurred()) SWIG_fail;
27953 }
27954 }
27955 if (obj2) {
27956 {
27957 arg3 = &temp3;
27958 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27959 }
27960 }
27961 {
27962 PyThreadState* __tstate = wxPyBeginAllowThreads();
27963 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
27964
27965 wxPyEndAllowThreads(__tstate);
27966 if (PyErr_Occurred()) SWIG_fail;
27967 }
27968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
27969 return resultobj;
27970 fail:
27971 return NULL;
27972 }
27973
27974
27975 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27976 PyObject *resultobj;
27977 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27978 wxPoint *result;
27979 PyObject * obj0 = 0 ;
27980 char *kwnames[] = {
27981 (char *) "self", NULL
27982 };
27983
27984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
27985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27986 {
27987 PyThreadState* __tstate = wxPyBeginAllowThreads();
27988 {
27989 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
27990 result = (wxPoint *) &_result_ref;
27991 }
27992
27993 wxPyEndAllowThreads(__tstate);
27994 if (PyErr_Occurred()) SWIG_fail;
27995 }
27996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
27997 return resultobj;
27998 fail:
27999 return NULL;
28000 }
28001
28002
28003 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28004 PyObject *resultobj;
28005 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28006 wxPoint *arg2 = 0 ;
28007 wxPoint temp2 ;
28008 PyObject * obj0 = 0 ;
28009 PyObject * obj1 = 0 ;
28010 char *kwnames[] = {
28011 (char *) "self",(char *) "pos", NULL
28012 };
28013
28014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28016 {
28017 arg2 = &temp2;
28018 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28019 }
28020 {
28021 PyThreadState* __tstate = wxPyBeginAllowThreads();
28022 (arg1)->SetPosition((wxPoint const &)*arg2);
28023
28024 wxPyEndAllowThreads(__tstate);
28025 if (PyErr_Occurred()) SWIG_fail;
28026 }
28027 Py_INCREF(Py_None); resultobj = Py_None;
28028 return resultobj;
28029 fail:
28030 return NULL;
28031 }
28032
28033
28034 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28035 PyObject *resultobj;
28036 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28037 wxString *result;
28038 PyObject * obj0 = 0 ;
28039 char *kwnames[] = {
28040 (char *) "self", NULL
28041 };
28042
28043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28045 {
28046 PyThreadState* __tstate = wxPyBeginAllowThreads();
28047 {
28048 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28049 result = (wxString *) &_result_ref;
28050 }
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 {
28056 #if wxUSE_UNICODE
28057 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28058 #else
28059 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28060 #endif
28061 }
28062 return resultobj;
28063 fail:
28064 return NULL;
28065 }
28066
28067
28068 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28069 PyObject *resultobj;
28070 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28071 wxString *arg2 = 0 ;
28072 bool temp2 = False ;
28073 PyObject * obj0 = 0 ;
28074 PyObject * obj1 = 0 ;
28075 char *kwnames[] = {
28076 (char *) "self",(char *) "link", NULL
28077 };
28078
28079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28081 {
28082 arg2 = wxString_in_helper(obj1);
28083 if (arg2 == NULL) SWIG_fail;
28084 temp2 = True;
28085 }
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->SetLink((wxString const &)*arg2);
28089
28090 wxPyEndAllowThreads(__tstate);
28091 if (PyErr_Occurred()) SWIG_fail;
28092 }
28093 Py_INCREF(Py_None); resultobj = Py_None;
28094 {
28095 if (temp2)
28096 delete arg2;
28097 }
28098 return resultobj;
28099 fail:
28100 {
28101 if (temp2)
28102 delete arg2;
28103 }
28104 return NULL;
28105 }
28106
28107
28108 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28109 PyObject *resultobj;
28110 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28111 wxString *result;
28112 PyObject * obj0 = 0 ;
28113 char *kwnames[] = {
28114 (char *) "self", NULL
28115 };
28116
28117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28119 {
28120 PyThreadState* __tstate = wxPyBeginAllowThreads();
28121 {
28122 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28123 result = (wxString *) &_result_ref;
28124 }
28125
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 {
28130 #if wxUSE_UNICODE
28131 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28132 #else
28133 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28134 #endif
28135 }
28136 return resultobj;
28137 fail:
28138 return NULL;
28139 }
28140
28141
28142 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28143 PyObject *resultobj;
28144 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28145 wxString *arg2 = 0 ;
28146 bool temp2 = False ;
28147 PyObject * obj0 = 0 ;
28148 PyObject * obj1 = 0 ;
28149 char *kwnames[] = {
28150 (char *) "self",(char *) "target", NULL
28151 };
28152
28153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28155 {
28156 arg2 = wxString_in_helper(obj1);
28157 if (arg2 == NULL) SWIG_fail;
28158 temp2 = True;
28159 }
28160 {
28161 PyThreadState* __tstate = wxPyBeginAllowThreads();
28162 (arg1)->SetTarget((wxString const &)*arg2);
28163
28164 wxPyEndAllowThreads(__tstate);
28165 if (PyErr_Occurred()) SWIG_fail;
28166 }
28167 Py_INCREF(Py_None); resultobj = Py_None;
28168 {
28169 if (temp2)
28170 delete arg2;
28171 }
28172 return resultobj;
28173 fail:
28174 {
28175 if (temp2)
28176 delete arg2;
28177 }
28178 return NULL;
28179 }
28180
28181
28182 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28183 PyObject *obj;
28184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28185 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28186 Py_INCREF(obj);
28187 return Py_BuildValue((char *)"");
28188 }
28189 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28190 PyObject *resultobj;
28191 wxWindow *arg1 = (wxWindow *) NULL ;
28192 bool arg2 = (bool) True ;
28193 wxContextHelp *result;
28194 PyObject * obj0 = 0 ;
28195 PyObject * obj1 = 0 ;
28196 char *kwnames[] = {
28197 (char *) "window",(char *) "doNow", NULL
28198 };
28199
28200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28201 if (obj0) {
28202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28203 }
28204 if (obj1) {
28205 {
28206 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 }
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28213
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
28218 return resultobj;
28219 fail:
28220 return NULL;
28221 }
28222
28223
28224 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28225 PyObject *resultobj;
28226 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28227 PyObject * obj0 = 0 ;
28228 char *kwnames[] = {
28229 (char *) "self", NULL
28230 };
28231
28232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 delete arg1;
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 Py_INCREF(Py_None); resultobj = Py_None;
28242 return resultobj;
28243 fail:
28244 return NULL;
28245 }
28246
28247
28248 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28249 PyObject *resultobj;
28250 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28251 wxWindow *arg2 = (wxWindow *) NULL ;
28252 bool result;
28253 PyObject * obj0 = 0 ;
28254 PyObject * obj1 = 0 ;
28255 char *kwnames[] = {
28256 (char *) "self",(char *) "window", NULL
28257 };
28258
28259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28261 if (obj1) {
28262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28263 }
28264 {
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 result = (bool)(arg1)->BeginContextHelp(arg2);
28267
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28279 PyObject *resultobj;
28280 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28281 bool result;
28282 PyObject * obj0 = 0 ;
28283 char *kwnames[] = {
28284 (char *) "self", NULL
28285 };
28286
28287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 result = (bool)(arg1)->EndContextHelp();
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28297 return resultobj;
28298 fail:
28299 return NULL;
28300 }
28301
28302
28303 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28304 PyObject *obj;
28305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28306 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28307 Py_INCREF(obj);
28308 return Py_BuildValue((char *)"");
28309 }
28310 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj;
28312 wxWindow *arg1 = (wxWindow *) 0 ;
28313 int arg2 = (int) wxID_CONTEXT_HELP ;
28314 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28315 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28316 wxSize const &arg4_defvalue = wxDefaultSize ;
28317 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28318 long arg5 = (long) wxBU_AUTODRAW ;
28319 wxContextHelpButton *result;
28320 wxPoint temp3 ;
28321 wxSize temp4 ;
28322 PyObject * obj0 = 0 ;
28323 PyObject * obj1 = 0 ;
28324 PyObject * obj2 = 0 ;
28325 PyObject * obj3 = 0 ;
28326 PyObject * obj4 = 0 ;
28327 char *kwnames[] = {
28328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28329 };
28330
28331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28333 if (obj1) {
28334 {
28335 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28336 if (PyErr_Occurred()) SWIG_fail;
28337 }
28338 }
28339 if (obj2) {
28340 {
28341 arg3 = &temp3;
28342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28343 }
28344 }
28345 if (obj3) {
28346 {
28347 arg4 = &temp4;
28348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28349 }
28350 }
28351 if (obj4) {
28352 {
28353 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 }
28357 {
28358 PyThreadState* __tstate = wxPyBeginAllowThreads();
28359 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28360
28361 wxPyEndAllowThreads(__tstate);
28362 if (PyErr_Occurred()) SWIG_fail;
28363 }
28364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28372 PyObject *obj;
28373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28374 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28375 Py_INCREF(obj);
28376 return Py_BuildValue((char *)"");
28377 }
28378 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28379 PyObject *resultobj;
28380 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28381 wxHelpProvider *result;
28382 PyObject * obj0 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "helpProvider", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28392
28393 wxPyEndAllowThreads(__tstate);
28394 if (PyErr_Occurred()) SWIG_fail;
28395 }
28396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28397 return resultobj;
28398 fail:
28399 return NULL;
28400 }
28401
28402
28403 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxHelpProvider *result;
28406 char *kwnames[] = {
28407 NULL
28408 };
28409
28410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 result = (wxHelpProvider *)wxHelpProvider::Get();
28414
28415 wxPyEndAllowThreads(__tstate);
28416 if (PyErr_Occurred()) SWIG_fail;
28417 }
28418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28419 return resultobj;
28420 fail:
28421 return NULL;
28422 }
28423
28424
28425 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28426 PyObject *resultobj;
28427 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28428 wxWindow *arg2 = (wxWindow *) 0 ;
28429 wxString result;
28430 PyObject * obj0 = 0 ;
28431 PyObject * obj1 = 0 ;
28432 char *kwnames[] = {
28433 (char *) "self",(char *) "window", NULL
28434 };
28435
28436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 result = (arg1)->GetHelp((wxWindow const *)arg2);
28442
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 {
28447 #if wxUSE_UNICODE
28448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28449 #else
28450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28451 #endif
28452 }
28453 return resultobj;
28454 fail:
28455 return NULL;
28456 }
28457
28458
28459 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28460 PyObject *resultobj;
28461 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28462 wxWindow *arg2 = (wxWindow *) 0 ;
28463 bool result;
28464 PyObject * obj0 = 0 ;
28465 PyObject * obj1 = 0 ;
28466 char *kwnames[] = {
28467 (char *) "self",(char *) "window", NULL
28468 };
28469
28470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28473 {
28474 PyThreadState* __tstate = wxPyBeginAllowThreads();
28475 result = (bool)(arg1)->ShowHelp(arg2);
28476
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28481 return resultobj;
28482 fail:
28483 return NULL;
28484 }
28485
28486
28487 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28488 PyObject *resultobj;
28489 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28490 wxWindow *arg2 = (wxWindow *) 0 ;
28491 wxString *arg3 = 0 ;
28492 bool temp3 = False ;
28493 PyObject * obj0 = 0 ;
28494 PyObject * obj1 = 0 ;
28495 PyObject * obj2 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self",(char *) "window",(char *) "text", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28503 {
28504 arg3 = wxString_in_helper(obj2);
28505 if (arg3 == NULL) SWIG_fail;
28506 temp3 = True;
28507 }
28508 {
28509 PyThreadState* __tstate = wxPyBeginAllowThreads();
28510 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28511
28512 wxPyEndAllowThreads(__tstate);
28513 if (PyErr_Occurred()) SWIG_fail;
28514 }
28515 Py_INCREF(Py_None); resultobj = Py_None;
28516 {
28517 if (temp3)
28518 delete arg3;
28519 }
28520 return resultobj;
28521 fail:
28522 {
28523 if (temp3)
28524 delete arg3;
28525 }
28526 return NULL;
28527 }
28528
28529
28530 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28531 PyObject *resultobj;
28532 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28533 int arg2 ;
28534 wxString *arg3 = 0 ;
28535 bool temp3 = False ;
28536 PyObject * obj0 = 0 ;
28537 PyObject * obj1 = 0 ;
28538 PyObject * obj2 = 0 ;
28539 char *kwnames[] = {
28540 (char *) "self",(char *) "id",(char *) "text", NULL
28541 };
28542
28543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28545 {
28546 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 {
28550 arg3 = wxString_in_helper(obj2);
28551 if (arg3 == NULL) SWIG_fail;
28552 temp3 = True;
28553 }
28554 {
28555 PyThreadState* __tstate = wxPyBeginAllowThreads();
28556 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28557
28558 wxPyEndAllowThreads(__tstate);
28559 if (PyErr_Occurred()) SWIG_fail;
28560 }
28561 Py_INCREF(Py_None); resultobj = Py_None;
28562 {
28563 if (temp3)
28564 delete arg3;
28565 }
28566 return resultobj;
28567 fail:
28568 {
28569 if (temp3)
28570 delete arg3;
28571 }
28572 return NULL;
28573 }
28574
28575
28576 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28577 PyObject *resultobj;
28578 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28579 PyObject * obj0 = 0 ;
28580 char *kwnames[] = {
28581 (char *) "self", NULL
28582 };
28583
28584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28586 {
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 wxHelpProvider_Destroy(arg1);
28589
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 Py_INCREF(Py_None); resultobj = Py_None;
28594 return resultobj;
28595 fail:
28596 return NULL;
28597 }
28598
28599
28600 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28601 PyObject *obj;
28602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28603 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28604 Py_INCREF(obj);
28605 return Py_BuildValue((char *)"");
28606 }
28607 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28608 PyObject *resultobj;
28609 wxSimpleHelpProvider *result;
28610 char *kwnames[] = {
28611 NULL
28612 };
28613
28614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28615 {
28616 PyThreadState* __tstate = wxPyBeginAllowThreads();
28617 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28618
28619 wxPyEndAllowThreads(__tstate);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28623 return resultobj;
28624 fail:
28625 return NULL;
28626 }
28627
28628
28629 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28630 PyObject *obj;
28631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28632 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28633 Py_INCREF(obj);
28634 return Py_BuildValue((char *)"");
28635 }
28636 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28637 PyObject *resultobj;
28638 wxBitmap *arg1 = 0 ;
28639 wxCursor const &arg2_defvalue = wxNullCursor ;
28640 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28641 wxGenericDragImage *result;
28642 PyObject * obj0 = 0 ;
28643 PyObject * obj1 = 0 ;
28644 char *kwnames[] = {
28645 (char *) "image",(char *) "cursor", NULL
28646 };
28647
28648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28650 if (arg1 == NULL) {
28651 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28652 }
28653 if (obj1) {
28654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28655 if (arg2 == NULL) {
28656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28657 }
28658 }
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28662
28663 wxPyEndAllowThreads(__tstate);
28664 if (PyErr_Occurred()) SWIG_fail;
28665 }
28666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28667 return resultobj;
28668 fail:
28669 return NULL;
28670 }
28671
28672
28673 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28674 PyObject *resultobj;
28675 wxIcon *arg1 = 0 ;
28676 wxCursor const &arg2_defvalue = wxNullCursor ;
28677 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28678 wxGenericDragImage *result;
28679 PyObject * obj0 = 0 ;
28680 PyObject * obj1 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "image",(char *) "cursor", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28687 if (arg1 == NULL) {
28688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28689 }
28690 if (obj1) {
28691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28692 if (arg2 == NULL) {
28693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28694 }
28695 }
28696 {
28697 PyThreadState* __tstate = wxPyBeginAllowThreads();
28698 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28699
28700 wxPyEndAllowThreads(__tstate);
28701 if (PyErr_Occurred()) SWIG_fail;
28702 }
28703 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28704 return resultobj;
28705 fail:
28706 return NULL;
28707 }
28708
28709
28710 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28711 PyObject *resultobj;
28712 wxString *arg1 = 0 ;
28713 wxCursor const &arg2_defvalue = wxNullCursor ;
28714 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28715 wxGenericDragImage *result;
28716 bool temp1 = False ;
28717 PyObject * obj0 = 0 ;
28718 PyObject * obj1 = 0 ;
28719 char *kwnames[] = {
28720 (char *) "str",(char *) "cursor", NULL
28721 };
28722
28723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28724 {
28725 arg1 = wxString_in_helper(obj0);
28726 if (arg1 == NULL) SWIG_fail;
28727 temp1 = True;
28728 }
28729 if (obj1) {
28730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28731 if (arg2 == NULL) {
28732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28733 }
28734 }
28735 {
28736 PyThreadState* __tstate = wxPyBeginAllowThreads();
28737 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28738
28739 wxPyEndAllowThreads(__tstate);
28740 if (PyErr_Occurred()) SWIG_fail;
28741 }
28742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28743 {
28744 if (temp1)
28745 delete arg1;
28746 }
28747 return resultobj;
28748 fail:
28749 {
28750 if (temp1)
28751 delete arg1;
28752 }
28753 return NULL;
28754 }
28755
28756
28757 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28758 PyObject *resultobj;
28759 wxPyTreeCtrl *arg1 = 0 ;
28760 wxTreeItemId *arg2 = 0 ;
28761 wxGenericDragImage *result;
28762 PyObject * obj0 = 0 ;
28763 PyObject * obj1 = 0 ;
28764 char *kwnames[] = {
28765 (char *) "treeCtrl",(char *) "id", NULL
28766 };
28767
28768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28770 if (arg1 == NULL) {
28771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28772 }
28773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28774 if (arg2 == NULL) {
28775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28776 }
28777 {
28778 PyThreadState* __tstate = wxPyBeginAllowThreads();
28779 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28780
28781 wxPyEndAllowThreads(__tstate);
28782 if (PyErr_Occurred()) SWIG_fail;
28783 }
28784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28785 return resultobj;
28786 fail:
28787 return NULL;
28788 }
28789
28790
28791 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28792 PyObject *resultobj;
28793 wxPyListCtrl *arg1 = 0 ;
28794 long arg2 ;
28795 wxGenericDragImage *result;
28796 PyObject * obj0 = 0 ;
28797 PyObject * obj1 = 0 ;
28798 char *kwnames[] = {
28799 (char *) "listCtrl",(char *) "id", NULL
28800 };
28801
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28804 if (arg1 == NULL) {
28805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28806 }
28807 {
28808 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28819 return resultobj;
28820 fail:
28821 return NULL;
28822 }
28823
28824
28825 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28826 PyObject *resultobj;
28827 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28828 PyObject * obj0 = 0 ;
28829 char *kwnames[] = {
28830 (char *) "self", NULL
28831 };
28832
28833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28835 {
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 delete arg1;
28838
28839 wxPyEndAllowThreads(__tstate);
28840 if (PyErr_Occurred()) SWIG_fail;
28841 }
28842 Py_INCREF(Py_None); resultobj = Py_None;
28843 return resultobj;
28844 fail:
28845 return NULL;
28846 }
28847
28848
28849 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28850 PyObject *resultobj;
28851 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28852 wxBitmap *arg2 = (wxBitmap *) 0 ;
28853 PyObject * obj0 = 0 ;
28854 PyObject * obj1 = 0 ;
28855 char *kwnames[] = {
28856 (char *) "self",(char *) "bitmap", NULL
28857 };
28858
28859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
28860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28862 {
28863 PyThreadState* __tstate = wxPyBeginAllowThreads();
28864 (arg1)->SetBackingBitmap(arg2);
28865
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 Py_INCREF(Py_None); resultobj = Py_None;
28870 return resultobj;
28871 fail:
28872 return NULL;
28873 }
28874
28875
28876 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28877 PyObject *resultobj;
28878 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28879 wxPoint *arg2 = 0 ;
28880 wxWindow *arg3 = (wxWindow *) 0 ;
28881 bool arg4 = (bool) False ;
28882 wxRect *arg5 = (wxRect *) NULL ;
28883 bool result;
28884 wxPoint temp2 ;
28885 PyObject * obj0 = 0 ;
28886 PyObject * obj1 = 0 ;
28887 PyObject * obj2 = 0 ;
28888 PyObject * obj3 = 0 ;
28889 PyObject * obj4 = 0 ;
28890 char *kwnames[] = {
28891 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28892 };
28893
28894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28896 {
28897 arg2 = &temp2;
28898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28899 }
28900 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28901 if (obj3) {
28902 {
28903 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28904 if (PyErr_Occurred()) SWIG_fail;
28905 }
28906 }
28907 if (obj4) {
28908 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28909 }
28910 {
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
28913
28914 wxPyEndAllowThreads(__tstate);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 }
28917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28918 return resultobj;
28919 fail:
28920 return NULL;
28921 }
28922
28923
28924 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
28925 PyObject *resultobj;
28926 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28927 wxPoint *arg2 = 0 ;
28928 wxWindow *arg3 = (wxWindow *) 0 ;
28929 wxWindow *arg4 = (wxWindow *) 0 ;
28930 bool result;
28931 wxPoint temp2 ;
28932 PyObject * obj0 = 0 ;
28933 PyObject * obj1 = 0 ;
28934 PyObject * obj2 = 0 ;
28935 PyObject * obj3 = 0 ;
28936 char *kwnames[] = {
28937 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28938 };
28939
28940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28942 {
28943 arg2 = &temp2;
28944 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28945 }
28946 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28947 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28948 {
28949 PyThreadState* __tstate = wxPyBeginAllowThreads();
28950 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
28951
28952 wxPyEndAllowThreads(__tstate);
28953 if (PyErr_Occurred()) SWIG_fail;
28954 }
28955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28956 return resultobj;
28957 fail:
28958 return NULL;
28959 }
28960
28961
28962 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28963 PyObject *resultobj;
28964 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28965 bool result;
28966 PyObject * obj0 = 0 ;
28967 char *kwnames[] = {
28968 (char *) "self", NULL
28969 };
28970
28971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
28972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28973 {
28974 PyThreadState* __tstate = wxPyBeginAllowThreads();
28975 result = (bool)(arg1)->EndDrag();
28976
28977 wxPyEndAllowThreads(__tstate);
28978 if (PyErr_Occurred()) SWIG_fail;
28979 }
28980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28981 return resultobj;
28982 fail:
28983 return NULL;
28984 }
28985
28986
28987 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
28988 PyObject *resultobj;
28989 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28990 wxPoint *arg2 = 0 ;
28991 bool result;
28992 wxPoint temp2 ;
28993 PyObject * obj0 = 0 ;
28994 PyObject * obj1 = 0 ;
28995 char *kwnames[] = {
28996 (char *) "self",(char *) "pt", NULL
28997 };
28998
28999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29001 {
29002 arg2 = &temp2;
29003 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29004 }
29005 {
29006 PyThreadState* __tstate = wxPyBeginAllowThreads();
29007 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29008
29009 wxPyEndAllowThreads(__tstate);
29010 if (PyErr_Occurred()) SWIG_fail;
29011 }
29012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29013 return resultobj;
29014 fail:
29015 return NULL;
29016 }
29017
29018
29019 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29020 PyObject *resultobj;
29021 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29022 bool result;
29023 PyObject * obj0 = 0 ;
29024 char *kwnames[] = {
29025 (char *) "self", NULL
29026 };
29027
29028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29030 {
29031 PyThreadState* __tstate = wxPyBeginAllowThreads();
29032 result = (bool)(arg1)->Show();
29033
29034 wxPyEndAllowThreads(__tstate);
29035 if (PyErr_Occurred()) SWIG_fail;
29036 }
29037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29038 return resultobj;
29039 fail:
29040 return NULL;
29041 }
29042
29043
29044 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29045 PyObject *resultobj;
29046 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29047 bool result;
29048 PyObject * obj0 = 0 ;
29049 char *kwnames[] = {
29050 (char *) "self", NULL
29051 };
29052
29053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29055 {
29056 PyThreadState* __tstate = wxPyBeginAllowThreads();
29057 result = (bool)(arg1)->Hide();
29058
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29063 return resultobj;
29064 fail:
29065 return NULL;
29066 }
29067
29068
29069 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29070 PyObject *resultobj;
29071 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29072 wxPoint *arg2 = 0 ;
29073 wxRect result;
29074 wxPoint temp2 ;
29075 PyObject * obj0 = 0 ;
29076 PyObject * obj1 = 0 ;
29077 char *kwnames[] = {
29078 (char *) "self",(char *) "pos", NULL
29079 };
29080
29081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29083 {
29084 arg2 = &temp2;
29085 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29086 }
29087 {
29088 PyThreadState* __tstate = wxPyBeginAllowThreads();
29089 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29090
29091 wxPyEndAllowThreads(__tstate);
29092 if (PyErr_Occurred()) SWIG_fail;
29093 }
29094 {
29095 wxRect * resultptr;
29096 resultptr = new wxRect((wxRect &) result);
29097 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
29098 }
29099 return resultobj;
29100 fail:
29101 return NULL;
29102 }
29103
29104
29105 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29106 PyObject *resultobj;
29107 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29108 wxDC *arg2 = 0 ;
29109 wxPoint *arg3 = 0 ;
29110 bool result;
29111 wxPoint temp3 ;
29112 PyObject * obj0 = 0 ;
29113 PyObject * obj1 = 0 ;
29114 PyObject * obj2 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self",(char *) "dc",(char *) "pos", NULL
29117 };
29118
29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29122 if (arg2 == NULL) {
29123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29124 }
29125 {
29126 arg3 = &temp3;
29127 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29128 }
29129 {
29130 PyThreadState* __tstate = wxPyBeginAllowThreads();
29131 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29132
29133 wxPyEndAllowThreads(__tstate);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
29136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29137 return resultobj;
29138 fail:
29139 return NULL;
29140 }
29141
29142
29143 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29144 PyObject *resultobj;
29145 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29146 wxDC *arg2 = 0 ;
29147 wxMemoryDC *arg3 = 0 ;
29148 wxRect *arg4 = 0 ;
29149 wxRect *arg5 = 0 ;
29150 bool result;
29151 wxRect temp4 ;
29152 wxRect temp5 ;
29153 PyObject * obj0 = 0 ;
29154 PyObject * obj1 = 0 ;
29155 PyObject * obj2 = 0 ;
29156 PyObject * obj3 = 0 ;
29157 PyObject * obj4 = 0 ;
29158 char *kwnames[] = {
29159 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29160 };
29161
29162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29165 if (arg2 == NULL) {
29166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29167 }
29168 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29169 if (arg3 == NULL) {
29170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29171 }
29172 {
29173 arg4 = &temp4;
29174 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29175 }
29176 {
29177 arg5 = &temp5;
29178 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29179 }
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29183
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29188 return resultobj;
29189 fail:
29190 return NULL;
29191 }
29192
29193
29194 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj;
29196 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29197 wxPoint *arg2 = 0 ;
29198 wxPoint *arg3 = 0 ;
29199 bool arg4 ;
29200 bool arg5 ;
29201 bool result;
29202 wxPoint temp2 ;
29203 wxPoint temp3 ;
29204 PyObject * obj0 = 0 ;
29205 PyObject * obj1 = 0 ;
29206 PyObject * obj2 = 0 ;
29207 PyObject * obj3 = 0 ;
29208 PyObject * obj4 = 0 ;
29209 char *kwnames[] = {
29210 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29211 };
29212
29213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29215 {
29216 arg2 = &temp2;
29217 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29218 }
29219 {
29220 arg3 = &temp3;
29221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29222 }
29223 {
29224 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29225 if (PyErr_Occurred()) SWIG_fail;
29226 }
29227 {
29228 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29229 if (PyErr_Occurred()) SWIG_fail;
29230 }
29231 {
29232 PyThreadState* __tstate = wxPyBeginAllowThreads();
29233 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29234
29235 wxPyEndAllowThreads(__tstate);
29236 if (PyErr_Occurred()) SWIG_fail;
29237 }
29238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29239 return resultobj;
29240 fail:
29241 return NULL;
29242 }
29243
29244
29245 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29246 PyObject *obj;
29247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29248 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29249 Py_INCREF(obj);
29250 return Py_BuildValue((char *)"");
29251 }
29252 static PyMethodDef SwigMethods[] = {
29253 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29254 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29255 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29256 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29257 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29258 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29259 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29260 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29261 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29262 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29263 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29264 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29265 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29266 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29267 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29268 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29269 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29270 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29271 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29272 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29273 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29274 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29275 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29276 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29277 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29278 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29279 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29280 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29281 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29282 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29283 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29284 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29285 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29286 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29287 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29288 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29289 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29290 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29291 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29292 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29293 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29294 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29295 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29296 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29297 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29298 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29299 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29300 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29301 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29302 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29303 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29304 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29305 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29306 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29307 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29308 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29309 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29310 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29311 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29312 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29313 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29314 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29315 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29316 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29317 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29318 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29319 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29320 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29321 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29322 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29323 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29324 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29325 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29326 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29327 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29328 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29329 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29330 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29331 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29332 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29333 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29334 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29335 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29336 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29337 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29338 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29339 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29340 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29341 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29342 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29343 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29344 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29345 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29346 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29347 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29348 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29349 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29350 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29351 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29352 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29353 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29354 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29355 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29356 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29357 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29358 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29359 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29360 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29361 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29362 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29363 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29364 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29365 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29366 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29367 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29368 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29369 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29370 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29371 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29372 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29373 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29374 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29375 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29376 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29377 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29378 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29379 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29380 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29381 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29382 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29383 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29384 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29385 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29386 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29387 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29388 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29389 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29390 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29391 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29392 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29393 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29394 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29395 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29396 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29397 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29398 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29399 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29400 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29401 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29402 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29403 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29404 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29405 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29406 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29407 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29408 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29409 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29410 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29411 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29412 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29413 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29415 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29419 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29421 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29422 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29425 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29427 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29436 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29440 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29441 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29446 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29447 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29450 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29451 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29453 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29456 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29457 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29458 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29463 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29467 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29468 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29469 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29473 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29474 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29479 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29480 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29484 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29486 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29487 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29488 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29490 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29491 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29495 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29496 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29497 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29501 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29502 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29505 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29506 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29507 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29508 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29518 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29524 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29537 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29549 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29556 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29575 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29576 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29582 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29587 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29589 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29591 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29593 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29594 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29598 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29600 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29605 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29610 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29628 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29640 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29685 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29690 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29702 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29713 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29720 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29754 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29763 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29781 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29805 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29811 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29833 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29835 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
29838 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29844 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29847 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
29850 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
29853 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
29854 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
29855 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
29856 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
29861 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
29862 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29863 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29864 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
29867 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
29868 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
29870 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
29873 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
29877 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
29878 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29883 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29885 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29886 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
29893 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
29912 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
29925 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
29937 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
29942 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
29953 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29960 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
29964 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29965 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
29967 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29970 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
29974 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
29976 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
29979 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
29980 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29981 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
29989 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
29994 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30003 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30008 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30013 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30015 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30023 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30028 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30030 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30038 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30040 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30058 { NULL, NULL }
30059 };
30060
30061
30062 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30063
30064 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30065 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30066 }
30067 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30068 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30069 }
30070 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30071 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30072 }
30073 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30074 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30075 }
30076 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30077 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30078 }
30079 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30080 return (void *)((wxSizer *) ((wxGridSizer *) x));
30081 }
30082 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30083 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30084 }
30085 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30086 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30087 }
30088 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30089 return (void *)((wxSizer *) ((wxPySizer *) x));
30090 }
30091 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30092 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30093 }
30094 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30095 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30096 }
30097 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30098 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30099 }
30100 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30101 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30102 }
30103 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30104 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30105 }
30106 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30107 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30108 }
30109 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30110 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30111 }
30112 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30113 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30114 }
30115 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30116 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30117 }
30118 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30119 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30120 }
30121 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30122 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30123 }
30124 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30125 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30126 }
30127 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30128 return (void *)((wxEvent *) ((wxPyEvent *) x));
30129 }
30130 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30132 }
30133 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30134 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30135 }
30136 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30137 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30138 }
30139 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30140 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30141 }
30142 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30143 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30144 }
30145 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30146 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30147 }
30148 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30149 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30150 }
30151 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30152 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30153 }
30154 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30155 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30156 }
30157 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30158 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30159 }
30160 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30161 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30162 }
30163 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30164 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30165 }
30166 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30167 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30168 }
30169 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30170 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30171 }
30172 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30173 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30174 }
30175 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30176 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30177 }
30178 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30179 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30180 }
30181 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30182 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30183 }
30184 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30185 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30186 }
30187 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30188 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30189 }
30190 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30191 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30192 }
30193 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30194 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30195 }
30196 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30198 }
30199 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30200 return (void *)((wxEvent *) ((wxShowEvent *) x));
30201 }
30202 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30203 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30204 }
30205 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30207 }
30208 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30209 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30210 }
30211 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30212 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30213 }
30214 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30215 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30216 }
30217 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30218 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30219 }
30220 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30221 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30222 }
30223 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30224 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30225 }
30226 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30227 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30228 }
30229 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30230 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30231 }
30232 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30233 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30234 }
30235 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30236 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30237 }
30238 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30239 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30240 }
30241 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30242 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30243 }
30244 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30245 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30246 }
30247 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30248 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30249 }
30250 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30251 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30252 }
30253 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30254 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30255 }
30256 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30257 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30258 }
30259 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30260 return (void *)((wxControl *) ((wxComboBox *) x));
30261 }
30262 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30263 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30264 }
30265 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30266 return (void *)((wxControl *) ((wxStaticBox *) x));
30267 }
30268 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30269 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30270 }
30271 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30272 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30273 }
30274 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30275 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30276 }
30277 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30278 return (void *)((wxControl *) ((wxScrollBar *) x));
30279 }
30280 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30281 return (void *)((wxControl *) ((wxBookCtrl *) x));
30282 }
30283 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30284 return (void *)((wxControl *) ((wxRadioButton *) x));
30285 }
30286 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30287 return (void *)((wxControl *) ((wxToggleButton *) x));
30288 }
30289 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30290 return (void *)((wxControl *) ((wxGauge *) x));
30291 }
30292 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30293 return (void *)((wxControl *) ((wxToolBarBase *) x));
30294 }
30295 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30296 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30297 }
30298 static void *_p_wxButtonTo_p_wxControl(void *x) {
30299 return (void *)((wxControl *) ((wxButton *) x));
30300 }
30301 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30302 return (void *)((wxControl *) ((wxSpinButton *) x));
30303 }
30304 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30305 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30306 }
30307 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30308 return (void *)((wxControl *) ((wxControlWithItems *) x));
30309 }
30310 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30311 return (void *)((wxControl *) ((wxRadioBox *) x));
30312 }
30313 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30314 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30315 }
30316 static void *_p_wxListbookTo_p_wxControl(void *x) {
30317 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30318 }
30319 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30320 return (void *)((wxControl *) ((wxCheckBox *) x));
30321 }
30322 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30323 return (void *)((wxControl *) ((wxTextCtrl *) x));
30324 }
30325 static void *_p_wxListViewTo_p_wxControl(void *x) {
30326 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30327 }
30328 static void *_p_wxSliderTo_p_wxControl(void *x) {
30329 return (void *)((wxControl *) ((wxSlider *) x));
30330 }
30331 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30332 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30333 }
30334 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30335 return (void *)((wxControl *) ((wxPyControl *) x));
30336 }
30337 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30338 return (void *)((wxControl *) ((wxStaticLine *) x));
30339 }
30340 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30341 return (void *)((wxControl *) ((wxStaticText *) x));
30342 }
30343 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30344 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30345 }
30346 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30347 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30348 }
30349 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30350 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30351 }
30352 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30353 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30354 }
30355 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30356 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30357 }
30358 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30359 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30360 }
30361 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30362 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30363 }
30364 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30365 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30366 }
30367 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30369 }
30370 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30371 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30372 }
30373 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30374 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30375 }
30376 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30377 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30378 }
30379 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30381 }
30382 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30383 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30384 }
30385 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30387 }
30388 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30390 }
30391 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30392 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30393 }
30394 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30395 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30396 }
30397 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30399 }
30400 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30402 }
30403 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30405 }
30406 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30408 }
30409 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30411 }
30412 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30413 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30414 }
30415 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30417 }
30418 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30420 }
30421 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30423 }
30424 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30426 }
30427 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30428 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30429 }
30430 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30432 }
30433 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30435 }
30436 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30438 }
30439 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30441 }
30442 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30444 }
30445 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30447 }
30448 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30450 }
30451 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30453 }
30454 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30456 }
30457 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30459 }
30460 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30462 }
30463 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30465 }
30466 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30468 }
30469 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30471 }
30472 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30474 }
30475 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30477 }
30478 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30480 }
30481 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30483 }
30484 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30486 }
30487 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30488 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30489 }
30490 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30491 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30492 }
30493 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30494 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30495 }
30496 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30497 return (void *)((wxButton *) ((wxBitmapButton *) x));
30498 }
30499 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30500 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30501 }
30502 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30503 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30504 }
30505 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30506 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30507 }
30508 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30509 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30510 }
30511 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30512 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30513 }
30514 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30515 return (void *)((wxObject *) ((wxSizerItem *) x));
30516 }
30517 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30519 }
30520 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30521 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30522 }
30523 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30525 }
30526 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30527 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30528 }
30529 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30530 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30531 }
30532 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30533 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30534 }
30535 static void *_p_wxSizerTo_p_wxObject(void *x) {
30536 return (void *)((wxObject *) ((wxSizer *) x));
30537 }
30538 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30539 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30540 }
30541 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30543 }
30544 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30546 }
30547 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30549 }
30550 static void *_p_wxEventTo_p_wxObject(void *x) {
30551 return (void *)((wxObject *) ((wxEvent *) x));
30552 }
30553 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30554 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30555 }
30556 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30557 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30558 }
30559 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30560 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30561 }
30562 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30564 }
30565 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30567 }
30568 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30570 }
30571 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30572 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30573 }
30574 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30575 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30576 }
30577 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30578 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30579 }
30580 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30581 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30582 }
30583 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30584 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30585 }
30586 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30587 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30588 }
30589 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30591 }
30592 static void *_p_wxControlTo_p_wxObject(void *x) {
30593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30594 }
30595 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30597 }
30598 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30600 }
30601 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30603 }
30604 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30606 }
30607 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30609 }
30610 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30611 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30612 }
30613 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30615 }
30616 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30617 return (void *)((wxObject *) ((wxFSFile *) x));
30618 }
30619 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30620 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30621 }
30622 static void *_p_wxListViewTo_p_wxObject(void *x) {
30623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30624 }
30625 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30627 }
30628 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30630 }
30631 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30632 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30633 }
30634 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30635 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30636 }
30637 static void *_p_wxListbookTo_p_wxObject(void *x) {
30638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30639 }
30640 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30641 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30642 }
30643 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30645 }
30646 static void *_p_wxSliderTo_p_wxObject(void *x) {
30647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30648 }
30649 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30650 return (void *)((wxObject *) ((wxMenuItem *) x));
30651 }
30652 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30653 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30654 }
30655 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30657 }
30658 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30659 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30660 }
30661 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30662 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30663 }
30664 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30665 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30666 }
30667 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30668 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30669 }
30670 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30671 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30672 }
30673 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30674 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30675 }
30676 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30678 }
30679 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30680 return (void *)((wxObject *) ((wxContextHelp *) x));
30681 }
30682 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30683 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30684 }
30685 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30686 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30687 }
30688 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30689 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30690 }
30691 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30692 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30693 }
30694 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30695 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30696 }
30697 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30698 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30699 }
30700 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30701 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30702 }
30703 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30704 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30705 }
30706 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30707 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30708 }
30709 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30710 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30711 }
30712 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30713 return (void *)((wxObject *) ((wxImageHandler *) x));
30714 }
30715 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30716 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30717 }
30718 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30719 return (void *)((wxObject *) ((wxEvtHandler *) x));
30720 }
30721 static void *_p_wxListEventTo_p_wxObject(void *x) {
30722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30723 }
30724 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30726 }
30727 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30729 }
30730 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30732 }
30733 static void *_p_wxButtonTo_p_wxObject(void *x) {
30734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30735 }
30736 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30738 }
30739 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30741 }
30742 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30744 }
30745 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30746 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30747 }
30748 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30750 }
30751 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30753 }
30754 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
30756 }
30757 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30758 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30759 }
30760 static void *_p_wxListItemTo_p_wxObject(void *x) {
30761 return (void *)((wxObject *) ((wxListItem *) x));
30762 }
30763 static void *_p_wxImageTo_p_wxObject(void *x) {
30764 return (void *)((wxObject *) ((wxImage *) x));
30765 }
30766 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30767 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30768 }
30769 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30770 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30771 }
30772 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30773 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30774 }
30775 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30776 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30777 }
30778 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30780 }
30781 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30783 }
30784 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30785 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30786 }
30787 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30789 }
30790 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30791 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30792 }
30793 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30794 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30795 }
30796 static void *_p_wxWindowTo_p_wxObject(void *x) {
30797 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30798 }
30799 static void *_p_wxMenuTo_p_wxObject(void *x) {
30800 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30801 }
30802 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30804 }
30805 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30806 return (void *)((wxObject *) ((wxFileSystem *) x));
30807 }
30808 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30810 }
30811 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30812 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30813 }
30814 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30815 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30816 }
30817 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30818 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30819 }
30820 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30821 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30822 }
30823 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30824 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30825 }
30826 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30828 }
30829 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30831 }
30832 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30833 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30834 }
30835 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
30836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
30837 }
30838 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30839 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30840 }
30841 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30842 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30843 }
30844 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30846 }
30847 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30849 }
30850 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
30851 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
30852 }
30853 static void *_p_wxToolBarTo_p_wxObject(void *x) {
30854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30855 }
30856 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30857 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30858 }
30859 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30860 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30861 }
30862 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
30863 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
30864 }
30865 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
30866 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
30867 }
30868 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30869 return (void *)((wxWindow *) ((wxMenuBar *) x));
30870 }
30871 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
30872 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30873 }
30874 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
30875 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
30876 }
30877 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
30878 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
30879 }
30880 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
30881 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
30882 }
30883 static void *_p_wxControlTo_p_wxWindow(void *x) {
30884 return (void *)((wxWindow *) ((wxControl *) x));
30885 }
30886 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
30887 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
30888 }
30889 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
30890 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30891 }
30892 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
30893 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
30894 }
30895 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
30896 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
30897 }
30898 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
30899 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
30900 }
30901 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
30902 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
30903 }
30904 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30905 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30906 }
30907 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
30908 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
30909 }
30910 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
30911 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
30912 }
30913 static void *_p_wxListbookTo_p_wxWindow(void *x) {
30914 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30915 }
30916 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
30917 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
30918 }
30919 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
30920 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
30921 }
30922 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
30923 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
30924 }
30925 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
30926 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30927 }
30928 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
30929 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30930 }
30931 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
30932 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30933 }
30934 static void *_p_wxListViewTo_p_wxWindow(void *x) {
30935 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30936 }
30937 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
30938 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30939 }
30940 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
30941 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
30942 }
30943 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
30944 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
30945 }
30946 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
30947 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
30948 }
30949 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
30950 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
30951 }
30952 static void *_p_wxSliderTo_p_wxWindow(void *x) {
30953 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
30954 }
30955 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
30956 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
30957 }
30958 static void *_p_wxButtonTo_p_wxWindow(void *x) {
30959 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
30960 }
30961 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
30962 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
30963 }
30964 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
30965 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30966 }
30967 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
30968 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
30969 }
30970 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
30971 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30972 }
30973 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
30974 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30975 }
30976 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
30977 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
30978 }
30979 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
30980 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
30981 }
30982 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
30983 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
30984 }
30985 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
30986 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
30987 }
30988 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
30989 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
30990 }
30991 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
30992 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30993 }
30994 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
30995 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30996 }
30997 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
30998 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
30999 }
31000 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31001 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31002 }
31003 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31004 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31005 }
31006 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31007 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31008 }
31009 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31010 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31011 }
31012 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31013 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31014 }
31015 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31016 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31017 }
31018 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31019 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31020 }
31021 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31022 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31023 }
31024 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31025 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31026 }
31027 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31028 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31029 }
31030 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31031 return (void *)((wxValidator *) ((wxPyValidator *) x));
31032 }
31033 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31034 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}};
31035 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}};
31036 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31037 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31038 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}};
31039 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31040 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31041 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31042 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}};
31043 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31044 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
31045 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31046 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}};
31047 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31048 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31049 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
31050 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31051 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31052 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31053 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
31054 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31055 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31056 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31057 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31058 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31059 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31060 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31061 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31062 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31063 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31064 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}};
31065 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31066 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31067 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31068 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31069 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31070 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31071 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31072 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31073 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}};
31074 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31075 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
31076 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31077 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}};
31078 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31079 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}};
31080 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
31081 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31082 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31083 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31084 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31085 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31086 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31087 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31088 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31089 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31090 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31091 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31092 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31093 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31094 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31095 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
31096 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31097 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31098 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31099 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31100 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31101 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}};
31102 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31103 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31104 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}};
31105 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31106 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31107 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31108 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31109 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}};
31110 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31111 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}};
31112 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31113 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31114 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31115 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31116 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
31117
31118 static swig_type_info *swig_types_initial[] = {
31119 _swigt__p_wxTextUrlEvent,
31120 _swigt__p_wxBookCtrlEvent,
31121 _swigt__p_wxSizer,
31122 _swigt__p_wxCheckBox,
31123 _swigt__p_wxPyTreeCtrl,
31124 _swigt__p_wxEvent,
31125 _swigt__p_wxGenericDirCtrl,
31126 _swigt__p_bool,
31127 _swigt__p_wxPyTreeItemData,
31128 _swigt__p_wxItemContainer,
31129 _swigt__p_wxDirFilterListCtrl,
31130 _swigt__p_wxPyListCtrl,
31131 _swigt__p_wxStaticLine,
31132 _swigt__p_wxControl,
31133 _swigt__p_wxPyControl,
31134 _swigt__p_wxGauge,
31135 _swigt__p_wxToolBarBase,
31136 _swigt__p_wxFont,
31137 _swigt__p_wxToggleButton,
31138 _swigt__p_wxRadioButton,
31139 _swigt__p_wxChoice,
31140 _swigt__p_wxMemoryDC,
31141 _swigt__p_wxListItemAttr,
31142 _swigt__p_void,
31143 _swigt__p_int,
31144 _swigt__p_wxSize,
31145 _swigt__p_wxDC,
31146 _swigt__p_wxListView,
31147 _swigt__p_wxIcon,
31148 _swigt__p_wxTextCtrl,
31149 _swigt__p_wxNotebook,
31150 _swigt__p_wxNotifyEvent,
31151 _swigt__p_wxArrayString,
31152 _swigt__p_wxListbook,
31153 _swigt__p_wxStaticBitmap,
31154 _swigt__p_wxSlider,
31155 _swigt__p_wxStaticBox,
31156 _swigt__p_wxArrayInt,
31157 _swigt__p_wxContextHelp,
31158 _swigt__p_long,
31159 _swigt__p_wxEvtHandler,
31160 _swigt__p_wxListEvent,
31161 _swigt__p_wxListBox,
31162 _swigt__p_wxCheckListBox,
31163 _swigt__p_wxBookCtrl,
31164 _swigt__p_wxSpinButton,
31165 _swigt__p_wxButton,
31166 _swigt__p_wxBitmapButton,
31167 _swigt__p_wxRect,
31168 _swigt__p_wxContextHelpButton,
31169 _swigt__p_wxRadioBox,
31170 _swigt__p_wxScrollBar,
31171 _swigt__p_char,
31172 _swigt__p_wxTreeItemId,
31173 _swigt__p_wxComboBox,
31174 _swigt__p_wxHelpEvent,
31175 _swigt__p_wxListItem,
31176 _swigt__p_wxNotebookSizer,
31177 _swigt__p_wxSpinEvent,
31178 _swigt__p_wxGenericDragImage,
31179 _swigt__p_wxSpinCtrl,
31180 _swigt__p_wxImageList,
31181 _swigt__p_wxHelpProvider,
31182 _swigt__p_wxTextAttr,
31183 _swigt__p_wxSimpleHelpProvider,
31184 _swigt__p_wxPoint,
31185 _swigt__p_wxListbookEvent,
31186 _swigt__p_wxNotebookEvent,
31187 _swigt__p_wxObject,
31188 _swigt__p_wxCursor,
31189 _swigt__p_wxKeyEvent,
31190 _swigt__p_wxWindow,
31191 _swigt__p_wxString,
31192 _swigt__p_wxBitmap,
31193 _swigt__p_wxTreeEvent,
31194 _swigt__p_wxMouseEvent,
31195 _swigt__p_wxCommandEvent,
31196 _swigt__p_wxStaticText,
31197 _swigt__p_wxControlWithItems,
31198 _swigt__p_wxToolBarToolBase,
31199 _swigt__p_wxColour,
31200 _swigt__p_wxToolBar,
31201 _swigt__p_wxBookCtrlSizer,
31202 _swigt__p_wxValidator,
31203 0
31204 };
31205
31206
31207 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31208
31209 static swig_const_info swig_const_table[] = {
31210 {0}};
31211
31212 #ifdef __cplusplus
31213 }
31214 #endif
31215
31216 #ifdef __cplusplus
31217 extern "C"
31218 #endif
31219 SWIGEXPORT(void) SWIG_init(void) {
31220 static PyObject *SWIG_globals = 0;
31221 static int typeinit = 0;
31222 PyObject *m, *d;
31223 int i;
31224 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31225 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31226 d = PyModule_GetDict(m);
31227
31228 if (!typeinit) {
31229 for (i = 0; swig_types_initial[i]; i++) {
31230 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31231 }
31232 typeinit = 1;
31233 }
31234 SWIG_InstallConstants(d,swig_const_table);
31235
31236 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31237 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31238 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31239 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31240 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31241 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31242 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31243 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31244 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31245 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31246 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31247 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31248 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31249 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31250 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31251 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31252 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31253 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31254 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31255 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31256 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31257 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31258 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31259 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31260 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31261 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31262 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31263 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31264 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31265 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31266 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31267 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31268 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31269 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31270 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31271 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31272 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31273 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31274 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31275 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31276 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31277 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31278 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31279 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31280 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31281 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31282 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31283 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31284 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31285 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31286 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31287 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31288 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31289 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31290 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31291 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31292 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31293 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31294 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31295 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31296 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31297 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31298 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31299 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN));
31300 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE));
31301 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT));
31302 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW));
31303 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND));
31304 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31305 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31306 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31307 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31308 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31309 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31310 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31311 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31312 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31313 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31314 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31315 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31316 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31317 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31318 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31319 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31320 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31321 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31322 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31323 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31324 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31325 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31326 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31327 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31328 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31329 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31330 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31331 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31332 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31333 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31334 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31335 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31336 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31337 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31338 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31339 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31340 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31341 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31342 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31343 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31344 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31345 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31346 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31347 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31348 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31349 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31350 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31351 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31352 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31353 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31354 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31355 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31356 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31357 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31358 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31359 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31360 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31361 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31362 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31363 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31364 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31365 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31366 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31367 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31368 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31369 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31370 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31371 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31372 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31373 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31374 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31375 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31376 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31377 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31378 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31379 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31380 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31381 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31382 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31383 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31384 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31385 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31386 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31387 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31388 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31389 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31390 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31391 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31392 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31393 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31394 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31395 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31396 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31397 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31398 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31399 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31400 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31401 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31402 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31403 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31404 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31405 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31406 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31407 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31408 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31409 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31410 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31411 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31412 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31413 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31414 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31415 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31416 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31417 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31418 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31419 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31420 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31421 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31422 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31423 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31424 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31425 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31426 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31427 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31428 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31429 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31430 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31431 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31432 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31433 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31434 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31435 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31436 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31437 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31438 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31439 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31440 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31441 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31442 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31443 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31444 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31445 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31446 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31447
31448 // Map renamed classes back to their common name for OOR
31449 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31450
31451 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31452 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31453 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31454 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31455 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31456 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31457 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31458 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31459 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31460 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31461 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31462 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31463 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31464 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31465 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31466 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31467 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31468 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31469 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31470 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31471 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31472 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31473 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31474 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31475 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31476 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31477 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31478 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31479 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31480 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31481 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31482 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31483 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31484 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31485 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31486 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31487 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31488 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31489 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31490 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31491 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31492 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31493 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31494 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31495 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31496 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31497 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31498 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31499 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31500 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31501 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31502 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31503 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31504 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31505 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31506 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31507
31508 // Map renamed classes back to their common name for OOR
31509 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31510 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31511
31512 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31513 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31514 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31515 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31516 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31517 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31518 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31519 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31520 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31521 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31522
31523 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31524
31525 }
31526