]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
326
327 #define SWIG_name "_controls"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369
370 static const wxString wxPyPanelNameStr(wxPanelNameStr);
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyControlNameStr(wxControlNameStr);
373
374 const wxArrayString wxPyEmptyStringArray;
375
376 static const wxString wxPyButtonNameStr(wxButtonNameStr);
377
378 SWIGSTATIC(int)
379 SWIG_PyObj_AsInt(PyObject *obj)
380 {
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
383 }
384
385
386 SWIGSTATIC(long)
387 SWIG_PyObj_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
393
394 SWIGSTATIC(bool)
395 SWIG_PyObj_AsBool(PyObject *obj)
396 {
397 return PyObject_IsTrue(obj) ? true : false;
398 }
399
400 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
401 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
402 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
403 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
404 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
405 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
406
407 #include <wx/checklst.h>
408
409
410 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
411 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
412 if (clientData) {
413 wxPyClientData* data = new wxPyClientData(clientData);
414 self->Insert(item, pos, data);
415 } else
416 self->Insert(item, pos);
417 }
418 PyObject *wxListBox_GetSelections(wxListBox *self){
419 wxArrayInt lst;
420 self->GetSelections(lst);
421 PyObject *tup = PyTuple_New(lst.GetCount());
422 for(size_t i=0; i<lst.GetCount(); i++) {
423 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
424 }
425 return tup;
426 }
427 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
428 #ifdef __WXMSW__
429 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
430 self->GetItem(item)->SetTextColour(c);
431 #endif
432 }
433 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
434 #ifdef __WXMSW__
435 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
436 self->GetItem(item)->SetBackgroundColour(c);
437 #endif
438 }
439 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
440 #ifdef __WXMSW__
441 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
442 self->GetItem(item)->SetFont(f);
443 #endif
444 }
445 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
446
447 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
448 PyObject* o2;
449 PyObject* o3;
450
451 if (!target) {
452 target = o;
453 } else if (target == Py_None) {
454 Py_DECREF(Py_None);
455 target = o;
456 } else {
457 if (!PyTuple_Check(target)) {
458 o2 = target;
459 target = PyTuple_New(1);
460 PyTuple_SetItem(target, 0, o2);
461 }
462 o3 = PyTuple_New(1);
463 PyTuple_SetItem(o3, 0, o);
464
465 o2 = target;
466 target = PySequence_Concat(o2, o3);
467 Py_DECREF(o2);
468 Py_DECREF(o3);
469 }
470 return target;
471 }
472
473 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
474 self->AppendText(text);
475 }
476 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
477 return self->GetValue().Mid(from, to - from);
478 }
479 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
480 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
481 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
483 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
484
485 #include <wx/slider.h>
486
487
488 static const wxString wxPySliderNameStr(wxSliderNameStr);
489 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
490
491 #if defined(__WXMAC__) || defined(__WXX11__)
492 // implement dummy classes and such for wxMac
493
494 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
495
496 class wxToggleButton : public wxControl
497 {
498 public:
499 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
500 const wxPoint&, const wxSize&, long,
501 const wxValidator&, const wxString&)
502 { wxPyRaiseNotImplemented(); }
503
504 wxToggleButton()
505 { wxPyRaiseNotImplemented(); }
506 };
507 #endif
508
509 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
510
511 SWIGSTATIC(PyObject* )
512 SWIG_PyObj_FromUnsignedLong(unsigned long value)
513 {
514 return (value > (unsigned long)(LONG_MAX)) ?
515 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
516 }
517
518 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
519 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
520 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
521 if (udata) {
522 Py_INCREF(udata->m_obj);
523 return udata->m_obj;
524 } else {
525 Py_INCREF(Py_None);
526 return Py_None;
527 }
528 }
529 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
530 self->SetClientData(new wxPyUserData(clientData));
531 }
532 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){
533 wxPyUserData* udata = NULL;
534 if (clientData && clientData != Py_None)
535 udata = new wxPyUserData(clientData);
536 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
537 shortHelp, longHelp, udata);
538 }
539 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){
540 wxPyUserData* udata = NULL;
541 if (clientData && clientData != Py_None)
542 udata = new wxPyUserData(clientData);
543 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
544 shortHelp, longHelp, udata);
545 }
546 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
547 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
548 if (udata) {
549 Py_INCREF(udata->m_obj);
550 return udata->m_obj;
551 } else {
552 Py_INCREF(Py_None);
553 return Py_None;
554 }
555 }
556 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
557 self->SetToolClientData(id, new wxPyUserData(clientData));
558 }
559
560 #include <wx/listctrl.h>
561
562
563 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
564 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
567 int retval = 0;
568 PyObject* func = (PyObject*)funcPtr;
569 wxPyBeginBlockThreads();
570
571 PyObject* args = Py_BuildValue("(ii)", item1, item2);
572 PyObject* result = PyEval_CallObject(func, args);
573 Py_DECREF(args);
574 if (result) {
575 retval = PyInt_AsLong(result);
576 Py_DECREF(result);
577 }
578
579 wxPyEndBlockThreads();
580 return retval;
581 }
582
583 // C++ Version of a Python aware class
584 class wxPyListCtrl : public wxListCtrl {
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
586 public:
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow* parent, wxWindowID id,
589 const wxPoint& pos,
590 const wxSize& size,
591 long style,
592 const wxValidator& validator,
593 const wxString& name) :
594 wxListCtrl(parent, id, pos, size, style, validator, name) {}
595
596 bool Create(wxWindow* parent, wxWindowID id,
597 const wxPoint& pos,
598 const wxSize& size,
599 long style,
600 const wxValidator& validator,
601 const wxString& name) {
602 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
603 }
604
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
608
609 PYPRIVATE;
610 };
611
612 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
613
614 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
615 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
616 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
617
618 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
619 wxListItem item;
620 item.SetMask( wxLIST_MASK_STATE |
621 wxLIST_MASK_TEXT |
622 wxLIST_MASK_IMAGE |
623 wxLIST_MASK_DATA |
624 wxLIST_SET_ITEM |
625 wxLIST_MASK_WIDTH |
626 wxLIST_MASK_FORMAT
627 );
628 if (self->GetColumn(col, item))
629 return new wxListItem(item);
630 else
631 return NULL;
632 }
633 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
634 wxListItem* info = new wxListItem;
635 info->m_itemId = itemId;
636 info->m_col = col;
637 info->m_mask = 0xFFFF;
638 self->GetItem(*info);
639 return info;
640 }
641 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
642 wxPoint pos;
643 self->GetItemPosition(item, pos);
644 return pos;
645 }
646 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
647 wxRect rect;
648 self->GetItemRect(item, rect, code);
649 return rect;
650 }
651 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
652 if (!PyCallable_Check(func))
653 return False;
654 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
655 }
656 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
657
658
659
660 return (wxWindow*)self->m_mainWin;
661
662 }
663
664 #include <wx/treectrl.h>
665 #include "wx/wxPython/pytree.h"
666
667 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
669 if (!other) return False;
670 return *self == *other;
671 }
672 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
673 if (!other) return True;
674 return *self != *other;
675 }
676 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
677 // C++ version of Python aware wxTreeCtrl
678 class wxPyTreeCtrl : public wxTreeCtrl {
679 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
680 public:
681 wxPyTreeCtrl() : wxTreeCtrl() {}
682 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
683 const wxPoint& pos,
684 const wxSize& size,
685 long style,
686 const wxValidator& validator,
687 const wxString& name) :
688 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
689
690 bool Create(wxWindow *parent, wxWindowID id,
691 const wxPoint& pos,
692 const wxSize& size,
693 long style,
694 const wxValidator& validator,
695 const wxString& name) {
696 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
697 }
698
699
700 int OnCompareItems(const wxTreeItemId& item1,
701 const wxTreeItemId& item2) {
702 int rval = 0;
703 bool found;
704 wxPyBeginBlockThreads();
705 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
706 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
707 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
708 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
709 Py_DECREF(o1);
710 Py_DECREF(o2);
711 }
712 wxPyEndBlockThreads();
713 if (! found)
714 rval = wxTreeCtrl::OnCompareItems(item1, item2);
715 return rval;
716 }
717 PYPRIVATE;
718 };
719
720 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
721
722
723
724 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
725
726
727 SWIGSTATIC(unsigned int)
728 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
729 {
730 return numeric_cast(unsigned int,
731 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
732 }
733
734 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
735 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
736 if (data == NULL) {
737 data = new wxPyTreeItemData();
738 data->SetId(item); // set the id
739 self->SetItemData(item, data);
740 }
741 return data;
742 }
743 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
744 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
745 if (data == NULL) {
746 data = new wxPyTreeItemData();
747 data->SetId(item); // set the id
748 self->SetItemData(item, data);
749 }
750 return data->GetData();
751 }
752 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
753 data->SetId(item); // set the id
754 self->SetItemData(item, data);
755 }
756 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
757 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
758 if (data == NULL) {
759 data = new wxPyTreeItemData(obj);
760 data->SetId(item); // set the id
761 self->SetItemData(item, data);
762 } else
763 data->SetData(obj);
764 }
765 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
766 wxPyBeginBlockThreads();
767 PyObject* rval = PyList_New(0);
768 wxArrayTreeItemIds array;
769 size_t num, x;
770 num = self->GetSelections(array);
771 for (x=0; x < num; x++) {
772 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
773 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
774 PyList_Append(rval, item);
775 }
776 wxPyEndBlockThreads();
777 return rval;
778 }
779 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
780 void* cookie = 0;
781 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
782 wxPyBeginBlockThreads();
783 PyObject* tup = PyTuple_New(2);
784 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
785 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
786 wxPyEndBlockThreads();
787 return tup;
788 }
789 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
790 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
791 wxPyBeginBlockThreads();
792 PyObject* tup = PyTuple_New(2);
793 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
794 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
795 wxPyEndBlockThreads();
796 return tup;
797 }
798 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
799 wxRect rect;
800 if (self->GetBoundingRect(item, rect, textOnly)) {
801 wxPyBeginBlockThreads();
802 wxRect* r = new wxRect(rect);
803 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
804 wxPyEndBlockThreads();
805 return val;
806 }
807 else
808 RETURN_NONE();
809 }
810 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
811 // C++ version of Python aware wxControl
812 class wxPyControl : public wxControl
813 {
814 DECLARE_DYNAMIC_CLASS(wxPyControl)
815 public:
816 wxPyControl() : wxControl() {}
817 wxPyControl(wxWindow* parent, const wxWindowID id,
818 const wxPoint& pos = wxDefaultPosition,
819 const wxSize& size = wxDefaultSize,
820 long style = 0,
821 const wxValidator& validator=wxDefaultValidator,
822 const wxString& name = wxPyControlNameStr)
823 : wxControl(parent, id, pos, size, style, validator, name) {}
824
825
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
830
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
834
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
837
838 DEC_PYCALLBACK__(InitDialog);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
841 DEC_PYCALLBACK_BOOL_(Validate);
842
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
846
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
849
850 PYPRIVATE;
851 };
852
853 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
854
855 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
856 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
859
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
863
864 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
866
867 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
868 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
869 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
870 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
871
872 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
873 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
874 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
875
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
878
879
880
881
882 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
883
884 #include <wx/generic/dragimgg.h>
885
886 #ifdef __cplusplus
887 extern "C" {
888 #endif
889 static int _wrap_ButtonNameStr_set(PyObject *) {
890 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
891 return 1;
892 }
893
894
895 static PyObject *_wrap_ButtonNameStr_get() {
896 PyObject *pyobj;
897
898 {
899 #if wxUSE_UNICODE
900 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
901 #else
902 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
903 #endif
904 }
905 return pyobj;
906 }
907
908
909 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject *resultobj;
911 wxWindow *arg1 = (wxWindow *) 0 ;
912 int arg2 ;
913 wxString *arg3 = 0 ;
914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
916 wxSize const &arg5_defvalue = wxDefaultSize ;
917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
918 long arg6 = (long) 0 ;
919 wxValidator const &arg7_defvalue = wxDefaultValidator ;
920 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
921 wxString const &arg8_defvalue = wxPyButtonNameStr ;
922 wxString *arg8 = (wxString *) &arg8_defvalue ;
923 wxButton *result;
924 bool temp3 = False ;
925 wxPoint temp4 ;
926 wxSize temp5 ;
927 bool temp8 = False ;
928 PyObject * obj0 = 0 ;
929 PyObject * obj1 = 0 ;
930 PyObject * obj2 = 0 ;
931 PyObject * obj3 = 0 ;
932 PyObject * obj4 = 0 ;
933 PyObject * obj5 = 0 ;
934 PyObject * obj6 = 0 ;
935 PyObject * obj7 = 0 ;
936 char *kwnames[] = {
937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
938 };
939
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
942 {
943 arg2 = (int) SWIG_PyObj_AsInt(obj1);
944 if (PyErr_Occurred()) SWIG_fail;
945 }
946 {
947 arg3 = wxString_in_helper(obj2);
948 if (arg3 == NULL) SWIG_fail;
949 temp3 = True;
950 }
951 if (obj3) {
952 {
953 arg4 = &temp4;
954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
955 }
956 }
957 if (obj4) {
958 {
959 arg5 = &temp5;
960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
961 }
962 }
963 if (obj5) {
964 {
965 arg6 = (long) SWIG_PyObj_AsLong(obj5);
966 if (PyErr_Occurred()) SWIG_fail;
967 }
968 }
969 if (obj6) {
970 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
971 if (arg7 == NULL) {
972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
973 }
974 }
975 if (obj7) {
976 {
977 arg8 = wxString_in_helper(obj7);
978 if (arg8 == NULL) SWIG_fail;
979 temp8 = True;
980 }
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
989 {
990 resultobj = wxPyMake_wxObject(result);
991 }
992 {
993 if (temp3)
994 delete arg3;
995 }
996 {
997 if (temp8)
998 delete arg8;
999 }
1000 return resultobj;
1001 fail:
1002 {
1003 if (temp3)
1004 delete arg3;
1005 }
1006 {
1007 if (temp8)
1008 delete arg8;
1009 }
1010 return NULL;
1011 }
1012
1013
1014 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1015 PyObject *resultobj;
1016 wxButton *result;
1017 char *kwnames[] = {
1018 NULL
1019 };
1020
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1022 {
1023 PyThreadState* __tstate = wxPyBeginAllowThreads();
1024 result = (wxButton *)new wxButton();
1025
1026 wxPyEndAllowThreads(__tstate);
1027 if (PyErr_Occurred()) SWIG_fail;
1028 }
1029 {
1030 resultobj = wxPyMake_wxObject(result);
1031 }
1032 return resultobj;
1033 fail:
1034 return NULL;
1035 }
1036
1037
1038 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1039 PyObject *resultobj;
1040 wxButton *arg1 = (wxButton *) 0 ;
1041 wxWindow *arg2 = (wxWindow *) 0 ;
1042 int arg3 ;
1043 wxString *arg4 = 0 ;
1044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1046 wxSize const &arg6_defvalue = wxDefaultSize ;
1047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1048 long arg7 = (long) 0 ;
1049 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1050 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1051 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1052 wxString *arg9 = (wxString *) &arg9_defvalue ;
1053 bool result;
1054 bool temp4 = False ;
1055 wxPoint temp5 ;
1056 wxSize temp6 ;
1057 bool temp9 = False ;
1058 PyObject * obj0 = 0 ;
1059 PyObject * obj1 = 0 ;
1060 PyObject * obj2 = 0 ;
1061 PyObject * obj3 = 0 ;
1062 PyObject * obj4 = 0 ;
1063 PyObject * obj5 = 0 ;
1064 PyObject * obj6 = 0 ;
1065 PyObject * obj7 = 0 ;
1066 PyObject * obj8 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1074 {
1075 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1076 if (PyErr_Occurred()) SWIG_fail;
1077 }
1078 {
1079 arg4 = wxString_in_helper(obj3);
1080 if (arg4 == NULL) SWIG_fail;
1081 temp4 = True;
1082 }
1083 if (obj4) {
1084 {
1085 arg5 = &temp5;
1086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1087 }
1088 }
1089 if (obj5) {
1090 {
1091 arg6 = &temp6;
1092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1093 }
1094 }
1095 if (obj6) {
1096 {
1097 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1098 if (PyErr_Occurred()) SWIG_fail;
1099 }
1100 }
1101 if (obj7) {
1102 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1103 if (arg8 == NULL) {
1104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1105 }
1106 }
1107 if (obj8) {
1108 {
1109 arg9 = wxString_in_helper(obj8);
1110 if (arg9 == NULL) SWIG_fail;
1111 temp9 = True;
1112 }
1113 }
1114 {
1115 PyThreadState* __tstate = wxPyBeginAllowThreads();
1116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1117
1118 wxPyEndAllowThreads(__tstate);
1119 if (PyErr_Occurred()) SWIG_fail;
1120 }
1121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1122 {
1123 if (temp4)
1124 delete arg4;
1125 }
1126 {
1127 if (temp9)
1128 delete arg9;
1129 }
1130 return resultobj;
1131 fail:
1132 {
1133 if (temp4)
1134 delete arg4;
1135 }
1136 {
1137 if (temp9)
1138 delete arg9;
1139 }
1140 return NULL;
1141 }
1142
1143
1144 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject *resultobj;
1146 wxButton *arg1 = (wxButton *) 0 ;
1147 PyObject * obj0 = 0 ;
1148 char *kwnames[] = {
1149 (char *) "self", NULL
1150 };
1151
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1154 {
1155 PyThreadState* __tstate = wxPyBeginAllowThreads();
1156 (arg1)->SetDefault();
1157
1158 wxPyEndAllowThreads(__tstate);
1159 if (PyErr_Occurred()) SWIG_fail;
1160 }
1161 Py_INCREF(Py_None); resultobj = Py_None;
1162 return resultobj;
1163 fail:
1164 return NULL;
1165 }
1166
1167
1168 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1169 PyObject *resultobj;
1170 wxSize result;
1171 char *kwnames[] = {
1172 NULL
1173 };
1174
1175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1176 {
1177 PyThreadState* __tstate = wxPyBeginAllowThreads();
1178 result = wxButton::GetDefaultSize();
1179
1180 wxPyEndAllowThreads(__tstate);
1181 if (PyErr_Occurred()) SWIG_fail;
1182 }
1183 {
1184 wxSize * resultptr;
1185 resultptr = new wxSize((wxSize &) result);
1186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1195 PyObject *obj;
1196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1197 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1198 Py_INCREF(obj);
1199 return Py_BuildValue((char *)"");
1200 }
1201 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 wxWindow *arg1 = (wxWindow *) 0 ;
1204 int arg2 ;
1205 wxBitmap *arg3 = 0 ;
1206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1208 wxSize const &arg5_defvalue = wxDefaultSize ;
1209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1210 long arg6 = (long) wxBU_AUTODRAW ;
1211 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1212 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1213 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1214 wxString *arg8 = (wxString *) &arg8_defvalue ;
1215 wxBitmapButton *result;
1216 wxPoint temp4 ;
1217 wxSize temp5 ;
1218 bool temp8 = False ;
1219 PyObject * obj0 = 0 ;
1220 PyObject * obj1 = 0 ;
1221 PyObject * obj2 = 0 ;
1222 PyObject * obj3 = 0 ;
1223 PyObject * obj4 = 0 ;
1224 PyObject * obj5 = 0 ;
1225 PyObject * obj6 = 0 ;
1226 PyObject * obj7 = 0 ;
1227 char *kwnames[] = {
1228 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1229 };
1230
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 {
1234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1238 if (arg3 == NULL) {
1239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1240 }
1241 if (obj3) {
1242 {
1243 arg4 = &temp4;
1244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1245 }
1246 }
1247 if (obj4) {
1248 {
1249 arg5 = &temp5;
1250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1251 }
1252 }
1253 if (obj5) {
1254 {
1255 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 }
1258 }
1259 if (obj6) {
1260 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1261 if (arg7 == NULL) {
1262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1263 }
1264 }
1265 if (obj7) {
1266 {
1267 arg8 = wxString_in_helper(obj7);
1268 if (arg8 == NULL) SWIG_fail;
1269 temp8 = True;
1270 }
1271 }
1272 {
1273 PyThreadState* __tstate = wxPyBeginAllowThreads();
1274 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1275
1276 wxPyEndAllowThreads(__tstate);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 }
1279 {
1280 resultobj = wxPyMake_wxObject(result);
1281 }
1282 {
1283 if (temp8)
1284 delete arg8;
1285 }
1286 return resultobj;
1287 fail:
1288 {
1289 if (temp8)
1290 delete arg8;
1291 }
1292 return NULL;
1293 }
1294
1295
1296 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1297 PyObject *resultobj;
1298 wxBitmapButton *result;
1299 char *kwnames[] = {
1300 NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 result = (wxBitmapButton *)new wxBitmapButton();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 {
1312 resultobj = wxPyMake_wxObject(result);
1313 }
1314 return resultobj;
1315 fail:
1316 return NULL;
1317 }
1318
1319
1320 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1323 wxWindow *arg2 = (wxWindow *) 0 ;
1324 int arg3 ;
1325 wxBitmap *arg4 = 0 ;
1326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1328 wxSize const &arg6_defvalue = wxDefaultSize ;
1329 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1330 long arg7 = (long) wxBU_AUTODRAW ;
1331 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1332 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1333 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1334 wxString *arg9 = (wxString *) &arg9_defvalue ;
1335 bool result;
1336 wxPoint temp5 ;
1337 wxSize temp6 ;
1338 bool temp9 = False ;
1339 PyObject * obj0 = 0 ;
1340 PyObject * obj1 = 0 ;
1341 PyObject * obj2 = 0 ;
1342 PyObject * obj3 = 0 ;
1343 PyObject * obj4 = 0 ;
1344 PyObject * obj5 = 0 ;
1345 PyObject * obj6 = 0 ;
1346 PyObject * obj7 = 0 ;
1347 PyObject * obj8 = 0 ;
1348 char *kwnames[] = {
1349 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 };
1351
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1355 {
1356 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1360 if (arg4 == NULL) {
1361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1362 }
1363 if (obj4) {
1364 {
1365 arg5 = &temp5;
1366 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1367 }
1368 }
1369 if (obj5) {
1370 {
1371 arg6 = &temp6;
1372 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1373 }
1374 }
1375 if (obj6) {
1376 {
1377 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1378 if (PyErr_Occurred()) SWIG_fail;
1379 }
1380 }
1381 if (obj7) {
1382 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1383 if (arg8 == NULL) {
1384 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1385 }
1386 }
1387 if (obj8) {
1388 {
1389 arg9 = wxString_in_helper(obj8);
1390 if (arg9 == NULL) SWIG_fail;
1391 temp9 = True;
1392 }
1393 }
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1402 {
1403 if (temp9)
1404 delete arg9;
1405 }
1406 return resultobj;
1407 fail:
1408 {
1409 if (temp9)
1410 delete arg9;
1411 }
1412 return NULL;
1413 }
1414
1415
1416 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject *resultobj;
1418 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1419 wxBitmap result;
1420 PyObject * obj0 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "self", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 result = (arg1)->GetBitmapLabel();
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) SWIG_fail;
1433 }
1434 {
1435 wxBitmap * resultptr;
1436 resultptr = new wxBitmap((wxBitmap &) result);
1437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1438 }
1439 return resultobj;
1440 fail:
1441 return NULL;
1442 }
1443
1444
1445 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1448 wxBitmap result;
1449 PyObject * obj0 = 0 ;
1450 char *kwnames[] = {
1451 (char *) "self", NULL
1452 };
1453
1454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1456 {
1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
1458 result = (arg1)->GetBitmapDisabled();
1459
1460 wxPyEndAllowThreads(__tstate);
1461 if (PyErr_Occurred()) SWIG_fail;
1462 }
1463 {
1464 wxBitmap * resultptr;
1465 resultptr = new wxBitmap((wxBitmap &) result);
1466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1467 }
1468 return resultobj;
1469 fail:
1470 return NULL;
1471 }
1472
1473
1474 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject *resultobj;
1476 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1477 wxBitmap result;
1478 PyObject * obj0 = 0 ;
1479 char *kwnames[] = {
1480 (char *) "self", NULL
1481 };
1482
1483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (arg1)->GetBitmapFocus();
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 {
1493 wxBitmap * resultptr;
1494 resultptr = new wxBitmap((wxBitmap &) result);
1495 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1496 }
1497 return resultobj;
1498 fail:
1499 return NULL;
1500 }
1501
1502
1503 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1504 PyObject *resultobj;
1505 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1506 wxBitmap result;
1507 PyObject * obj0 = 0 ;
1508 char *kwnames[] = {
1509 (char *) "self", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 result = (arg1)->GetBitmapSelected();
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 {
1522 wxBitmap * resultptr;
1523 resultptr = new wxBitmap((wxBitmap &) result);
1524 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1525 }
1526 return resultobj;
1527 fail:
1528 return NULL;
1529 }
1530
1531
1532 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1533 PyObject *resultobj;
1534 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1535 wxBitmap *arg2 = 0 ;
1536 PyObject * obj0 = 0 ;
1537 PyObject * obj1 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self",(char *) "bitmap", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1545 if (arg2 == NULL) {
1546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1547 }
1548 {
1549 PyThreadState* __tstate = wxPyBeginAllowThreads();
1550 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1551
1552 wxPyEndAllowThreads(__tstate);
1553 if (PyErr_Occurred()) SWIG_fail;
1554 }
1555 Py_INCREF(Py_None); resultobj = Py_None;
1556 return resultobj;
1557 fail:
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1565 wxBitmap *arg2 = 0 ;
1566 PyObject * obj0 = 0 ;
1567 PyObject * obj1 = 0 ;
1568 char *kwnames[] = {
1569 (char *) "self",(char *) "bitmap", NULL
1570 };
1571
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1575 if (arg2 == NULL) {
1576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1577 }
1578 {
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
1580 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 Py_INCREF(Py_None); resultobj = Py_None;
1586 return resultobj;
1587 fail:
1588 return NULL;
1589 }
1590
1591
1592 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1595 wxBitmap *arg2 = 0 ;
1596 PyObject * obj0 = 0 ;
1597 PyObject * obj1 = 0 ;
1598 char *kwnames[] = {
1599 (char *) "self",(char *) "bitmap", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 if (arg2 == NULL) {
1606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1607 }
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 Py_INCREF(Py_None); resultobj = Py_None;
1616 return resultobj;
1617 fail:
1618 return NULL;
1619 }
1620
1621
1622 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject *resultobj;
1624 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1625 wxBitmap *arg2 = 0 ;
1626 PyObject * obj0 = 0 ;
1627 PyObject * obj1 = 0 ;
1628 char *kwnames[] = {
1629 (char *) "self",(char *) "bitmap", NULL
1630 };
1631
1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 if (arg2 == NULL) {
1636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1637 }
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 Py_INCREF(Py_None); resultobj = Py_None;
1646 return resultobj;
1647 fail:
1648 return NULL;
1649 }
1650
1651
1652 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1655 int arg2 ;
1656 int arg3 ;
1657 PyObject * obj0 = 0 ;
1658 PyObject * obj1 = 0 ;
1659 PyObject * obj2 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 {
1671 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 {
1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
1676 (arg1)->SetMargins(arg2,arg3);
1677
1678 wxPyEndAllowThreads(__tstate);
1679 if (PyErr_Occurred()) SWIG_fail;
1680 }
1681 Py_INCREF(Py_None); resultobj = Py_None;
1682 return resultobj;
1683 fail:
1684 return NULL;
1685 }
1686
1687
1688 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1691 int result;
1692 PyObject * obj0 = 0 ;
1693 char *kwnames[] = {
1694 (char *) "self", NULL
1695 };
1696
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1699 {
1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
1701 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1702
1703 wxPyEndAllowThreads(__tstate);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 resultobj = SWIG_PyObj_FromInt((int)result);
1707 return resultobj;
1708 fail:
1709 return NULL;
1710 }
1711
1712
1713 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject *resultobj;
1715 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1716 int result;
1717 PyObject * obj0 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "self", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 resultobj = SWIG_PyObj_FromInt((int)result);
1732 return resultobj;
1733 fail:
1734 return NULL;
1735 }
1736
1737
1738 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1739 PyObject *obj;
1740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1741 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1742 Py_INCREF(obj);
1743 return Py_BuildValue((char *)"");
1744 }
1745 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1746 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1747 return 1;
1748 }
1749
1750
1751 static PyObject *_wrap_CheckBoxNameStr_get() {
1752 PyObject *pyobj;
1753
1754 {
1755 #if wxUSE_UNICODE
1756 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1757 #else
1758 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1759 #endif
1760 }
1761 return pyobj;
1762 }
1763
1764
1765 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxWindow *arg1 = (wxWindow *) 0 ;
1768 int arg2 ;
1769 wxString *arg3 = 0 ;
1770 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1771 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1772 wxSize const &arg5_defvalue = wxDefaultSize ;
1773 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1774 long arg6 = (long) 0 ;
1775 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1776 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1777 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1778 wxString *arg8 = (wxString *) &arg8_defvalue ;
1779 wxCheckBox *result;
1780 bool temp3 = False ;
1781 wxPoint temp4 ;
1782 wxSize temp5 ;
1783 bool temp8 = False ;
1784 PyObject * obj0 = 0 ;
1785 PyObject * obj1 = 0 ;
1786 PyObject * obj2 = 0 ;
1787 PyObject * obj3 = 0 ;
1788 PyObject * obj4 = 0 ;
1789 PyObject * obj5 = 0 ;
1790 PyObject * obj6 = 0 ;
1791 PyObject * obj7 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 {
1799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 {
1803 arg3 = wxString_in_helper(obj2);
1804 if (arg3 == NULL) SWIG_fail;
1805 temp3 = True;
1806 }
1807 if (obj3) {
1808 {
1809 arg4 = &temp4;
1810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1811 }
1812 }
1813 if (obj4) {
1814 {
1815 arg5 = &temp5;
1816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1817 }
1818 }
1819 if (obj5) {
1820 {
1821 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 }
1825 if (obj6) {
1826 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1827 if (arg7 == NULL) {
1828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1829 }
1830 }
1831 if (obj7) {
1832 {
1833 arg8 = wxString_in_helper(obj7);
1834 if (arg8 == NULL) SWIG_fail;
1835 temp8 = True;
1836 }
1837 }
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1846 {
1847 if (temp3)
1848 delete arg3;
1849 }
1850 {
1851 if (temp8)
1852 delete arg8;
1853 }
1854 return resultobj;
1855 fail:
1856 {
1857 if (temp3)
1858 delete arg3;
1859 }
1860 {
1861 if (temp8)
1862 delete arg8;
1863 }
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxCheckBox *result;
1871 char *kwnames[] = {
1872 NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (wxCheckBox *)new wxCheckBox();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1893 wxWindow *arg2 = (wxWindow *) 0 ;
1894 int arg3 ;
1895 wxString *arg4 = 0 ;
1896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1898 wxSize const &arg6_defvalue = wxDefaultSize ;
1899 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1900 long arg7 = (long) 0 ;
1901 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1902 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1903 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1904 wxString *arg9 = (wxString *) &arg9_defvalue ;
1905 bool result;
1906 bool temp4 = False ;
1907 wxPoint temp5 ;
1908 wxSize temp6 ;
1909 bool temp9 = False ;
1910 PyObject * obj0 = 0 ;
1911 PyObject * obj1 = 0 ;
1912 PyObject * obj2 = 0 ;
1913 PyObject * obj3 = 0 ;
1914 PyObject * obj4 = 0 ;
1915 PyObject * obj5 = 0 ;
1916 PyObject * obj6 = 0 ;
1917 PyObject * obj7 = 0 ;
1918 PyObject * obj8 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1926 {
1927 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
1930 {
1931 arg4 = wxString_in_helper(obj3);
1932 if (arg4 == NULL) SWIG_fail;
1933 temp4 = True;
1934 }
1935 if (obj4) {
1936 {
1937 arg5 = &temp5;
1938 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1939 }
1940 }
1941 if (obj5) {
1942 {
1943 arg6 = &temp6;
1944 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1945 }
1946 }
1947 if (obj6) {
1948 {
1949 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 }
1953 if (obj7) {
1954 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1955 if (arg8 == NULL) {
1956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1957 }
1958 }
1959 if (obj8) {
1960 {
1961 arg9 = wxString_in_helper(obj8);
1962 if (arg9 == NULL) SWIG_fail;
1963 temp9 = True;
1964 }
1965 }
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1974 {
1975 if (temp4)
1976 delete arg4;
1977 }
1978 {
1979 if (temp9)
1980 delete arg9;
1981 }
1982 return resultobj;
1983 fail:
1984 {
1985 if (temp4)
1986 delete arg4;
1987 }
1988 {
1989 if (temp9)
1990 delete arg9;
1991 }
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1999 bool result;
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "self", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (bool)(arg1)->GetValue();
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2015 return resultobj;
2016 fail:
2017 return NULL;
2018 }
2019
2020
2021 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2024 bool result;
2025 PyObject * obj0 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (bool)(arg1)->IsChecked();
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2040 return resultobj;
2041 fail:
2042 return NULL;
2043 }
2044
2045
2046 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject *resultobj;
2048 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2049 bool arg2 ;
2050 PyObject * obj0 = 0 ;
2051 PyObject * obj1 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "self",(char *) "state", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 {
2059 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 (arg1)->SetValue(arg2);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 Py_INCREF(Py_None); resultobj = Py_None;
2070 return resultobj;
2071 fail:
2072 return NULL;
2073 }
2074
2075
2076 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2077 PyObject *resultobj;
2078 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2079 int result;
2080 PyObject * obj0 = 0 ;
2081 char *kwnames[] = {
2082 (char *) "self", NULL
2083 };
2084
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 resultobj = SWIG_PyObj_FromInt((int)result);
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2104 int arg2 ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj1 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "self",(char *) "state", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2113 {
2114 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 Py_INCREF(Py_None); resultobj = Py_None;
2125 return resultobj;
2126 fail:
2127 return NULL;
2128 }
2129
2130
2131 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2132 PyObject *resultobj;
2133 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2134 bool result;
2135 PyObject * obj0 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2150 return resultobj;
2151 fail:
2152 return NULL;
2153 }
2154
2155
2156 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2157 PyObject *resultobj;
2158 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2159 bool result;
2160 PyObject * obj0 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2175 return resultobj;
2176 fail:
2177 return NULL;
2178 }
2179
2180
2181 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2182 PyObject *obj;
2183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2184 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2185 Py_INCREF(obj);
2186 return Py_BuildValue((char *)"");
2187 }
2188 static int _wrap_ChoiceNameStr_set(PyObject *) {
2189 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2190 return 1;
2191 }
2192
2193
2194 static PyObject *_wrap_ChoiceNameStr_get() {
2195 PyObject *pyobj;
2196
2197 {
2198 #if wxUSE_UNICODE
2199 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2200 #else
2201 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2202 #endif
2203 }
2204 return pyobj;
2205 }
2206
2207
2208 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject *resultobj;
2210 wxWindow *arg1 = (wxWindow *) 0 ;
2211 int arg2 ;
2212 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2213 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2214 wxSize const &arg4_defvalue = wxDefaultSize ;
2215 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2216 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2217 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2218 long arg6 = (long) 0 ;
2219 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2220 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2221 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2222 wxString *arg8 = (wxString *) &arg8_defvalue ;
2223 wxChoice *result;
2224 wxPoint temp3 ;
2225 wxSize temp4 ;
2226 bool temp5 = False ;
2227 bool temp8 = False ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
2231 PyObject * obj3 = 0 ;
2232 PyObject * obj4 = 0 ;
2233 PyObject * obj5 = 0 ;
2234 PyObject * obj6 = 0 ;
2235 PyObject * obj7 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 {
2243 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 if (obj2) {
2247 {
2248 arg3 = &temp3;
2249 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2250 }
2251 }
2252 if (obj3) {
2253 {
2254 arg4 = &temp4;
2255 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2256 }
2257 }
2258 if (obj4) {
2259 {
2260 if (! PySequence_Check(obj4)) {
2261 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2262 SWIG_fail;
2263 }
2264 arg5 = new wxArrayString;
2265 temp5 = True;
2266 int i, len=PySequence_Length(obj4);
2267 for (i=0; i<len; i++) {
2268 PyObject* item = PySequence_GetItem(obj4, i);
2269 #if wxUSE_UNICODE
2270 PyObject* str = PyObject_Unicode(item);
2271 #else
2272 PyObject* str = PyObject_Str(item);
2273 #endif
2274 arg5->Add(Py2wxString(str));
2275 Py_DECREF(item);
2276 Py_DECREF(str);
2277 }
2278 }
2279 }
2280 if (obj5) {
2281 {
2282 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 }
2286 if (obj6) {
2287 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2288 if (arg7 == NULL) {
2289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2290 }
2291 }
2292 if (obj7) {
2293 {
2294 arg8 = wxString_in_helper(obj7);
2295 if (arg8 == NULL) SWIG_fail;
2296 temp8 = True;
2297 }
2298 }
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2307 {
2308 if (temp5) delete arg5;
2309 }
2310 {
2311 if (temp8)
2312 delete arg8;
2313 }
2314 return resultobj;
2315 fail:
2316 {
2317 if (temp5) delete arg5;
2318 }
2319 {
2320 if (temp8)
2321 delete arg8;
2322 }
2323 return NULL;
2324 }
2325
2326
2327 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxChoice *result;
2330 char *kwnames[] = {
2331 NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (wxChoice *)new wxChoice();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2343 return resultobj;
2344 fail:
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxChoice *arg1 = (wxChoice *) 0 ;
2352 wxWindow *arg2 = (wxWindow *) 0 ;
2353 int arg3 ;
2354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2356 wxSize const &arg5_defvalue = wxDefaultSize ;
2357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2358 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2359 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2360 long arg7 = (long) 0 ;
2361 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2362 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2363 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2364 wxString *arg9 = (wxString *) &arg9_defvalue ;
2365 bool result;
2366 wxPoint temp4 ;
2367 wxSize temp5 ;
2368 bool temp6 = False ;
2369 bool temp9 = False ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372 PyObject * obj2 = 0 ;
2373 PyObject * obj3 = 0 ;
2374 PyObject * obj4 = 0 ;
2375 PyObject * obj5 = 0 ;
2376 PyObject * obj6 = 0 ;
2377 PyObject * obj7 = 0 ;
2378 PyObject * obj8 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2386 {
2387 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 if (obj3) {
2391 {
2392 arg4 = &temp4;
2393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2394 }
2395 }
2396 if (obj4) {
2397 {
2398 arg5 = &temp5;
2399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2400 }
2401 }
2402 if (obj5) {
2403 {
2404 if (! PySequence_Check(obj5)) {
2405 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2406 SWIG_fail;
2407 }
2408 arg6 = new wxArrayString;
2409 temp6 = True;
2410 int i, len=PySequence_Length(obj5);
2411 for (i=0; i<len; i++) {
2412 PyObject* item = PySequence_GetItem(obj5, i);
2413 #if wxUSE_UNICODE
2414 PyObject* str = PyObject_Unicode(item);
2415 #else
2416 PyObject* str = PyObject_Str(item);
2417 #endif
2418 arg6->Add(Py2wxString(str));
2419 Py_DECREF(item);
2420 Py_DECREF(str);
2421 }
2422 }
2423 }
2424 if (obj6) {
2425 {
2426 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 }
2430 if (obj7) {
2431 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2432 if (arg8 == NULL) {
2433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2434 }
2435 }
2436 if (obj8) {
2437 {
2438 arg9 = wxString_in_helper(obj8);
2439 if (arg9 == NULL) SWIG_fail;
2440 temp9 = True;
2441 }
2442 }
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2451 {
2452 if (temp6) delete arg6;
2453 }
2454 {
2455 if (temp9)
2456 delete arg9;
2457 }
2458 return resultobj;
2459 fail:
2460 {
2461 if (temp6) delete arg6;
2462 }
2463 {
2464 if (temp9)
2465 delete arg9;
2466 }
2467 return NULL;
2468 }
2469
2470
2471 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxChoice *arg1 = (wxChoice *) 0 ;
2474 int result;
2475 PyObject * obj0 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 result = (int)(arg1)->GetColumns();
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
2489 resultobj = SWIG_PyObj_FromInt((int)result);
2490 return resultobj;
2491 fail:
2492 return NULL;
2493 }
2494
2495
2496 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2497 PyObject *resultobj;
2498 wxChoice *arg1 = (wxChoice *) 0 ;
2499 int arg2 = (int) (int)1 ;
2500 PyObject * obj0 = 0 ;
2501 PyObject * obj1 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "self",(char *) "n", NULL
2504 };
2505
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 if (obj1) {
2509 {
2510 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2511 if (PyErr_Occurred()) SWIG_fail;
2512 }
2513 }
2514 {
2515 PyThreadState* __tstate = wxPyBeginAllowThreads();
2516 (arg1)->SetColumns(arg2);
2517
2518 wxPyEndAllowThreads(__tstate);
2519 if (PyErr_Occurred()) SWIG_fail;
2520 }
2521 Py_INCREF(Py_None); resultobj = Py_None;
2522 return resultobj;
2523 fail:
2524 return NULL;
2525 }
2526
2527
2528 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2529 PyObject *resultobj;
2530 wxChoice *arg1 = (wxChoice *) 0 ;
2531 int arg2 ;
2532 PyObject * obj0 = 0 ;
2533 PyObject * obj1 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "self",(char *) "n", NULL
2536 };
2537
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2540 {
2541 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 (arg1)->SetSelection(arg2);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 Py_INCREF(Py_None); resultobj = Py_None;
2552 return resultobj;
2553 fail:
2554 return NULL;
2555 }
2556
2557
2558 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxChoice *arg1 = (wxChoice *) 0 ;
2561 wxString *arg2 = 0 ;
2562 bool temp2 = False ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "string", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2571 {
2572 arg2 = wxString_in_helper(obj1);
2573 if (arg2 == NULL) SWIG_fail;
2574 temp2 = True;
2575 }
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 (arg1)->SetStringSelection((wxString const &)*arg2);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
2584 {
2585 if (temp2)
2586 delete arg2;
2587 }
2588 return resultobj;
2589 fail:
2590 {
2591 if (temp2)
2592 delete arg2;
2593 }
2594 return NULL;
2595 }
2596
2597
2598 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2599 PyObject *resultobj;
2600 wxChoice *arg1 = (wxChoice *) 0 ;
2601 int arg2 ;
2602 wxString *arg3 = 0 ;
2603 bool temp3 = False ;
2604 PyObject * obj0 = 0 ;
2605 PyObject * obj1 = 0 ;
2606 PyObject * obj2 = 0 ;
2607 char *kwnames[] = {
2608 (char *) "self",(char *) "n",(char *) "s", NULL
2609 };
2610
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2613 {
2614 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 {
2618 arg3 = wxString_in_helper(obj2);
2619 if (arg3 == NULL) SWIG_fail;
2620 temp3 = True;
2621 }
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 (arg1)->SetString(arg2,(wxString const &)*arg3);
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 Py_INCREF(Py_None); resultobj = Py_None;
2630 {
2631 if (temp3)
2632 delete arg3;
2633 }
2634 return resultobj;
2635 fail:
2636 {
2637 if (temp3)
2638 delete arg3;
2639 }
2640 return NULL;
2641 }
2642
2643
2644 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2645 PyObject *obj;
2646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2647 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2648 Py_INCREF(obj);
2649 return Py_BuildValue((char *)"");
2650 }
2651 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2652 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2653 return 1;
2654 }
2655
2656
2657 static PyObject *_wrap_ComboBoxNameStr_get() {
2658 PyObject *pyobj;
2659
2660 {
2661 #if wxUSE_UNICODE
2662 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2663 #else
2664 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2665 #endif
2666 }
2667 return pyobj;
2668 }
2669
2670
2671 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject *resultobj;
2673 wxWindow *arg1 = (wxWindow *) 0 ;
2674 int arg2 ;
2675 wxString const &arg3_defvalue = wxPyEmptyString ;
2676 wxString *arg3 = (wxString *) &arg3_defvalue ;
2677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2679 wxSize const &arg5_defvalue = wxDefaultSize ;
2680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2681 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2682 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2683 long arg7 = (long) 0 ;
2684 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2685 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2686 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2687 wxString *arg9 = (wxString *) &arg9_defvalue ;
2688 wxComboBox *result;
2689 bool temp3 = False ;
2690 wxPoint temp4 ;
2691 wxSize temp5 ;
2692 bool temp6 = False ;
2693 bool temp9 = False ;
2694 PyObject * obj0 = 0 ;
2695 PyObject * obj1 = 0 ;
2696 PyObject * obj2 = 0 ;
2697 PyObject * obj3 = 0 ;
2698 PyObject * obj4 = 0 ;
2699 PyObject * obj5 = 0 ;
2700 PyObject * obj6 = 0 ;
2701 PyObject * obj7 = 0 ;
2702 PyObject * obj8 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709 {
2710 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 if (obj2) {
2714 {
2715 arg3 = wxString_in_helper(obj2);
2716 if (arg3 == NULL) SWIG_fail;
2717 temp3 = True;
2718 }
2719 }
2720 if (obj3) {
2721 {
2722 arg4 = &temp4;
2723 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2724 }
2725 }
2726 if (obj4) {
2727 {
2728 arg5 = &temp5;
2729 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2730 }
2731 }
2732 if (obj5) {
2733 {
2734 if (! PySequence_Check(obj5)) {
2735 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2736 SWIG_fail;
2737 }
2738 arg6 = new wxArrayString;
2739 temp6 = True;
2740 int i, len=PySequence_Length(obj5);
2741 for (i=0; i<len; i++) {
2742 PyObject* item = PySequence_GetItem(obj5, i);
2743 #if wxUSE_UNICODE
2744 PyObject* str = PyObject_Unicode(item);
2745 #else
2746 PyObject* str = PyObject_Str(item);
2747 #endif
2748 arg6->Add(Py2wxString(str));
2749 Py_DECREF(item);
2750 Py_DECREF(str);
2751 }
2752 }
2753 }
2754 if (obj6) {
2755 {
2756 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 }
2760 if (obj7) {
2761 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2762 if (arg8 == NULL) {
2763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2764 }
2765 }
2766 if (obj8) {
2767 {
2768 arg9 = wxString_in_helper(obj8);
2769 if (arg9 == NULL) SWIG_fail;
2770 temp9 = True;
2771 }
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 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);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2781 {
2782 if (temp3)
2783 delete arg3;
2784 }
2785 {
2786 if (temp6) delete arg6;
2787 }
2788 {
2789 if (temp9)
2790 delete arg9;
2791 }
2792 return resultobj;
2793 fail:
2794 {
2795 if (temp3)
2796 delete arg3;
2797 }
2798 {
2799 if (temp6) delete arg6;
2800 }
2801 {
2802 if (temp9)
2803 delete arg9;
2804 }
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxComboBox *result;
2812 char *kwnames[] = {
2813 NULL
2814 };
2815
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (wxComboBox *)new wxComboBox();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxComboBox *arg1 = (wxComboBox *) 0 ;
2834 wxWindow *arg2 = (wxWindow *) 0 ;
2835 int arg3 ;
2836 wxString const &arg4_defvalue = wxPyEmptyString ;
2837 wxString *arg4 = (wxString *) &arg4_defvalue ;
2838 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2839 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2840 wxSize const &arg6_defvalue = wxDefaultSize ;
2841 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2842 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2843 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2844 long arg8 = (long) 0 ;
2845 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2846 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2847 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2848 wxString *arg10 = (wxString *) &arg10_defvalue ;
2849 bool result;
2850 bool temp4 = False ;
2851 wxPoint temp5 ;
2852 wxSize temp6 ;
2853 bool temp7 = False ;
2854 bool temp10 = False ;
2855 PyObject * obj0 = 0 ;
2856 PyObject * obj1 = 0 ;
2857 PyObject * obj2 = 0 ;
2858 PyObject * obj3 = 0 ;
2859 PyObject * obj4 = 0 ;
2860 PyObject * obj5 = 0 ;
2861 PyObject * obj6 = 0 ;
2862 PyObject * obj7 = 0 ;
2863 PyObject * obj8 = 0 ;
2864 PyObject * obj9 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 {
2873 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
2876 if (obj3) {
2877 {
2878 arg4 = wxString_in_helper(obj3);
2879 if (arg4 == NULL) SWIG_fail;
2880 temp4 = True;
2881 }
2882 }
2883 if (obj4) {
2884 {
2885 arg5 = &temp5;
2886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2887 }
2888 }
2889 if (obj5) {
2890 {
2891 arg6 = &temp6;
2892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2893 }
2894 }
2895 if (obj6) {
2896 {
2897 if (! PySequence_Check(obj6)) {
2898 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2899 SWIG_fail;
2900 }
2901 arg7 = new wxArrayString;
2902 temp7 = True;
2903 int i, len=PySequence_Length(obj6);
2904 for (i=0; i<len; i++) {
2905 PyObject* item = PySequence_GetItem(obj6, i);
2906 #if wxUSE_UNICODE
2907 PyObject* str = PyObject_Unicode(item);
2908 #else
2909 PyObject* str = PyObject_Str(item);
2910 #endif
2911 arg7->Add(Py2wxString(str));
2912 Py_DECREF(item);
2913 Py_DECREF(str);
2914 }
2915 }
2916 }
2917 if (obj7) {
2918 {
2919 arg8 = (long) SWIG_PyObj_AsLong(obj7);
2920 if (PyErr_Occurred()) SWIG_fail;
2921 }
2922 }
2923 if (obj8) {
2924 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2925 if (arg9 == NULL) {
2926 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2927 }
2928 }
2929 if (obj9) {
2930 {
2931 arg10 = wxString_in_helper(obj9);
2932 if (arg10 == NULL) SWIG_fail;
2933 temp10 = True;
2934 }
2935 }
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 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);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2944 {
2945 if (temp4)
2946 delete arg4;
2947 }
2948 {
2949 if (temp7) delete arg7;
2950 }
2951 {
2952 if (temp10)
2953 delete arg10;
2954 }
2955 return resultobj;
2956 fail:
2957 {
2958 if (temp4)
2959 delete arg4;
2960 }
2961 {
2962 if (temp7) delete arg7;
2963 }
2964 {
2965 if (temp10)
2966 delete arg10;
2967 }
2968 return NULL;
2969 }
2970
2971
2972 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject *resultobj;
2974 wxComboBox *arg1 = (wxComboBox *) 0 ;
2975 wxString result;
2976 PyObject * obj0 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 result = ((wxComboBox const *)arg1)->GetValue();
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 {
2991 #if wxUSE_UNICODE
2992 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2993 #else
2994 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2995 #endif
2996 }
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxComboBox *arg1 = (wxComboBox *) 0 ;
3006 wxString *arg2 = 0 ;
3007 bool temp2 = False ;
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self",(char *) "value", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3016 {
3017 arg2 = wxString_in_helper(obj1);
3018 if (arg2 == NULL) SWIG_fail;
3019 temp2 = True;
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 (arg1)->SetValue((wxString const &)*arg2);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 Py_INCREF(Py_None); resultobj = Py_None;
3029 {
3030 if (temp2)
3031 delete arg2;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp2)
3037 delete arg2;
3038 }
3039 return NULL;
3040 }
3041
3042
3043 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3044 PyObject *resultobj;
3045 wxComboBox *arg1 = (wxComboBox *) 0 ;
3046 PyObject * obj0 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 (arg1)->Copy();
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
3060 Py_INCREF(Py_None); resultobj = Py_None;
3061 return resultobj;
3062 fail:
3063 return NULL;
3064 }
3065
3066
3067 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3068 PyObject *resultobj;
3069 wxComboBox *arg1 = (wxComboBox *) 0 ;
3070 PyObject * obj0 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->Cut();
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxComboBox *arg1 = (wxComboBox *) 0 ;
3094 PyObject * obj0 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 (arg1)->Paste();
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 Py_INCREF(Py_None); resultobj = Py_None;
3109 return resultobj;
3110 fail:
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxComboBox *arg1 = (wxComboBox *) 0 ;
3118 long arg2 ;
3119 PyObject * obj0 = 0 ;
3120 PyObject * obj1 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "pos", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 {
3128 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 (arg1)->SetInsertionPoint(arg2);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) SWIG_fail;
3137 }
3138 Py_INCREF(Py_None); resultobj = Py_None;
3139 return resultobj;
3140 fail:
3141 return NULL;
3142 }
3143
3144
3145 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj;
3147 wxComboBox *arg1 = (wxComboBox *) 0 ;
3148 long result;
3149 PyObject * obj0 = 0 ;
3150 char *kwnames[] = {
3151 (char *) "self", NULL
3152 };
3153
3154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 resultobj = SWIG_PyObj_FromLong((long)result);
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxComboBox *arg1 = (wxComboBox *) 0 ;
3173 long result;
3174 PyObject * obj0 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 resultobj = SWIG_PyObj_FromLong((long)result);
3189 return resultobj;
3190 fail:
3191 return NULL;
3192 }
3193
3194
3195 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3196 PyObject *resultobj;
3197 wxComboBox *arg1 = (wxComboBox *) 0 ;
3198 long arg2 ;
3199 long arg3 ;
3200 wxString *arg4 = 0 ;
3201 bool temp4 = False ;
3202 PyObject * obj0 = 0 ;
3203 PyObject * obj1 = 0 ;
3204 PyObject * obj2 = 0 ;
3205 PyObject * obj3 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3212 {
3213 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3214 if (PyErr_Occurred()) SWIG_fail;
3215 }
3216 {
3217 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221 arg4 = wxString_in_helper(obj3);
3222 if (arg4 == NULL) SWIG_fail;
3223 temp4 = True;
3224 }
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 Py_INCREF(Py_None); resultobj = Py_None;
3233 {
3234 if (temp4)
3235 delete arg4;
3236 }
3237 return resultobj;
3238 fail:
3239 {
3240 if (temp4)
3241 delete arg4;
3242 }
3243 return NULL;
3244 }
3245
3246
3247 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxComboBox *arg1 = (wxComboBox *) 0 ;
3250 int arg2 ;
3251 PyObject * obj0 = 0 ;
3252 PyObject * obj1 = 0 ;
3253 char *kwnames[] = {
3254 (char *) "self",(char *) "n", NULL
3255 };
3256
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3259 {
3260 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 (arg1)->SetSelection(arg2);
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 Py_INCREF(Py_None); resultobj = Py_None;
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxComboBox *arg1 = (wxComboBox *) 0 ;
3280 long arg2 ;
3281 long arg3 ;
3282 PyObject * obj0 = 0 ;
3283 PyObject * obj1 = 0 ;
3284 PyObject * obj2 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self",(char *) "from",(char *) "to", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3291 {
3292 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 {
3296 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 (arg1)->SetSelection(arg2,arg3);
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
3306 Py_INCREF(Py_None); resultobj = Py_None;
3307 return resultobj;
3308 fail:
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxComboBox *arg1 = (wxComboBox *) 0 ;
3316 bool arg2 ;
3317 PyObject * obj0 = 0 ;
3318 PyObject * obj1 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "editable", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3325 {
3326 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 (arg1)->SetEditable(arg2);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxComboBox *arg1 = (wxComboBox *) 0 ;
3346 PyObject * obj0 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 (arg1)->SetInsertionPointEnd();
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
3360 Py_INCREF(Py_None); resultobj = Py_None;
3361 return resultobj;
3362 fail:
3363 return NULL;
3364 }
3365
3366
3367 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject *resultobj;
3369 wxComboBox *arg1 = (wxComboBox *) 0 ;
3370 long arg2 ;
3371 long arg3 ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 PyObject * obj2 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "from",(char *) "to", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3381 {
3382 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 {
3386 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 (arg1)->Remove(arg2,arg3);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 Py_INCREF(Py_None); resultobj = Py_None;
3397 return resultobj;
3398 fail:
3399 return NULL;
3400 }
3401
3402
3403 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3404 PyObject *obj;
3405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3406 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3407 Py_INCREF(obj);
3408 return Py_BuildValue((char *)"");
3409 }
3410 static int _wrap_GaugeNameStr_set(PyObject *) {
3411 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3412 return 1;
3413 }
3414
3415
3416 static PyObject *_wrap_GaugeNameStr_get() {
3417 PyObject *pyobj;
3418
3419 {
3420 #if wxUSE_UNICODE
3421 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3422 #else
3423 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3424 #endif
3425 }
3426 return pyobj;
3427 }
3428
3429
3430 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxWindow *arg1 = (wxWindow *) 0 ;
3433 int arg2 ;
3434 int arg3 ;
3435 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3436 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3437 wxSize const &arg5_defvalue = wxDefaultSize ;
3438 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3439 long arg6 = (long) wxGA_HORIZONTAL ;
3440 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3441 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3442 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3443 wxString *arg8 = (wxString *) &arg8_defvalue ;
3444 wxGauge *result;
3445 wxPoint temp4 ;
3446 wxSize temp5 ;
3447 bool temp8 = False ;
3448 PyObject * obj0 = 0 ;
3449 PyObject * obj1 = 0 ;
3450 PyObject * obj2 = 0 ;
3451 PyObject * obj3 = 0 ;
3452 PyObject * obj4 = 0 ;
3453 PyObject * obj5 = 0 ;
3454 PyObject * obj6 = 0 ;
3455 PyObject * obj7 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3462 {
3463 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 {
3467 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 if (obj3) {
3471 {
3472 arg4 = &temp4;
3473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3474 }
3475 }
3476 if (obj4) {
3477 {
3478 arg5 = &temp5;
3479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3480 }
3481 }
3482 if (obj5) {
3483 {
3484 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 }
3488 if (obj6) {
3489 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3490 if (arg7 == NULL) {
3491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3492 }
3493 }
3494 if (obj7) {
3495 {
3496 arg8 = wxString_in_helper(obj7);
3497 if (arg8 == NULL) SWIG_fail;
3498 temp8 = True;
3499 }
3500 }
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3509 {
3510 if (temp8)
3511 delete arg8;
3512 }
3513 return resultobj;
3514 fail:
3515 {
3516 if (temp8)
3517 delete arg8;
3518 }
3519 return NULL;
3520 }
3521
3522
3523 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3524 PyObject *resultobj;
3525 wxGauge *result;
3526 char *kwnames[] = {
3527 NULL
3528 };
3529
3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
3533 result = (wxGauge *)new wxGauge();
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxGauge *arg1 = (wxGauge *) 0 ;
3548 wxWindow *arg2 = (wxWindow *) 0 ;
3549 int arg3 ;
3550 int arg4 ;
3551 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3552 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3553 wxSize const &arg6_defvalue = wxDefaultSize ;
3554 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3555 long arg7 = (long) wxGA_HORIZONTAL ;
3556 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3557 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3558 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3559 wxString *arg9 = (wxString *) &arg9_defvalue ;
3560 bool result;
3561 wxPoint temp5 ;
3562 wxSize temp6 ;
3563 bool temp9 = False ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 PyObject * obj2 = 0 ;
3567 PyObject * obj3 = 0 ;
3568 PyObject * obj4 = 0 ;
3569 PyObject * obj5 = 0 ;
3570 PyObject * obj6 = 0 ;
3571 PyObject * obj7 = 0 ;
3572 PyObject * obj8 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3580 {
3581 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 {
3585 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 if (obj4) {
3589 {
3590 arg5 = &temp5;
3591 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3592 }
3593 }
3594 if (obj5) {
3595 {
3596 arg6 = &temp6;
3597 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3598 }
3599 }
3600 if (obj6) {
3601 {
3602 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 }
3606 if (obj7) {
3607 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3608 if (arg8 == NULL) {
3609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3610 }
3611 }
3612 if (obj8) {
3613 {
3614 arg9 = wxString_in_helper(obj8);
3615 if (arg9 == NULL) SWIG_fail;
3616 temp9 = True;
3617 }
3618 }
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3622
3623 wxPyEndAllowThreads(__tstate);
3624 if (PyErr_Occurred()) SWIG_fail;
3625 }
3626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3627 {
3628 if (temp9)
3629 delete arg9;
3630 }
3631 return resultobj;
3632 fail:
3633 {
3634 if (temp9)
3635 delete arg9;
3636 }
3637 return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxGauge *arg1 = (wxGauge *) 0 ;
3644 int arg2 ;
3645 PyObject * obj0 = 0 ;
3646 PyObject * obj1 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "self",(char *) "range", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3653 {
3654 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 (arg1)->SetRange(arg2);
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 Py_INCREF(Py_None); resultobj = Py_None;
3665 return resultobj;
3666 fail:
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxGauge *arg1 = (wxGauge *) 0 ;
3674 int result;
3675 PyObject * obj0 = 0 ;
3676 char *kwnames[] = {
3677 (char *) "self", NULL
3678 };
3679
3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 result = (int)((wxGauge const *)arg1)->GetRange();
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 resultobj = SWIG_PyObj_FromInt((int)result);
3690 return resultobj;
3691 fail:
3692 return NULL;
3693 }
3694
3695
3696 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3697 PyObject *resultobj;
3698 wxGauge *arg1 = (wxGauge *) 0 ;
3699 int arg2 ;
3700 PyObject * obj0 = 0 ;
3701 PyObject * obj1 = 0 ;
3702 char *kwnames[] = {
3703 (char *) "self",(char *) "pos", NULL
3704 };
3705
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3708 {
3709 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 (arg1)->SetValue(arg2);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 Py_INCREF(Py_None); resultobj = Py_None;
3720 return resultobj;
3721 fail:
3722 return NULL;
3723 }
3724
3725
3726 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxGauge *arg1 = (wxGauge *) 0 ;
3729 int result;
3730 PyObject * obj0 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (int)((wxGauge const *)arg1)->GetValue();
3740
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 resultobj = SWIG_PyObj_FromInt((int)result);
3745 return resultobj;
3746 fail:
3747 return NULL;
3748 }
3749
3750
3751 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 wxGauge *arg1 = (wxGauge *) 0 ;
3754 bool result;
3755 PyObject * obj0 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 result = (bool)((wxGauge const *)arg1)->IsVertical();
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3770 return resultobj;
3771 fail:
3772 return NULL;
3773 }
3774
3775
3776 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxGauge *arg1 = (wxGauge *) 0 ;
3779 int arg2 ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self",(char *) "w", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3788 {
3789 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 (arg1)->SetShadowWidth(arg2);
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 Py_INCREF(Py_None); resultobj = Py_None;
3800 return resultobj;
3801 fail:
3802 return NULL;
3803 }
3804
3805
3806 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject *resultobj;
3808 wxGauge *arg1 = (wxGauge *) 0 ;
3809 int result;
3810 PyObject * obj0 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 resultobj = SWIG_PyObj_FromInt((int)result);
3825 return resultobj;
3826 fail:
3827 return NULL;
3828 }
3829
3830
3831 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject *resultobj;
3833 wxGauge *arg1 = (wxGauge *) 0 ;
3834 int arg2 ;
3835 PyObject * obj0 = 0 ;
3836 PyObject * obj1 = 0 ;
3837 char *kwnames[] = {
3838 (char *) "self",(char *) "w", NULL
3839 };
3840
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3843 {
3844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 {
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 (arg1)->SetBezelFace(arg2);
3850
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 Py_INCREF(Py_None); resultobj = Py_None;
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj;
3863 wxGauge *arg1 = (wxGauge *) 0 ;
3864 int result;
3865 PyObject * obj0 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 resultobj = SWIG_PyObj_FromInt((int)result);
3880 return resultobj;
3881 fail:
3882 return NULL;
3883 }
3884
3885
3886 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3887 PyObject *obj;
3888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3889 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3890 Py_INCREF(obj);
3891 return Py_BuildValue((char *)"");
3892 }
3893 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3894 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3895 return 1;
3896 }
3897
3898
3899 static PyObject *_wrap_StaticBitmapNameStr_get() {
3900 PyObject *pyobj;
3901
3902 {
3903 #if wxUSE_UNICODE
3904 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3905 #else
3906 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3907 #endif
3908 }
3909 return pyobj;
3910 }
3911
3912
3913 static int _wrap_StaticBoxNameStr_set(PyObject *) {
3914 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3915 return 1;
3916 }
3917
3918
3919 static PyObject *_wrap_StaticBoxNameStr_get() {
3920 PyObject *pyobj;
3921
3922 {
3923 #if wxUSE_UNICODE
3924 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3925 #else
3926 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3927 #endif
3928 }
3929 return pyobj;
3930 }
3931
3932
3933 static int _wrap_StaticTextNameStr_set(PyObject *) {
3934 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3935 return 1;
3936 }
3937
3938
3939 static PyObject *_wrap_StaticTextNameStr_get() {
3940 PyObject *pyobj;
3941
3942 {
3943 #if wxUSE_UNICODE
3944 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3945 #else
3946 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3947 #endif
3948 }
3949 return pyobj;
3950 }
3951
3952
3953 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject *resultobj;
3955 wxWindow *arg1 = (wxWindow *) 0 ;
3956 int arg2 ;
3957 wxString *arg3 = 0 ;
3958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3960 wxSize const &arg5_defvalue = wxDefaultSize ;
3961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3962 long arg6 = (long) 0 ;
3963 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3964 wxString *arg7 = (wxString *) &arg7_defvalue ;
3965 wxStaticBox *result;
3966 bool temp3 = False ;
3967 wxPoint temp4 ;
3968 wxSize temp5 ;
3969 bool temp7 = False ;
3970 PyObject * obj0 = 0 ;
3971 PyObject * obj1 = 0 ;
3972 PyObject * obj2 = 0 ;
3973 PyObject * obj3 = 0 ;
3974 PyObject * obj4 = 0 ;
3975 PyObject * obj5 = 0 ;
3976 PyObject * obj6 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3983 {
3984 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 {
3988 arg3 = wxString_in_helper(obj2);
3989 if (arg3 == NULL) SWIG_fail;
3990 temp3 = True;
3991 }
3992 if (obj3) {
3993 {
3994 arg4 = &temp4;
3995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3996 }
3997 }
3998 if (obj4) {
3999 {
4000 arg5 = &temp5;
4001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4002 }
4003 }
4004 if (obj5) {
4005 {
4006 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 }
4010 if (obj6) {
4011 {
4012 arg7 = wxString_in_helper(obj6);
4013 if (arg7 == NULL) SWIG_fail;
4014 temp7 = True;
4015 }
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = wxPyMake_wxObject(result);
4026 }
4027 {
4028 if (temp3)
4029 delete arg3;
4030 }
4031 {
4032 if (temp7)
4033 delete arg7;
4034 }
4035 return resultobj;
4036 fail:
4037 {
4038 if (temp3)
4039 delete arg3;
4040 }
4041 {
4042 if (temp7)
4043 delete arg7;
4044 }
4045 return NULL;
4046 }
4047
4048
4049 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxStaticBox *result;
4052 char *kwnames[] = {
4053 NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (wxStaticBox *)new wxStaticBox();
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 {
4065 resultobj = wxPyMake_wxObject(result);
4066 }
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4076 wxWindow *arg2 = (wxWindow *) 0 ;
4077 int arg3 ;
4078 wxString *arg4 = 0 ;
4079 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4080 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4081 wxSize const &arg6_defvalue = wxDefaultSize ;
4082 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4083 long arg7 = (long) 0 ;
4084 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4085 wxString *arg8 = (wxString *) &arg8_defvalue ;
4086 bool result;
4087 bool temp4 = False ;
4088 wxPoint temp5 ;
4089 wxSize temp6 ;
4090 bool temp8 = False ;
4091 PyObject * obj0 = 0 ;
4092 PyObject * obj1 = 0 ;
4093 PyObject * obj2 = 0 ;
4094 PyObject * obj3 = 0 ;
4095 PyObject * obj4 = 0 ;
4096 PyObject * obj5 = 0 ;
4097 PyObject * obj6 = 0 ;
4098 PyObject * obj7 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4106 {
4107 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 {
4111 arg4 = wxString_in_helper(obj3);
4112 if (arg4 == NULL) SWIG_fail;
4113 temp4 = True;
4114 }
4115 if (obj4) {
4116 {
4117 arg5 = &temp5;
4118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4119 }
4120 }
4121 if (obj5) {
4122 {
4123 arg6 = &temp6;
4124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4125 }
4126 }
4127 if (obj6) {
4128 {
4129 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 }
4133 if (obj7) {
4134 {
4135 arg8 = wxString_in_helper(obj7);
4136 if (arg8 == NULL) SWIG_fail;
4137 temp8 = True;
4138 }
4139 }
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4148 {
4149 if (temp4)
4150 delete arg4;
4151 }
4152 {
4153 if (temp8)
4154 delete arg8;
4155 }
4156 return resultobj;
4157 fail:
4158 {
4159 if (temp4)
4160 delete arg4;
4161 }
4162 {
4163 if (temp8)
4164 delete arg8;
4165 }
4166 return NULL;
4167 }
4168
4169
4170 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4171 PyObject *obj;
4172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4173 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4174 Py_INCREF(obj);
4175 return Py_BuildValue((char *)"");
4176 }
4177 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxWindow *arg1 = (wxWindow *) 0 ;
4180 int arg2 ;
4181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4183 wxSize const &arg4_defvalue = wxDefaultSize ;
4184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4185 long arg5 = (long) wxLI_HORIZONTAL ;
4186 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4187 wxString *arg6 = (wxString *) &arg6_defvalue ;
4188 wxStaticLine *result;
4189 wxPoint temp3 ;
4190 wxSize temp4 ;
4191 bool temp6 = False ;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj1 = 0 ;
4194 PyObject * obj2 = 0 ;
4195 PyObject * obj3 = 0 ;
4196 PyObject * obj4 = 0 ;
4197 PyObject * obj5 = 0 ;
4198 char *kwnames[] = {
4199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4200 };
4201
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4204 {
4205 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 }
4208 if (obj2) {
4209 {
4210 arg3 = &temp3;
4211 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4212 }
4213 }
4214 if (obj3) {
4215 {
4216 arg4 = &temp4;
4217 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4218 }
4219 }
4220 if (obj4) {
4221 {
4222 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 }
4226 if (obj5) {
4227 {
4228 arg6 = wxString_in_helper(obj5);
4229 if (arg6 == NULL) SWIG_fail;
4230 temp6 = True;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4241 {
4242 if (temp6)
4243 delete arg6;
4244 }
4245 return resultobj;
4246 fail:
4247 {
4248 if (temp6)
4249 delete arg6;
4250 }
4251 return NULL;
4252 }
4253
4254
4255 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj;
4257 wxStaticLine *result;
4258 char *kwnames[] = {
4259 NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (wxStaticLine *)new wxStaticLine();
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4280 wxWindow *arg2 = (wxWindow *) 0 ;
4281 int arg3 ;
4282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4284 wxSize const &arg5_defvalue = wxDefaultSize ;
4285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4286 long arg6 = (long) wxLI_HORIZONTAL ;
4287 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4288 wxString *arg7 = (wxString *) &arg7_defvalue ;
4289 bool result;
4290 wxPoint temp4 ;
4291 wxSize temp5 ;
4292 bool temp7 = False ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 PyObject * obj2 = 0 ;
4296 PyObject * obj3 = 0 ;
4297 PyObject * obj4 = 0 ;
4298 PyObject * obj5 = 0 ;
4299 PyObject * obj6 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 {
4308 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 if (obj3) {
4312 {
4313 arg4 = &temp4;
4314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4315 }
4316 }
4317 if (obj4) {
4318 {
4319 arg5 = &temp5;
4320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4321 }
4322 }
4323 if (obj5) {
4324 {
4325 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 }
4329 if (obj6) {
4330 {
4331 arg7 = wxString_in_helper(obj6);
4332 if (arg7 == NULL) SWIG_fail;
4333 temp7 = True;
4334 }
4335 }
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4344 {
4345 if (temp7)
4346 delete arg7;
4347 }
4348 return resultobj;
4349 fail:
4350 {
4351 if (temp7)
4352 delete arg7;
4353 }
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4361 bool result;
4362 PyObject * obj0 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 int result;
4386 char *kwnames[] = {
4387 NULL
4388 };
4389
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 result = (int)wxStaticLine::GetDefaultSize();
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 resultobj = SWIG_PyObj_FromInt((int)result);
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4406 PyObject *obj;
4407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4408 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4409 Py_INCREF(obj);
4410 return Py_BuildValue((char *)"");
4411 }
4412 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj;
4414 wxWindow *arg1 = (wxWindow *) 0 ;
4415 int arg2 ;
4416 wxString *arg3 = 0 ;
4417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4419 wxSize const &arg5_defvalue = wxDefaultSize ;
4420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4421 long arg6 = (long) 0 ;
4422 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4423 wxString *arg7 = (wxString *) &arg7_defvalue ;
4424 wxStaticText *result;
4425 bool temp3 = False ;
4426 wxPoint temp4 ;
4427 wxSize temp5 ;
4428 bool temp7 = False ;
4429 PyObject * obj0 = 0 ;
4430 PyObject * obj1 = 0 ;
4431 PyObject * obj2 = 0 ;
4432 PyObject * obj3 = 0 ;
4433 PyObject * obj4 = 0 ;
4434 PyObject * obj5 = 0 ;
4435 PyObject * obj6 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4442 {
4443 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 {
4447 arg3 = wxString_in_helper(obj2);
4448 if (arg3 == NULL) SWIG_fail;
4449 temp3 = True;
4450 }
4451 if (obj3) {
4452 {
4453 arg4 = &temp4;
4454 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4455 }
4456 }
4457 if (obj4) {
4458 {
4459 arg5 = &temp5;
4460 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4461 }
4462 }
4463 if (obj5) {
4464 {
4465 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 }
4469 if (obj6) {
4470 {
4471 arg7 = wxString_in_helper(obj6);
4472 if (arg7 == NULL) SWIG_fail;
4473 temp7 = True;
4474 }
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4484 {
4485 if (temp3)
4486 delete arg3;
4487 }
4488 {
4489 if (temp7)
4490 delete arg7;
4491 }
4492 return resultobj;
4493 fail:
4494 {
4495 if (temp3)
4496 delete arg3;
4497 }
4498 {
4499 if (temp7)
4500 delete arg7;
4501 }
4502 return NULL;
4503 }
4504
4505
4506 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxStaticText *result;
4509 char *kwnames[] = {
4510 NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (wxStaticText *)new wxStaticText();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxStaticText *arg1 = (wxStaticText *) 0 ;
4531 wxWindow *arg2 = (wxWindow *) 0 ;
4532 int arg3 ;
4533 wxString *arg4 = 0 ;
4534 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4535 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4536 wxSize const &arg6_defvalue = wxDefaultSize ;
4537 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4538 long arg7 = (long) 0 ;
4539 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4540 wxString *arg8 = (wxString *) &arg8_defvalue ;
4541 bool result;
4542 bool temp4 = False ;
4543 wxPoint temp5 ;
4544 wxSize temp6 ;
4545 bool temp8 = False ;
4546 PyObject * obj0 = 0 ;
4547 PyObject * obj1 = 0 ;
4548 PyObject * obj2 = 0 ;
4549 PyObject * obj3 = 0 ;
4550 PyObject * obj4 = 0 ;
4551 PyObject * obj5 = 0 ;
4552 PyObject * obj6 = 0 ;
4553 PyObject * obj7 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4561 {
4562 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 {
4566 arg4 = wxString_in_helper(obj3);
4567 if (arg4 == NULL) SWIG_fail;
4568 temp4 = True;
4569 }
4570 if (obj4) {
4571 {
4572 arg5 = &temp5;
4573 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4574 }
4575 }
4576 if (obj5) {
4577 {
4578 arg6 = &temp6;
4579 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4580 }
4581 }
4582 if (obj6) {
4583 {
4584 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 }
4588 if (obj7) {
4589 {
4590 arg8 = wxString_in_helper(obj7);
4591 if (arg8 == NULL) SWIG_fail;
4592 temp8 = True;
4593 }
4594 }
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4603 {
4604 if (temp4)
4605 delete arg4;
4606 }
4607 {
4608 if (temp8)
4609 delete arg8;
4610 }
4611 return resultobj;
4612 fail:
4613 {
4614 if (temp4)
4615 delete arg4;
4616 }
4617 {
4618 if (temp8)
4619 delete arg8;
4620 }
4621 return NULL;
4622 }
4623
4624
4625 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4626 PyObject *obj;
4627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4628 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4629 Py_INCREF(obj);
4630 return Py_BuildValue((char *)"");
4631 }
4632 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxWindow *arg1 = (wxWindow *) 0 ;
4635 int arg2 ;
4636 wxBitmap *arg3 = 0 ;
4637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4639 wxSize const &arg5_defvalue = wxDefaultSize ;
4640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4641 long arg6 = (long) 0 ;
4642 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4643 wxString *arg7 = (wxString *) &arg7_defvalue ;
4644 wxStaticBitmap *result;
4645 wxPoint temp4 ;
4646 wxSize temp5 ;
4647 bool temp7 = False ;
4648 PyObject * obj0 = 0 ;
4649 PyObject * obj1 = 0 ;
4650 PyObject * obj2 = 0 ;
4651 PyObject * obj3 = 0 ;
4652 PyObject * obj4 = 0 ;
4653 PyObject * obj5 = 0 ;
4654 PyObject * obj6 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4661 {
4662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4666 if (arg3 == NULL) {
4667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4668 }
4669 if (obj3) {
4670 {
4671 arg4 = &temp4;
4672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4673 }
4674 }
4675 if (obj4) {
4676 {
4677 arg5 = &temp5;
4678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4679 }
4680 }
4681 if (obj5) {
4682 {
4683 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 }
4687 if (obj6) {
4688 {
4689 arg7 = wxString_in_helper(obj6);
4690 if (arg7 == NULL) SWIG_fail;
4691 temp7 = True;
4692 }
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4702 {
4703 if (temp7)
4704 delete arg7;
4705 }
4706 return resultobj;
4707 fail:
4708 {
4709 if (temp7)
4710 delete arg7;
4711 }
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxStaticBitmap *result;
4719 char *kwnames[] = {
4720 NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 result = (wxStaticBitmap *)new wxStaticBitmap();
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4741 wxWindow *arg2 = (wxWindow *) 0 ;
4742 int arg3 ;
4743 wxBitmap *arg4 = 0 ;
4744 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4745 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4746 wxSize const &arg6_defvalue = wxDefaultSize ;
4747 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4748 long arg7 = (long) 0 ;
4749 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4750 wxString *arg8 = (wxString *) &arg8_defvalue ;
4751 bool result;
4752 wxPoint temp5 ;
4753 wxSize temp6 ;
4754 bool temp8 = False ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 PyObject * obj2 = 0 ;
4758 PyObject * obj3 = 0 ;
4759 PyObject * obj4 = 0 ;
4760 PyObject * obj5 = 0 ;
4761 PyObject * obj6 = 0 ;
4762 PyObject * obj7 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4770 {
4771 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4775 if (arg4 == NULL) {
4776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4777 }
4778 if (obj4) {
4779 {
4780 arg5 = &temp5;
4781 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4782 }
4783 }
4784 if (obj5) {
4785 {
4786 arg6 = &temp6;
4787 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4788 }
4789 }
4790 if (obj6) {
4791 {
4792 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 }
4796 if (obj7) {
4797 {
4798 arg8 = wxString_in_helper(obj7);
4799 if (arg8 == NULL) SWIG_fail;
4800 temp8 = True;
4801 }
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4811 {
4812 if (temp8)
4813 delete arg8;
4814 }
4815 return resultobj;
4816 fail:
4817 {
4818 if (temp8)
4819 delete arg8;
4820 }
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4828 wxBitmap result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (arg1)->GetBitmap();
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 {
4844 wxBitmap * resultptr;
4845 resultptr = new wxBitmap((wxBitmap &) result);
4846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4847 }
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4857 wxBitmap *arg2 = 0 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "bitmap", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 if (arg2 == NULL) {
4868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4869 }
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 Py_INCREF(Py_None); resultobj = Py_None;
4878 return resultobj;
4879 fail:
4880 return NULL;
4881 }
4882
4883
4884 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4887 wxIcon *arg2 = 0 ;
4888 PyObject * obj0 = 0 ;
4889 PyObject * obj1 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self",(char *) "icon", NULL
4892 };
4893
4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 if (arg2 == NULL) {
4898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 (arg1)->SetIcon((wxIcon const &)*arg2);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 Py_INCREF(Py_None); resultobj = Py_None;
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4915 PyObject *obj;
4916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4917 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4918 Py_INCREF(obj);
4919 return Py_BuildValue((char *)"");
4920 }
4921 static int _wrap_ListBoxNameStr_set(PyObject *) {
4922 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4923 return 1;
4924 }
4925
4926
4927 static PyObject *_wrap_ListBoxNameStr_get() {
4928 PyObject *pyobj;
4929
4930 {
4931 #if wxUSE_UNICODE
4932 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4933 #else
4934 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4935 #endif
4936 }
4937 return pyobj;
4938 }
4939
4940
4941 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxWindow *arg1 = (wxWindow *) 0 ;
4944 int arg2 ;
4945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4947 wxSize const &arg4_defvalue = wxDefaultSize ;
4948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4949 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4950 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4951 long arg6 = (long) 0 ;
4952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4954 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
4955 wxString *arg8 = (wxString *) &arg8_defvalue ;
4956 wxListBox *result;
4957 wxPoint temp3 ;
4958 wxSize temp4 ;
4959 bool temp5 = False ;
4960 bool temp8 = False ;
4961 PyObject * obj0 = 0 ;
4962 PyObject * obj1 = 0 ;
4963 PyObject * obj2 = 0 ;
4964 PyObject * obj3 = 0 ;
4965 PyObject * obj4 = 0 ;
4966 PyObject * obj5 = 0 ;
4967 PyObject * obj6 = 0 ;
4968 PyObject * obj7 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4975 {
4976 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 if (obj2) {
4980 {
4981 arg3 = &temp3;
4982 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4983 }
4984 }
4985 if (obj3) {
4986 {
4987 arg4 = &temp4;
4988 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4989 }
4990 }
4991 if (obj4) {
4992 {
4993 if (! PySequence_Check(obj4)) {
4994 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4995 SWIG_fail;
4996 }
4997 arg5 = new wxArrayString;
4998 temp5 = True;
4999 int i, len=PySequence_Length(obj4);
5000 for (i=0; i<len; i++) {
5001 PyObject* item = PySequence_GetItem(obj4, i);
5002 #if wxUSE_UNICODE
5003 PyObject* str = PyObject_Unicode(item);
5004 #else
5005 PyObject* str = PyObject_Str(item);
5006 #endif
5007 arg5->Add(Py2wxString(str));
5008 Py_DECREF(item);
5009 Py_DECREF(str);
5010 }
5011 }
5012 }
5013 if (obj5) {
5014 {
5015 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 }
5019 if (obj6) {
5020 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if (arg7 == NULL) {
5022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5023 }
5024 }
5025 if (obj7) {
5026 {
5027 arg8 = wxString_in_helper(obj7);
5028 if (arg8 == NULL) SWIG_fail;
5029 temp8 = True;
5030 }
5031 }
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5040 {
5041 if (temp5) delete arg5;
5042 }
5043 {
5044 if (temp8)
5045 delete arg8;
5046 }
5047 return resultobj;
5048 fail:
5049 {
5050 if (temp5) delete arg5;
5051 }
5052 {
5053 if (temp8)
5054 delete arg8;
5055 }
5056 return NULL;
5057 }
5058
5059
5060 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxListBox *result;
5063 char *kwnames[] = {
5064 NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 result = (wxListBox *)new wxListBox();
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxListBox *arg1 = (wxListBox *) 0 ;
5085 wxWindow *arg2 = (wxWindow *) 0 ;
5086 int arg3 ;
5087 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5088 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5089 wxSize const &arg5_defvalue = wxDefaultSize ;
5090 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5091 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5092 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5093 long arg7 = (long) 0 ;
5094 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5095 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5096 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5097 wxString *arg9 = (wxString *) &arg9_defvalue ;
5098 bool result;
5099 wxPoint temp4 ;
5100 wxSize temp5 ;
5101 bool temp6 = False ;
5102 bool temp9 = False ;
5103 PyObject * obj0 = 0 ;
5104 PyObject * obj1 = 0 ;
5105 PyObject * obj2 = 0 ;
5106 PyObject * obj3 = 0 ;
5107 PyObject * obj4 = 0 ;
5108 PyObject * obj5 = 0 ;
5109 PyObject * obj6 = 0 ;
5110 PyObject * obj7 = 0 ;
5111 PyObject * obj8 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5119 {
5120 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 if (obj3) {
5124 {
5125 arg4 = &temp4;
5126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5127 }
5128 }
5129 if (obj4) {
5130 {
5131 arg5 = &temp5;
5132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5133 }
5134 }
5135 if (obj5) {
5136 {
5137 if (! PySequence_Check(obj5)) {
5138 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5139 SWIG_fail;
5140 }
5141 arg6 = new wxArrayString;
5142 temp6 = True;
5143 int i, len=PySequence_Length(obj5);
5144 for (i=0; i<len; i++) {
5145 PyObject* item = PySequence_GetItem(obj5, i);
5146 #if wxUSE_UNICODE
5147 PyObject* str = PyObject_Unicode(item);
5148 #else
5149 PyObject* str = PyObject_Str(item);
5150 #endif
5151 arg6->Add(Py2wxString(str));
5152 Py_DECREF(item);
5153 Py_DECREF(str);
5154 }
5155 }
5156 }
5157 if (obj6) {
5158 {
5159 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 }
5163 if (obj7) {
5164 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5165 if (arg8 == NULL) {
5166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5167 }
5168 }
5169 if (obj8) {
5170 {
5171 arg9 = wxString_in_helper(obj8);
5172 if (arg9 == NULL) SWIG_fail;
5173 temp9 = True;
5174 }
5175 }
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5184 {
5185 if (temp6) delete arg6;
5186 }
5187 {
5188 if (temp9)
5189 delete arg9;
5190 }
5191 return resultobj;
5192 fail:
5193 {
5194 if (temp6) delete arg6;
5195 }
5196 {
5197 if (temp9)
5198 delete arg9;
5199 }
5200 return NULL;
5201 }
5202
5203
5204 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5205 PyObject *resultobj;
5206 wxListBox *arg1 = (wxListBox *) 0 ;
5207 wxString *arg2 = 0 ;
5208 int arg3 ;
5209 PyObject *arg4 = (PyObject *) NULL ;
5210 bool temp2 = False ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 PyObject * obj2 = 0 ;
5214 PyObject * obj3 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5221 {
5222 arg2 = wxString_in_helper(obj1);
5223 if (arg2 == NULL) SWIG_fail;
5224 temp2 = True;
5225 }
5226 {
5227 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 if (obj3) {
5231 arg4 = obj3;
5232 }
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 Py_INCREF(Py_None); resultobj = Py_None;
5241 {
5242 if (temp2)
5243 delete arg2;
5244 }
5245 return resultobj;
5246 fail:
5247 {
5248 if (temp2)
5249 delete arg2;
5250 }
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxListBox *arg1 = (wxListBox *) 0 ;
5258 wxArrayString *arg2 = 0 ;
5259 int arg3 ;
5260 bool temp2 = False ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 PyObject * obj2 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "items",(char *) "pos", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5270 {
5271 if (! PySequence_Check(obj1)) {
5272 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5273 SWIG_fail;
5274 }
5275 arg2 = new wxArrayString;
5276 temp2 = True;
5277 int i, len=PySequence_Length(obj1);
5278 for (i=0; i<len; i++) {
5279 PyObject* item = PySequence_GetItem(obj1, i);
5280 #if wxUSE_UNICODE
5281 PyObject* str = PyObject_Unicode(item);
5282 #else
5283 PyObject* str = PyObject_Str(item);
5284 #endif
5285 arg2->Add(Py2wxString(str));
5286 Py_DECREF(item);
5287 Py_DECREF(str);
5288 }
5289 }
5290 {
5291 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 Py_INCREF(Py_None); resultobj = Py_None;
5302 {
5303 if (temp2) delete arg2;
5304 }
5305 return resultobj;
5306 fail:
5307 {
5308 if (temp2) delete arg2;
5309 }
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxListBox *arg1 = (wxListBox *) 0 ;
5317 wxArrayString *arg2 = 0 ;
5318 bool temp2 = False ;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self",(char *) "items", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 {
5328 if (! PySequence_Check(obj1)) {
5329 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5330 SWIG_fail;
5331 }
5332 arg2 = new wxArrayString;
5333 temp2 = True;
5334 int i, len=PySequence_Length(obj1);
5335 for (i=0; i<len; i++) {
5336 PyObject* item = PySequence_GetItem(obj1, i);
5337 #if wxUSE_UNICODE
5338 PyObject* str = PyObject_Unicode(item);
5339 #else
5340 PyObject* str = PyObject_Str(item);
5341 #endif
5342 arg2->Add(Py2wxString(str));
5343 Py_DECREF(item);
5344 Py_DECREF(str);
5345 }
5346 }
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 (arg1)->Set((wxArrayString const &)*arg2);
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 Py_INCREF(Py_None); resultobj = Py_None;
5355 {
5356 if (temp2) delete arg2;
5357 }
5358 return resultobj;
5359 fail:
5360 {
5361 if (temp2) delete arg2;
5362 }
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxListBox *arg1 = (wxListBox *) 0 ;
5370 int arg2 ;
5371 bool result;
5372 PyObject * obj0 = 0 ;
5373 PyObject * obj1 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self",(char *) "n", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5380 {
5381 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj;
5400 wxListBox *arg1 = (wxListBox *) 0 ;
5401 int arg2 ;
5402 bool arg3 = (bool) True ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 PyObject * obj2 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "n",(char *) "select", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 {
5413 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 if (obj2) {
5417 {
5418 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 }
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->SetSelection(arg2,arg3);
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 Py_INCREF(Py_None); resultobj = Py_None;
5430 return resultobj;
5431 fail:
5432 return NULL;
5433 }
5434
5435
5436 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxListBox *arg1 = (wxListBox *) 0 ;
5439 int arg2 ;
5440 PyObject * obj0 = 0 ;
5441 PyObject * obj1 = 0 ;
5442 char *kwnames[] = {
5443 (char *) "self",(char *) "n", NULL
5444 };
5445
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5448 {
5449 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->Select(arg2);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 Py_INCREF(Py_None); resultobj = Py_None;
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 wxListBox *arg1 = (wxListBox *) 0 ;
5469 int arg2 ;
5470 PyObject * obj0 = 0 ;
5471 PyObject * obj1 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self",(char *) "n", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5478 {
5479 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 (arg1)->Deselect(arg2);
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 Py_INCREF(Py_None); resultobj = Py_None;
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxListBox *arg1 = (wxListBox *) 0 ;
5499 int arg2 = (int) -1 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "itemToLeaveSelected", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5508 if (obj1) {
5509 {
5510 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 }
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 (arg1)->DeselectAll(arg2);
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 Py_INCREF(Py_None); resultobj = Py_None;
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxListBox *arg1 = (wxListBox *) 0 ;
5531 wxString *arg2 = 0 ;
5532 bool arg3 = (bool) True ;
5533 bool result;
5534 bool temp2 = False ;
5535 PyObject * obj0 = 0 ;
5536 PyObject * obj1 = 0 ;
5537 PyObject * obj2 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self",(char *) "s",(char *) "select", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5544 {
5545 arg2 = wxString_in_helper(obj1);
5546 if (arg2 == NULL) SWIG_fail;
5547 temp2 = True;
5548 }
5549 if (obj2) {
5550 {
5551 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 }
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5563 {
5564 if (temp2)
5565 delete arg2;
5566 }
5567 return resultobj;
5568 fail:
5569 {
5570 if (temp2)
5571 delete arg2;
5572 }
5573 return NULL;
5574 }
5575
5576
5577 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxListBox *arg1 = (wxListBox *) 0 ;
5580 PyObject *result;
5581 PyObject * obj0 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = (PyObject *)wxListBox_GetSelections(arg1);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 resultobj = result;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxListBox *arg1 = (wxListBox *) 0 ;
5605 int arg2 ;
5606 PyObject * obj0 = 0 ;
5607 PyObject * obj1 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "n", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5614 {
5615 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 (arg1)->SetFirstItem(arg2);
5621
5622 wxPyEndAllowThreads(__tstate);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 Py_INCREF(Py_None); resultobj = Py_None;
5626 return resultobj;
5627 fail:
5628 return NULL;
5629 }
5630
5631
5632 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5633 PyObject *resultobj;
5634 wxListBox *arg1 = (wxListBox *) 0 ;
5635 wxString *arg2 = 0 ;
5636 bool temp2 = False ;
5637 PyObject * obj0 = 0 ;
5638 PyObject * obj1 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self",(char *) "s", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5645 {
5646 arg2 = wxString_in_helper(obj1);
5647 if (arg2 == NULL) SWIG_fail;
5648 temp2 = True;
5649 }
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetFirstItem((wxString const &)*arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 {
5659 if (temp2)
5660 delete arg2;
5661 }
5662 return resultobj;
5663 fail:
5664 {
5665 if (temp2)
5666 delete arg2;
5667 }
5668 return NULL;
5669 }
5670
5671
5672 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxListBox *arg1 = (wxListBox *) 0 ;
5675 int arg2 ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 char *kwnames[] = {
5679 (char *) "self",(char *) "n", NULL
5680 };
5681
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5684 {
5685 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 (arg1)->EnsureVisible(arg2);
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 Py_INCREF(Py_None); resultobj = Py_None;
5696 return resultobj;
5697 fail:
5698 return NULL;
5699 }
5700
5701
5702 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxListBox *arg1 = (wxListBox *) 0 ;
5705 wxString *arg2 = 0 ;
5706 bool temp2 = False ;
5707 PyObject * obj0 = 0 ;
5708 PyObject * obj1 = 0 ;
5709 char *kwnames[] = {
5710 (char *) "self",(char *) "s", NULL
5711 };
5712
5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5715 {
5716 arg2 = wxString_in_helper(obj1);
5717 if (arg2 == NULL) SWIG_fail;
5718 temp2 = True;
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 Py_INCREF(Py_None); resultobj = Py_None;
5728 {
5729 if (temp2)
5730 delete arg2;
5731 }
5732 return resultobj;
5733 fail:
5734 {
5735 if (temp2)
5736 delete arg2;
5737 }
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxListBox *arg1 = (wxListBox *) 0 ;
5745 bool result;
5746 PyObject * obj0 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (bool)((wxListBox const *)arg1)->IsSorted();
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5761 return resultobj;
5762 fail:
5763 return NULL;
5764 }
5765
5766
5767 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject *resultobj;
5769 wxListBox *arg1 = (wxListBox *) 0 ;
5770 int arg2 ;
5771 wxColour *arg3 = 0 ;
5772 wxColour temp3 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 PyObject * obj2 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "item",(char *) "c", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 {
5787 arg3 = &temp3;
5788 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxListBox *arg1 = (wxListBox *) 0 ;
5807 int arg2 ;
5808 wxColour *arg3 = 0 ;
5809 wxColour temp3 ;
5810 PyObject * obj0 = 0 ;
5811 PyObject * obj1 = 0 ;
5812 PyObject * obj2 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self",(char *) "item",(char *) "c", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5819 {
5820 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 {
5824 arg3 = &temp3;
5825 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5826 }
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 Py_INCREF(Py_None); resultobj = Py_None;
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxListBox *arg1 = (wxListBox *) 0 ;
5844 int arg2 ;
5845 wxFont *arg3 = 0 ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 PyObject * obj2 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "item",(char *) "f", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5855 {
5856 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 if (arg3 == NULL) {
5861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5862 }
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 Py_INCREF(Py_None); resultobj = Py_None;
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5878 PyObject *obj;
5879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5880 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5881 Py_INCREF(obj);
5882 return Py_BuildValue((char *)"");
5883 }
5884 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxWindow *arg1 = (wxWindow *) 0 ;
5887 int arg2 ;
5888 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5889 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5890 wxSize const &arg4_defvalue = wxDefaultSize ;
5891 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5892 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5893 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5894 long arg6 = (long) 0 ;
5895 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5896 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5897 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5898 wxString *arg8 = (wxString *) &arg8_defvalue ;
5899 wxCheckListBox *result;
5900 wxPoint temp3 ;
5901 wxSize temp4 ;
5902 bool temp5 = False ;
5903 bool temp8 = False ;
5904 PyObject * obj0 = 0 ;
5905 PyObject * obj1 = 0 ;
5906 PyObject * obj2 = 0 ;
5907 PyObject * obj3 = 0 ;
5908 PyObject * obj4 = 0 ;
5909 PyObject * obj5 = 0 ;
5910 PyObject * obj6 = 0 ;
5911 PyObject * obj7 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5918 {
5919 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 if (obj2) {
5923 {
5924 arg3 = &temp3;
5925 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5926 }
5927 }
5928 if (obj3) {
5929 {
5930 arg4 = &temp4;
5931 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5932 }
5933 }
5934 if (obj4) {
5935 {
5936 if (! PySequence_Check(obj4)) {
5937 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5938 SWIG_fail;
5939 }
5940 arg5 = new wxArrayString;
5941 temp5 = True;
5942 int i, len=PySequence_Length(obj4);
5943 for (i=0; i<len; i++) {
5944 PyObject* item = PySequence_GetItem(obj4, i);
5945 #if wxUSE_UNICODE
5946 PyObject* str = PyObject_Unicode(item);
5947 #else
5948 PyObject* str = PyObject_Str(item);
5949 #endif
5950 arg5->Add(Py2wxString(str));
5951 Py_DECREF(item);
5952 Py_DECREF(str);
5953 }
5954 }
5955 }
5956 if (obj5) {
5957 {
5958 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 }
5962 if (obj6) {
5963 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 if (arg7 == NULL) {
5965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5966 }
5967 }
5968 if (obj7) {
5969 {
5970 arg8 = wxString_in_helper(obj7);
5971 if (arg8 == NULL) SWIG_fail;
5972 temp8 = True;
5973 }
5974 }
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5978
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5983 {
5984 if (temp5) delete arg5;
5985 }
5986 {
5987 if (temp8)
5988 delete arg8;
5989 }
5990 return resultobj;
5991 fail:
5992 {
5993 if (temp5) delete arg5;
5994 }
5995 {
5996 if (temp8)
5997 delete arg8;
5998 }
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxCheckListBox *result;
6006 char *kwnames[] = {
6007 NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (wxCheckListBox *)new wxCheckListBox();
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
6019 return resultobj;
6020 fail:
6021 return NULL;
6022 }
6023
6024
6025 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6028 wxWindow *arg2 = (wxWindow *) 0 ;
6029 int arg3 ;
6030 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6031 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6032 wxSize const &arg5_defvalue = wxDefaultSize ;
6033 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6034 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6035 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6036 long arg7 = (long) 0 ;
6037 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6038 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6039 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6040 wxString *arg9 = (wxString *) &arg9_defvalue ;
6041 bool result;
6042 wxPoint temp4 ;
6043 wxSize temp5 ;
6044 bool temp6 = False ;
6045 bool temp9 = False ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 PyObject * obj2 = 0 ;
6049 PyObject * obj3 = 0 ;
6050 PyObject * obj4 = 0 ;
6051 PyObject * obj5 = 0 ;
6052 PyObject * obj6 = 0 ;
6053 PyObject * obj7 = 0 ;
6054 PyObject * obj8 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6062 {
6063 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 if (obj3) {
6067 {
6068 arg4 = &temp4;
6069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6070 }
6071 }
6072 if (obj4) {
6073 {
6074 arg5 = &temp5;
6075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6076 }
6077 }
6078 if (obj5) {
6079 {
6080 if (! PySequence_Check(obj5)) {
6081 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6082 SWIG_fail;
6083 }
6084 arg6 = new wxArrayString;
6085 temp6 = True;
6086 int i, len=PySequence_Length(obj5);
6087 for (i=0; i<len; i++) {
6088 PyObject* item = PySequence_GetItem(obj5, i);
6089 #if wxUSE_UNICODE
6090 PyObject* str = PyObject_Unicode(item);
6091 #else
6092 PyObject* str = PyObject_Str(item);
6093 #endif
6094 arg6->Add(Py2wxString(str));
6095 Py_DECREF(item);
6096 Py_DECREF(str);
6097 }
6098 }
6099 }
6100 if (obj6) {
6101 {
6102 arg7 = (long) SWIG_PyObj_AsLong(obj6);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 }
6106 if (obj7) {
6107 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6108 if (arg8 == NULL) {
6109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6110 }
6111 }
6112 if (obj8) {
6113 {
6114 arg9 = wxString_in_helper(obj8);
6115 if (arg9 == NULL) SWIG_fail;
6116 temp9 = True;
6117 }
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6127 {
6128 if (temp6) delete arg6;
6129 }
6130 {
6131 if (temp9)
6132 delete arg9;
6133 }
6134 return resultobj;
6135 fail:
6136 {
6137 if (temp6) delete arg6;
6138 }
6139 {
6140 if (temp9)
6141 delete arg9;
6142 }
6143 return NULL;
6144 }
6145
6146
6147 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6150 int arg2 ;
6151 bool result;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self",(char *) "index", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6160 {
6161 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (bool)(arg1)->IsChecked(arg2);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6181 int arg2 ;
6182 int arg3 = (int) True ;
6183 PyObject * obj0 = 0 ;
6184 PyObject * obj1 = 0 ;
6185 PyObject * obj2 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self",(char *) "index",(char *) "check", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 {
6193 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 if (obj2) {
6197 {
6198 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 (arg1)->Check(arg2,arg3);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 Py_INCREF(Py_None); resultobj = Py_None;
6210 return resultobj;
6211 fail:
6212 return NULL;
6213 }
6214
6215
6216 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6219 wxPoint *arg2 = 0 ;
6220 int result;
6221 wxPoint temp2 ;
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self",(char *) "pt", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 {
6231 arg2 = &temp2;
6232 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6233 }
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_PyObj_FromInt((int)result);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6251 int arg2 ;
6252 int arg3 ;
6253 int result;
6254 PyObject * obj0 = 0 ;
6255 PyObject * obj1 = 0 ;
6256 PyObject * obj2 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "x",(char *) "y", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6263 {
6264 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 {
6268 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 resultobj = SWIG_PyObj_FromInt((int)result);
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6286 PyObject *obj;
6287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6288 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6289 Py_INCREF(obj);
6290 return Py_BuildValue((char *)"");
6291 }
6292 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6293 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6294 return 1;
6295 }
6296
6297
6298 static PyObject *_wrap_TextCtrlNameStr_get() {
6299 PyObject *pyobj;
6300
6301 {
6302 #if wxUSE_UNICODE
6303 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6304 #else
6305 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6306 #endif
6307 }
6308 return pyobj;
6309 }
6310
6311
6312 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6313 PyObject *resultobj;
6314 wxTextAttr *result;
6315
6316 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (wxTextAttr *)new wxTextAttr();
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6325 return resultobj;
6326 fail:
6327 return NULL;
6328 }
6329
6330
6331 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6332 PyObject *resultobj;
6333 wxColour *arg1 = 0 ;
6334 wxColour const &arg2_defvalue = wxNullColour ;
6335 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6336 wxFont const &arg3_defvalue = wxNullFont ;
6337 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6338 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6339 wxTextAttr *result;
6340 wxColour temp1 ;
6341 wxColour temp2 ;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 PyObject * obj2 = 0 ;
6345 PyObject * obj3 = 0 ;
6346
6347 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6348 {
6349 arg1 = &temp1;
6350 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6351 }
6352 if (obj1) {
6353 {
6354 arg2 = &temp2;
6355 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6356 }
6357 }
6358 if (obj2) {
6359 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6360 if (arg3 == NULL) {
6361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6362 }
6363 }
6364 if (obj3) {
6365 {
6366 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 }
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6385 int argc;
6386 PyObject *argv[5];
6387 int ii;
6388
6389 argc = PyObject_Length(args);
6390 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6391 argv[ii] = PyTuple_GetItem(args,ii);
6392 }
6393 if (argc == 0) {
6394 return _wrap_new_TextAttr__SWIG_0(self,args);
6395 }
6396 if ((argc >= 1) && (argc <= 4)) {
6397 int _v;
6398 {
6399 _v = wxColour_typecheck(argv[0]);
6400 }
6401 if (_v) {
6402 if (argc <= 1) {
6403 return _wrap_new_TextAttr__SWIG_1(self,args);
6404 }
6405 {
6406 _v = wxColour_typecheck(argv[1]);
6407 }
6408 if (_v) {
6409 if (argc <= 2) {
6410 return _wrap_new_TextAttr__SWIG_1(self,args);
6411 }
6412 {
6413 void *ptr;
6414 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6415 _v = 0;
6416 PyErr_Clear();
6417 } else {
6418 _v = 1;
6419 }
6420 }
6421 if (_v) {
6422 if (argc <= 3) {
6423 return _wrap_new_TextAttr__SWIG_1(self,args);
6424 }
6425 {
6426 SWIG_PyObj_AsInt(argv[3]);
6427 if (PyErr_Occurred()) {
6428 _v = 0;
6429 PyErr_Clear();
6430 } else {
6431 _v = 1;
6432 }
6433 }
6434 if (_v) {
6435 return _wrap_new_TextAttr__SWIG_1(self,args);
6436 }
6437 }
6438 }
6439 }
6440 }
6441
6442 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6443 return NULL;
6444 }
6445
6446
6447 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6448 PyObject *resultobj;
6449 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6450 PyObject * obj0 = 0 ;
6451 char *kwnames[] = {
6452 (char *) "self", NULL
6453 };
6454
6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 delete arg1;
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 Py_INCREF(Py_None); resultobj = Py_None;
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 (arg1)->Init();
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_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6498 wxColour *arg2 = 0 ;
6499 wxColour temp2 ;
6500 PyObject * obj0 = 0 ;
6501 PyObject * obj1 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "self",(char *) "colText", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6508 {
6509 arg2 = &temp2;
6510 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6511 }
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->SetTextColour((wxColour const &)*arg2);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6529 wxColour *arg2 = 0 ;
6530 wxColour temp2 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "colBack", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 {
6540 arg2 = &temp2;
6541 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 Py_INCREF(Py_None); resultobj = Py_None;
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6560 wxFont *arg2 = 0 ;
6561 long arg3 = (long) wxTEXT_ATTR_FONT ;
6562 PyObject * obj0 = 0 ;
6563 PyObject * obj1 = 0 ;
6564 PyObject * obj2 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "self",(char *) "font",(char *) "flags", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6572 if (arg2 == NULL) {
6573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6574 }
6575 if (obj2) {
6576 {
6577 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 }
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 Py_INCREF(Py_None); resultobj = Py_None;
6589 return resultobj;
6590 fail:
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj;
6597 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6598 int arg2 ;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self",(char *) "alignment", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6607 {
6608 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 Py_INCREF(Py_None); resultobj = Py_None;
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6628 wxArrayInt *arg2 = 0 ;
6629 bool temp2 = False ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 char *kwnames[] = {
6633 (char *) "self",(char *) "tabs", NULL
6634 };
6635
6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6638 {
6639 if (! PySequence_Check(obj1)) {
6640 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6641 SWIG_fail;
6642 }
6643 arg2 = new wxArrayInt;
6644 temp2 = True;
6645 int i, len=PySequence_Length(obj1);
6646 for (i=0; i<len; i++) {
6647 PyObject* item = PySequence_GetItem(obj1, i);
6648 PyObject* number = PyNumber_Int(item);
6649 arg2->Add(PyInt_AS_LONG(number));
6650 Py_DECREF(item);
6651 Py_DECREF(number);
6652 }
6653 }
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 Py_INCREF(Py_None); resultobj = Py_None;
6662 {
6663 if (temp2) delete arg2;
6664 }
6665 return resultobj;
6666 fail:
6667 {
6668 if (temp2) delete arg2;
6669 }
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6677 int arg2 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self",(char *) "indent", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 {
6687 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 (arg1)->SetLeftIndent(arg2);
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 Py_INCREF(Py_None); resultobj = Py_None;
6698 return resultobj;
6699 fail:
6700 return NULL;
6701 }
6702
6703
6704 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6705 PyObject *resultobj;
6706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6707 int arg2 ;
6708 PyObject * obj0 = 0 ;
6709 PyObject * obj1 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self",(char *) "indent", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716 {
6717 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 (arg1)->SetRightIndent(arg2);
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 Py_INCREF(Py_None); resultobj = Py_None;
6728 return resultobj;
6729 fail:
6730 return NULL;
6731 }
6732
6733
6734 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj;
6736 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6737 long arg2 ;
6738 PyObject * obj0 = 0 ;
6739 PyObject * obj1 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "flags", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6746 {
6747 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 (arg1)->SetFlags(arg2);
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 Py_INCREF(Py_None); resultobj = Py_None;
6758 return resultobj;
6759 fail:
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_TextAttr_HasTextColour(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_HasTextColour",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)->HasTextColour();
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_HasBackgroundColour(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_HasBackgroundColour",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)->HasBackgroundColour();
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_HasFont(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_HasFont",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)->HasFont();
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_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6842 bool result;
6843 PyObject * obj0 = 0 ;
6844 char *kwnames[] = {
6845 (char *) "self", NULL
6846 };
6847
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj;
6866 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6867 bool result;
6868 PyObject * obj0 = 0 ;
6869 char *kwnames[] = {
6870 (char *) "self", NULL
6871 };
6872
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6892 bool result;
6893 PyObject * obj0 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6917 bool result;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6942 long arg2 ;
6943 bool result;
6944 PyObject * obj0 = 0 ;
6945 PyObject * obj1 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "self",(char *) "flag", NULL
6948 };
6949
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6952 {
6953 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6973 wxColour *result;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 {
6984 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6985 result = (wxColour *) &_result_ref;
6986 }
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7001 wxColour *result;
7002 PyObject * obj0 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 {
7012 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7013 result = (wxColour *) &_result_ref;
7014 }
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
7020 return resultobj;
7021 fail:
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7029 wxFont *result;
7030 PyObject * obj0 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 {
7040 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7041 result = (wxFont *) &_result_ref;
7042 }
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7057 int result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = SWIG_PyObj_FromInt((int)result);
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7082 wxArrayInt *result;
7083 PyObject * obj0 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 {
7093 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7094 result = (wxArrayInt *) &_result_ref;
7095 }
7096
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 {
7101 resultobj = PyList_New(0);
7102 size_t idx;
7103 for (idx = 0; idx < result->GetCount(); idx += 1) {
7104 PyObject* val = PyInt_FromLong( result->Item(idx) );
7105 PyList_Append(resultobj, val);
7106 Py_DECREF(val);
7107 }
7108 }
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7118 long result;
7119 PyObject * obj0 = 0 ;
7120 char *kwnames[] = {
7121 (char *) "self", NULL
7122 };
7123
7124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 resultobj = SWIG_PyObj_FromLong((long)result);
7134 return resultobj;
7135 fail:
7136 return NULL;
7137 }
7138
7139
7140 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7143 long result;
7144 PyObject * obj0 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "self", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 resultobj = SWIG_PyObj_FromLong((long)result);
7159 return resultobj;
7160 fail:
7161 return NULL;
7162 }
7163
7164
7165 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7168 long result;
7169 PyObject * obj0 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = SWIG_PyObj_FromLong((long)result);
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7193 bool result;
7194 PyObject * obj0 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxTextAttr *arg1 = 0 ;
7218 wxTextAttr *arg2 = 0 ;
7219 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7220 wxTextAttr result;
7221 PyObject * obj0 = 0 ;
7222 PyObject * obj1 = 0 ;
7223 PyObject * obj2 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 if (arg1 == NULL) {
7231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7232 }
7233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 if (arg2 == NULL) {
7235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7236 }
7237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 {
7246 wxTextAttr * resultptr;
7247 resultptr = new wxTextAttr((wxTextAttr &) result);
7248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7249 }
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7257 PyObject *obj;
7258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7259 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7260 Py_INCREF(obj);
7261 return Py_BuildValue((char *)"");
7262 }
7263 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj;
7265 wxWindow *arg1 = (wxWindow *) 0 ;
7266 int arg2 ;
7267 wxString const &arg3_defvalue = wxPyEmptyString ;
7268 wxString *arg3 = (wxString *) &arg3_defvalue ;
7269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7271 wxSize const &arg5_defvalue = wxDefaultSize ;
7272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7273 long arg6 = (long) 0 ;
7274 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7275 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7276 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7277 wxString *arg8 = (wxString *) &arg8_defvalue ;
7278 wxTextCtrl *result;
7279 bool temp3 = False ;
7280 wxPoint temp4 ;
7281 wxSize temp5 ;
7282 bool temp8 = False ;
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 PyObject * obj2 = 0 ;
7286 PyObject * obj3 = 0 ;
7287 PyObject * obj4 = 0 ;
7288 PyObject * obj5 = 0 ;
7289 PyObject * obj6 = 0 ;
7290 PyObject * obj7 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7297 {
7298 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 if (obj2) {
7302 {
7303 arg3 = wxString_in_helper(obj2);
7304 if (arg3 == NULL) SWIG_fail;
7305 temp3 = True;
7306 }
7307 }
7308 if (obj3) {
7309 {
7310 arg4 = &temp4;
7311 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7312 }
7313 }
7314 if (obj4) {
7315 {
7316 arg5 = &temp5;
7317 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7318 }
7319 }
7320 if (obj5) {
7321 {
7322 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 }
7326 if (obj6) {
7327 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7328 if (arg7 == NULL) {
7329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7330 }
7331 }
7332 if (obj7) {
7333 {
7334 arg8 = wxString_in_helper(obj7);
7335 if (arg8 == NULL) SWIG_fail;
7336 temp8 = True;
7337 }
7338 }
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 {
7347 resultobj = wxPyMake_wxObject(result);
7348 }
7349 {
7350 if (temp3)
7351 delete arg3;
7352 }
7353 {
7354 if (temp8)
7355 delete arg8;
7356 }
7357 return resultobj;
7358 fail:
7359 {
7360 if (temp3)
7361 delete arg3;
7362 }
7363 {
7364 if (temp8)
7365 delete arg8;
7366 }
7367 return NULL;
7368 }
7369
7370
7371 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj;
7373 wxTextCtrl *result;
7374 char *kwnames[] = {
7375 NULL
7376 };
7377
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7379 {
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 result = (wxTextCtrl *)new wxTextCtrl();
7382
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 {
7387 resultobj = wxPyMake_wxObject(result);
7388 }
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7398 wxWindow *arg2 = (wxWindow *) 0 ;
7399 int arg3 ;
7400 wxString const &arg4_defvalue = wxPyEmptyString ;
7401 wxString *arg4 = (wxString *) &arg4_defvalue ;
7402 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7403 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7404 wxSize const &arg6_defvalue = wxDefaultSize ;
7405 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7406 long arg7 = (long) 0 ;
7407 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7408 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7409 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7410 wxString *arg9 = (wxString *) &arg9_defvalue ;
7411 bool result;
7412 bool temp4 = False ;
7413 wxPoint temp5 ;
7414 wxSize temp6 ;
7415 bool temp9 = False ;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 PyObject * obj2 = 0 ;
7419 PyObject * obj3 = 0 ;
7420 PyObject * obj4 = 0 ;
7421 PyObject * obj5 = 0 ;
7422 PyObject * obj6 = 0 ;
7423 PyObject * obj7 = 0 ;
7424 PyObject * obj8 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432 {
7433 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 if (obj3) {
7437 {
7438 arg4 = wxString_in_helper(obj3);
7439 if (arg4 == NULL) SWIG_fail;
7440 temp4 = True;
7441 }
7442 }
7443 if (obj4) {
7444 {
7445 arg5 = &temp5;
7446 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7447 }
7448 }
7449 if (obj5) {
7450 {
7451 arg6 = &temp6;
7452 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7453 }
7454 }
7455 if (obj6) {
7456 {
7457 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 }
7461 if (obj7) {
7462 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7463 if (arg8 == NULL) {
7464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7465 }
7466 }
7467 if (obj8) {
7468 {
7469 arg9 = wxString_in_helper(obj8);
7470 if (arg9 == NULL) SWIG_fail;
7471 temp9 = True;
7472 }
7473 }
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7482 {
7483 if (temp4)
7484 delete arg4;
7485 }
7486 {
7487 if (temp9)
7488 delete arg9;
7489 }
7490 return resultobj;
7491 fail:
7492 {
7493 if (temp4)
7494 delete arg4;
7495 }
7496 {
7497 if (temp9)
7498 delete arg9;
7499 }
7500 return NULL;
7501 }
7502
7503
7504 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7507 wxString result;
7508 PyObject * obj0 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "self", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = ((wxTextCtrl const *)arg1)->GetValue();
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 {
7523 #if wxUSE_UNICODE
7524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7525 #else
7526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7527 #endif
7528 }
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7538 wxString *arg2 = 0 ;
7539 bool temp2 = False ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self",(char *) "value", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7548 {
7549 arg2 = wxString_in_helper(obj1);
7550 if (arg2 == NULL) SWIG_fail;
7551 temp2 = True;
7552 }
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 (arg1)->SetValue((wxString const &)*arg2);
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 Py_INCREF(Py_None); resultobj = Py_None;
7561 {
7562 if (temp2)
7563 delete arg2;
7564 }
7565 return resultobj;
7566 fail:
7567 {
7568 if (temp2)
7569 delete arg2;
7570 }
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7578 long arg2 ;
7579 long arg3 ;
7580 wxString result;
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj1 = 0 ;
7583 PyObject * obj2 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self",(char *) "from",(char *) "to", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7590 {
7591 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 {
7595 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 #if wxUSE_UNICODE
7607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7608 #else
7609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7610 #endif
7611 }
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7621 long arg2 ;
7622 int result;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "lineNo", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 {
7632 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = SWIG_PyObj_FromInt((int)result);
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7652 long arg2 ;
7653 wxString result;
7654 PyObject * obj0 = 0 ;
7655 PyObject * obj1 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self",(char *) "lineNo", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 {
7663 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 {
7674 #if wxUSE_UNICODE
7675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7676 #else
7677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7678 #endif
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7689 int result;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",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 = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 resultobj = SWIG_PyObj_FromInt((int)result);
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7714 bool result;
7715 PyObject * obj0 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7739 bool result;
7740 PyObject * obj0 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7764 bool result;
7765 PyObject * obj0 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7775
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7780 return resultobj;
7781 fail:
7782 return NULL;
7783 }
7784
7785
7786 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj;
7788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7789 bool result;
7790 PyObject * obj0 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "self", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7805 return resultobj;
7806 fail:
7807 return NULL;
7808 }
7809
7810
7811 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7814 long *arg2 = (long *) 0 ;
7815 long *arg3 = (long *) 0 ;
7816 long temp2 ;
7817 long temp3 ;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "self", NULL
7821 };
7822
7823 arg2 = &temp2;
7824 arg3 = &temp3;
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 Py_INCREF(Py_None); resultobj = Py_None;
7835 {
7836 PyObject *o = PyInt_FromLong((long) (*arg2));
7837 resultobj = t_output_helper(resultobj,o);
7838 }
7839 {
7840 PyObject *o = PyInt_FromLong((long) (*arg3));
7841 resultobj = t_output_helper(resultobj,o);
7842 }
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7852 wxString result;
7853 PyObject * obj0 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 {
7868 #if wxUSE_UNICODE
7869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7870 #else
7871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7872 #endif
7873 }
7874 return resultobj;
7875 fail:
7876 return NULL;
7877 }
7878
7879
7880 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7883 PyObject * obj0 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "self", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 (arg1)->Clear();
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 Py_INCREF(Py_None); resultobj = Py_None;
7898 return resultobj;
7899 fail:
7900 return NULL;
7901 }
7902
7903
7904 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7907 long arg2 ;
7908 long arg3 ;
7909 wxString *arg4 = 0 ;
7910 bool temp4 = False ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 PyObject * obj2 = 0 ;
7914 PyObject * obj3 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 {
7922 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 {
7926 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 {
7930 arg4 = wxString_in_helper(obj3);
7931 if (arg4 == NULL) SWIG_fail;
7932 temp4 = True;
7933 }
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 Py_INCREF(Py_None); resultobj = Py_None;
7942 {
7943 if (temp4)
7944 delete arg4;
7945 }
7946 return resultobj;
7947 fail:
7948 {
7949 if (temp4)
7950 delete arg4;
7951 }
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7959 long arg2 ;
7960 long arg3 ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 PyObject * obj2 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "from",(char *) "to", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 {
7971 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 {
7975 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 (arg1)->Remove(arg2,arg3);
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 Py_INCREF(Py_None); resultobj = Py_None;
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj;
7994 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7995 wxString *arg2 = 0 ;
7996 bool result;
7997 bool temp2 = False ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "self",(char *) "file", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8006 {
8007 arg2 = wxString_in_helper(obj1);
8008 if (arg2 == NULL) SWIG_fail;
8009 temp2 = True;
8010 }
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8019 {
8020 if (temp2)
8021 delete arg2;
8022 }
8023 return resultobj;
8024 fail:
8025 {
8026 if (temp2)
8027 delete arg2;
8028 }
8029 return NULL;
8030 }
8031
8032
8033 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8036 wxString const &arg2_defvalue = wxPyEmptyString ;
8037 wxString *arg2 = (wxString *) &arg2_defvalue ;
8038 bool result;
8039 bool temp2 = False ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self",(char *) "file", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8048 if (obj1) {
8049 {
8050 arg2 = wxString_in_helper(obj1);
8051 if (arg2 == NULL) SWIG_fail;
8052 temp2 = True;
8053 }
8054 }
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8063 {
8064 if (temp2)
8065 delete arg2;
8066 }
8067 return resultobj;
8068 fail:
8069 {
8070 if (temp2)
8071 delete arg2;
8072 }
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 (arg1)->MarkDirty();
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 Py_INCREF(Py_None); resultobj = Py_None;
8095 return resultobj;
8096 fail:
8097 return NULL;
8098 }
8099
8100
8101 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8104 PyObject * obj0 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 (arg1)->DiscardEdits();
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 Py_INCREF(Py_None); resultobj = Py_None;
8119 return resultobj;
8120 fail:
8121 return NULL;
8122 }
8123
8124
8125 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj;
8127 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8128 unsigned long arg2 ;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 char *kwnames[] = {
8132 (char *) "self",(char *) "len", NULL
8133 };
8134
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8137 {
8138 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->SetMaxLength(arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8158 wxString *arg2 = 0 ;
8159 bool temp2 = False ;
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj1 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self",(char *) "text", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168 {
8169 arg2 = wxString_in_helper(obj1);
8170 if (arg2 == NULL) SWIG_fail;
8171 temp2 = True;
8172 }
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->WriteText((wxString const &)*arg2);
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 Py_INCREF(Py_None); resultobj = Py_None;
8181 {
8182 if (temp2)
8183 delete arg2;
8184 }
8185 return resultobj;
8186 fail:
8187 {
8188 if (temp2)
8189 delete arg2;
8190 }
8191 return NULL;
8192 }
8193
8194
8195 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8198 wxString *arg2 = 0 ;
8199 bool temp2 = False ;
8200 PyObject * obj0 = 0 ;
8201 PyObject * obj1 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self",(char *) "text", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8208 {
8209 arg2 = wxString_in_helper(obj1);
8210 if (arg2 == NULL) SWIG_fail;
8211 temp2 = True;
8212 }
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 (arg1)->AppendText((wxString const &)*arg2);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 Py_INCREF(Py_None); resultobj = Py_None;
8221 {
8222 if (temp2)
8223 delete arg2;
8224 }
8225 return resultobj;
8226 fail:
8227 {
8228 if (temp2)
8229 delete arg2;
8230 }
8231 return NULL;
8232 }
8233
8234
8235 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8238 wxKeyEvent *arg2 = 0 ;
8239 bool result;
8240 PyObject * obj0 = 0 ;
8241 PyObject * obj1 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "event", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8249 if (arg2 == NULL) {
8250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8251 }
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8269 long arg2 ;
8270 long arg3 ;
8271 wxTextAttr *arg4 = 0 ;
8272 bool result;
8273 PyObject * obj0 = 0 ;
8274 PyObject * obj1 = 0 ;
8275 PyObject * obj2 = 0 ;
8276 PyObject * obj3 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8283 {
8284 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 {
8288 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8292 if (arg4 == NULL) {
8293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8294 }
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8303 return resultobj;
8304 fail:
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8312 long arg2 ;
8313 wxTextAttr *arg3 = 0 ;
8314 bool result;
8315 PyObject * obj0 = 0 ;
8316 PyObject * obj1 = 0 ;
8317 PyObject * obj2 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "position",(char *) "style", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8324 {
8325 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8329 if (arg3 == NULL) {
8330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8349 wxTextAttr *arg2 = 0 ;
8350 bool result;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self",(char *) "style", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 if (arg2 == NULL) {
8361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8371 return resultobj;
8372 fail:
8373 return NULL;
8374 }
8375
8376
8377 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject *resultobj;
8379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8380 wxTextAttr *result;
8381 PyObject * obj0 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 {
8391 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8392 result = (wxTextAttr *) &_result_ref;
8393 }
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8408 long arg2 ;
8409 long arg3 ;
8410 long result;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj2 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "x",(char *) "y", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 {
8421 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 resultobj = SWIG_PyObj_FromLong((long)result);
8436 return resultobj;
8437 fail:
8438 return NULL;
8439 }
8440
8441
8442 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj;
8444 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8445 long arg2 ;
8446 long *arg3 = (long *) 0 ;
8447 long *arg4 = (long *) 0 ;
8448 long temp3 ;
8449 long temp4 ;
8450 PyObject * obj0 = 0 ;
8451 PyObject * obj1 = 0 ;
8452 char *kwnames[] = {
8453 (char *) "self",(char *) "pos", NULL
8454 };
8455
8456 arg3 = &temp3;
8457 arg4 = &temp4;
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8460 {
8461 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 {
8473 PyObject *o = PyInt_FromLong((long) (*arg3));
8474 resultobj = t_output_helper(resultobj,o);
8475 }
8476 {
8477 PyObject *o = PyInt_FromLong((long) (*arg4));
8478 resultobj = t_output_helper(resultobj,o);
8479 }
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8489 long arg2 ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self",(char *) "pos", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8498 {
8499 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 (arg1)->ShowPosition(arg2);
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 Py_INCREF(Py_None); resultobj = Py_None;
8510 return resultobj;
8511 fail:
8512 return NULL;
8513 }
8514
8515
8516 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj;
8518 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8519 wxPoint *arg2 = 0 ;
8520 long *arg3 = (long *) 0 ;
8521 long *arg4 = (long *) 0 ;
8522 int result;
8523 wxPoint temp2 ;
8524 long temp3 ;
8525 long temp4 ;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self",(char *) "pt", NULL
8530 };
8531
8532 arg3 = &temp3;
8533 arg4 = &temp4;
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8536 {
8537 arg2 = &temp2;
8538 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8539 }
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = SWIG_PyObj_FromInt((int)result);
8548 {
8549 PyObject *o = PyInt_FromLong((long) (*arg3));
8550 resultobj = t_output_helper(resultobj,o);
8551 }
8552 {
8553 PyObject *o = PyInt_FromLong((long) (*arg4));
8554 resultobj = t_output_helper(resultobj,o);
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8565 PyObject * obj0 = 0 ;
8566 char *kwnames[] = {
8567 (char *) "self", NULL
8568 };
8569
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 (arg1)->Copy();
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 Py_INCREF(Py_None); resultobj = Py_None;
8580 return resultobj;
8581 fail:
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8589 PyObject * obj0 = 0 ;
8590 char *kwnames[] = {
8591 (char *) "self", NULL
8592 };
8593
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 (arg1)->Cut();
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 Py_INCREF(Py_None); resultobj = Py_None;
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8613 PyObject * obj0 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 (arg1)->Paste();
8623
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 Py_INCREF(Py_None); resultobj = Py_None;
8628 return resultobj;
8629 fail:
8630 return NULL;
8631 }
8632
8633
8634 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj;
8636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8637 bool result;
8638 PyObject * obj0 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8662 bool result;
8663 PyObject * obj0 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8678 return resultobj;
8679 fail:
8680 return NULL;
8681 }
8682
8683
8684 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj;
8686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8687 bool result;
8688 PyObject * obj0 = 0 ;
8689 char *kwnames[] = {
8690 (char *) "self", NULL
8691 };
8692
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8703 return resultobj;
8704 fail:
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 (arg1)->Undo();
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 Py_INCREF(Py_None); resultobj = Py_None;
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 (arg1)->Redo();
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 Py_INCREF(Py_None); resultobj = Py_None;
8751 return resultobj;
8752 fail:
8753 return NULL;
8754 }
8755
8756
8757 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8760 bool result;
8761 PyObject * obj0 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8785 bool result;
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8801 return resultobj;
8802 fail:
8803 return NULL;
8804 }
8805
8806
8807 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8810 long arg2 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 char *kwnames[] = {
8814 (char *) "self",(char *) "pos", NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8819 {
8820 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->SetInsertionPoint(arg2);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8840 PyObject * obj0 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 (arg1)->SetInsertionPointEnd();
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 Py_INCREF(Py_None); resultobj = Py_None;
8855 return resultobj;
8856 fail:
8857 return NULL;
8858 }
8859
8860
8861 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj;
8863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8864 long result;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_PyObj_FromLong((long)result);
8880 return resultobj;
8881 fail:
8882 return NULL;
8883 }
8884
8885
8886 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject *resultobj;
8888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8889 long result;
8890 PyObject * obj0 = 0 ;
8891 char *kwnames[] = {
8892 (char *) "self", NULL
8893 };
8894
8895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_PyObj_FromLong((long)result);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8914 long arg2 ;
8915 long arg3 ;
8916 PyObject * obj0 = 0 ;
8917 PyObject * obj1 = 0 ;
8918 PyObject * obj2 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "from",(char *) "to", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 {
8930 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 (arg1)->SetSelection(arg2,arg3);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 Py_INCREF(Py_None); resultobj = Py_None;
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8950 PyObject * obj0 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 (arg1)->SelectAll();
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 Py_INCREF(Py_None); resultobj = Py_None;
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8974 bool arg2 ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "editable", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8983 {
8984 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 (arg1)->SetEditable(arg2);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 Py_INCREF(Py_None); resultobj = Py_None;
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9004 wxString *arg2 = 0 ;
9005 bool temp2 = False ;
9006 PyObject * obj0 = 0 ;
9007 PyObject * obj1 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self",(char *) "text", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9014 {
9015 arg2 = wxString_in_helper(obj1);
9016 if (arg2 == NULL) SWIG_fail;
9017 temp2 = True;
9018 }
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 Py_INCREF(Py_None); resultobj = Py_None;
9027 {
9028 if (temp2)
9029 delete arg2;
9030 }
9031 return resultobj;
9032 fail:
9033 {
9034 if (temp2)
9035 delete arg2;
9036 }
9037 return NULL;
9038 }
9039
9040
9041 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9044 long arg2 ;
9045 long arg3 ;
9046 wxString result;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049 PyObject * obj2 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self",(char *) "from",(char *) "to", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9056 {
9057 arg2 = (long) SWIG_PyObj_AsLong(obj1);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 {
9061 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 {
9072 #if wxUSE_UNICODE
9073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9074 #else
9075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9076 #endif
9077 }
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9085 PyObject *obj;
9086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9087 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9088 Py_INCREF(obj);
9089 return Py_BuildValue((char *)"");
9090 }
9091 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 int arg1 ;
9094 wxMouseEvent *arg2 = 0 ;
9095 long arg3 ;
9096 long arg4 ;
9097 wxTextUrlEvent *result;
9098 PyObject * obj0 = 0 ;
9099 PyObject * obj1 = 0 ;
9100 PyObject * obj2 = 0 ;
9101 PyObject * obj3 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9107 {
9108 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9112 if (arg2 == NULL) {
9113 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9114 }
9115 {
9116 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 arg4 = (long) SWIG_PyObj_AsLong(obj3);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
9131 return resultobj;
9132 fail:
9133 return NULL;
9134 }
9135
9136
9137 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9140 wxMouseEvent *result;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 {
9151 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9152 result = (wxMouseEvent *) &_result_ref;
9153 }
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9168 long result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 resultobj = SWIG_PyObj_FromLong((long)result);
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj;
9192 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9193 long result;
9194 PyObject * obj0 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 resultobj = SWIG_PyObj_FromLong((long)result);
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9216 PyObject *obj;
9217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9219 Py_INCREF(obj);
9220 return Py_BuildValue((char *)"");
9221 }
9222 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9223 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9224 return 1;
9225 }
9226
9227
9228 static PyObject *_wrap_ScrollBarNameStr_get() {
9229 PyObject *pyobj;
9230
9231 {
9232 #if wxUSE_UNICODE
9233 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9234 #else
9235 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9236 #endif
9237 }
9238 return pyobj;
9239 }
9240
9241
9242 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject *resultobj;
9244 wxWindow *arg1 = (wxWindow *) 0 ;
9245 int arg2 = (int) -1 ;
9246 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9247 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9248 wxSize const &arg4_defvalue = wxDefaultSize ;
9249 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9250 long arg5 = (long) wxSB_HORIZONTAL ;
9251 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9252 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9253 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9254 wxString *arg7 = (wxString *) &arg7_defvalue ;
9255 wxScrollBar *result;
9256 wxPoint temp3 ;
9257 wxSize temp4 ;
9258 bool temp7 = False ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 PyObject * obj2 = 0 ;
9262 PyObject * obj3 = 0 ;
9263 PyObject * obj4 = 0 ;
9264 PyObject * obj5 = 0 ;
9265 PyObject * obj6 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9272 if (obj1) {
9273 {
9274 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 }
9278 if (obj2) {
9279 {
9280 arg3 = &temp3;
9281 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9282 }
9283 }
9284 if (obj3) {
9285 {
9286 arg4 = &temp4;
9287 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9288 }
9289 }
9290 if (obj4) {
9291 {
9292 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 }
9296 if (obj5) {
9297 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9298 if (arg6 == NULL) {
9299 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9300 }
9301 }
9302 if (obj6) {
9303 {
9304 arg7 = wxString_in_helper(obj6);
9305 if (arg7 == NULL) SWIG_fail;
9306 temp7 = True;
9307 }
9308 }
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
9311 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9317 {
9318 if (temp7)
9319 delete arg7;
9320 }
9321 return resultobj;
9322 fail:
9323 {
9324 if (temp7)
9325 delete arg7;
9326 }
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxScrollBar *result;
9334 char *kwnames[] = {
9335 NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9339 {
9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9341 result = (wxScrollBar *)new wxScrollBar();
9342
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
9346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9356 wxWindow *arg2 = (wxWindow *) 0 ;
9357 int arg3 = (int) -1 ;
9358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9360 wxSize const &arg5_defvalue = wxDefaultSize ;
9361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9362 long arg6 = (long) wxSB_HORIZONTAL ;
9363 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9364 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9365 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9366 wxString *arg8 = (wxString *) &arg8_defvalue ;
9367 bool result;
9368 wxPoint temp4 ;
9369 wxSize temp5 ;
9370 bool temp8 = False ;
9371 PyObject * obj0 = 0 ;
9372 PyObject * obj1 = 0 ;
9373 PyObject * obj2 = 0 ;
9374 PyObject * obj3 = 0 ;
9375 PyObject * obj4 = 0 ;
9376 PyObject * obj5 = 0 ;
9377 PyObject * obj6 = 0 ;
9378 PyObject * obj7 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9386 if (obj2) {
9387 {
9388 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 }
9392 if (obj3) {
9393 {
9394 arg4 = &temp4;
9395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9396 }
9397 }
9398 if (obj4) {
9399 {
9400 arg5 = &temp5;
9401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9402 }
9403 }
9404 if (obj5) {
9405 {
9406 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 }
9410 if (obj6) {
9411 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9412 if (arg7 == NULL) {
9413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9414 }
9415 }
9416 if (obj7) {
9417 {
9418 arg8 = wxString_in_helper(obj7);
9419 if (arg8 == NULL) SWIG_fail;
9420 temp8 = True;
9421 }
9422 }
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9431 {
9432 if (temp8)
9433 delete arg8;
9434 }
9435 return resultobj;
9436 fail:
9437 {
9438 if (temp8)
9439 delete arg8;
9440 }
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9448 int result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",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 = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = SWIG_PyObj_FromInt((int)result);
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9473 int result;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 resultobj = SWIG_PyObj_FromInt((int)result);
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9498 int result;
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = SWIG_PyObj_FromInt((int)result);
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9523 int result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (int)((wxScrollBar const *)arg1)->GetRange();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = SWIG_PyObj_FromInt((int)result);
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9548 bool result;
9549 PyObject * obj0 = 0 ;
9550 char *kwnames[] = {
9551 (char *) "self", NULL
9552 };
9553
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9559
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9564 return resultobj;
9565 fail:
9566 return NULL;
9567 }
9568
9569
9570 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9573 int arg2 ;
9574 PyObject * obj0 = 0 ;
9575 PyObject * obj1 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self",(char *) "viewStart", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9582 {
9583 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SetThumbPosition(arg2);
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 Py_INCREF(Py_None); resultobj = Py_None;
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9603 int arg2 ;
9604 int arg3 ;
9605 int arg4 ;
9606 int arg5 ;
9607 bool arg6 = (bool) True ;
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
9610 PyObject * obj2 = 0 ;
9611 PyObject * obj3 = 0 ;
9612 PyObject * obj4 = 0 ;
9613 PyObject * obj5 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9620 {
9621 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 {
9625 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 {
9633 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 if (obj5) {
9637 {
9638 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 }
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 Py_INCREF(Py_None); resultobj = Py_None;
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9657 PyObject *obj;
9658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9659 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9660 Py_INCREF(obj);
9661 return Py_BuildValue((char *)"");
9662 }
9663 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9664 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9665 return 1;
9666 }
9667
9668
9669 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9670 PyObject *pyobj;
9671
9672 {
9673 #if wxUSE_UNICODE
9674 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9675 #else
9676 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9677 #endif
9678 }
9679 return pyobj;
9680 }
9681
9682
9683 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9684 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9685 return 1;
9686 }
9687
9688
9689 static PyObject *_wrap_SpinCtrlNameStr_get() {
9690 PyObject *pyobj;
9691
9692 {
9693 #if wxUSE_UNICODE
9694 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9695 #else
9696 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9697 #endif
9698 }
9699 return pyobj;
9700 }
9701
9702
9703 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxWindow *arg1 = (wxWindow *) 0 ;
9706 int arg2 = (int) -1 ;
9707 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9708 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9709 wxSize const &arg4_defvalue = wxDefaultSize ;
9710 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9711 long arg5 = (long) wxSP_HORIZONTAL ;
9712 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9713 wxString *arg6 = (wxString *) &arg6_defvalue ;
9714 wxSpinButton *result;
9715 wxPoint temp3 ;
9716 wxSize temp4 ;
9717 bool temp6 = False ;
9718 PyObject * obj0 = 0 ;
9719 PyObject * obj1 = 0 ;
9720 PyObject * obj2 = 0 ;
9721 PyObject * obj3 = 0 ;
9722 PyObject * obj4 = 0 ;
9723 PyObject * obj5 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9730 if (obj1) {
9731 {
9732 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 }
9736 if (obj2) {
9737 {
9738 arg3 = &temp3;
9739 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9740 }
9741 }
9742 if (obj3) {
9743 {
9744 arg4 = &temp4;
9745 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9746 }
9747 }
9748 if (obj4) {
9749 {
9750 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 }
9754 if (obj5) {
9755 {
9756 arg6 = wxString_in_helper(obj5);
9757 if (arg6 == NULL) SWIG_fail;
9758 temp6 = True;
9759 }
9760 }
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9769 {
9770 if (temp6)
9771 delete arg6;
9772 }
9773 return resultobj;
9774 fail:
9775 {
9776 if (temp6)
9777 delete arg6;
9778 }
9779 return NULL;
9780 }
9781
9782
9783 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj;
9785 wxSpinButton *result;
9786 char *kwnames[] = {
9787 NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 result = (wxSpinButton *)new wxSpinButton();
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9808 wxWindow *arg2 = (wxWindow *) 0 ;
9809 int arg3 = (int) -1 ;
9810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9812 wxSize const &arg5_defvalue = wxDefaultSize ;
9813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9814 long arg6 = (long) wxSP_HORIZONTAL ;
9815 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9816 wxString *arg7 = (wxString *) &arg7_defvalue ;
9817 bool result;
9818 wxPoint temp4 ;
9819 wxSize temp5 ;
9820 bool temp7 = False ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 PyObject * obj2 = 0 ;
9824 PyObject * obj3 = 0 ;
9825 PyObject * obj4 = 0 ;
9826 PyObject * obj5 = 0 ;
9827 PyObject * obj6 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9835 if (obj2) {
9836 {
9837 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 }
9840 }
9841 if (obj3) {
9842 {
9843 arg4 = &temp4;
9844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9845 }
9846 }
9847 if (obj4) {
9848 {
9849 arg5 = &temp5;
9850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9851 }
9852 }
9853 if (obj5) {
9854 {
9855 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 }
9859 if (obj6) {
9860 {
9861 arg7 = wxString_in_helper(obj6);
9862 if (arg7 == NULL) SWIG_fail;
9863 temp7 = True;
9864 }
9865 }
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9874 {
9875 if (temp7)
9876 delete arg7;
9877 }
9878 return resultobj;
9879 fail:
9880 {
9881 if (temp7)
9882 delete arg7;
9883 }
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9891 int result;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 result = (int)((wxSpinButton const *)arg1)->GetValue();
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 resultobj = SWIG_PyObj_FromInt((int)result);
9907 return resultobj;
9908 fail:
9909 return NULL;
9910 }
9911
9912
9913 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj;
9915 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9916 int result;
9917 PyObject * obj0 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
9926 result = (int)((wxSpinButton const *)arg1)->GetMin();
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 resultobj = SWIG_PyObj_FromInt((int)result);
9932 return resultobj;
9933 fail:
9934 return NULL;
9935 }
9936
9937
9938 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9939 PyObject *resultobj;
9940 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9941 int result;
9942 PyObject * obj0 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 result = (int)((wxSpinButton const *)arg1)->GetMax();
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 resultobj = SWIG_PyObj_FromInt((int)result);
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9966 int arg2 ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self",(char *) "val", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9975 {
9976 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 (arg1)->SetValue(arg2);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 Py_INCREF(Py_None); resultobj = Py_None;
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9996 int arg2 ;
9997 PyObject * obj0 = 0 ;
9998 PyObject * obj1 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self",(char *) "minVal", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10005 {
10006 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 (arg1)->SetMin(arg2);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 Py_INCREF(Py_None); resultobj = Py_None;
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10026 int arg2 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self",(char *) "maxVal", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10035 {
10036 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->SetMax(arg2);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 Py_INCREF(Py_None); resultobj = Py_None;
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10056 int arg2 ;
10057 int arg3 ;
10058 PyObject * obj0 = 0 ;
10059 PyObject * obj1 = 0 ;
10060 PyObject * obj2 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 {
10068 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 {
10072 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 (arg1)->SetRange(arg2,arg3);
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 Py_INCREF(Py_None); resultobj = Py_None;
10083 return resultobj;
10084 fail:
10085 return NULL;
10086 }
10087
10088
10089 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10092 bool result;
10093 PyObject * obj0 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10115 PyObject *obj;
10116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10117 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10118 Py_INCREF(obj);
10119 return Py_BuildValue((char *)"");
10120 }
10121 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxWindow *arg1 = (wxWindow *) 0 ;
10124 int arg2 = (int) -1 ;
10125 wxString const &arg3_defvalue = wxPyEmptyString ;
10126 wxString *arg3 = (wxString *) &arg3_defvalue ;
10127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10129 wxSize const &arg5_defvalue = wxDefaultSize ;
10130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10131 long arg6 = (long) wxSP_ARROW_KEYS ;
10132 int arg7 = (int) 0 ;
10133 int arg8 = (int) 100 ;
10134 int arg9 = (int) 0 ;
10135 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10136 wxString *arg10 = (wxString *) &arg10_defvalue ;
10137 wxSpinCtrl *result;
10138 bool temp3 = False ;
10139 wxPoint temp4 ;
10140 wxSize temp5 ;
10141 bool temp10 = False ;
10142 PyObject * obj0 = 0 ;
10143 PyObject * obj1 = 0 ;
10144 PyObject * obj2 = 0 ;
10145 PyObject * obj3 = 0 ;
10146 PyObject * obj4 = 0 ;
10147 PyObject * obj5 = 0 ;
10148 PyObject * obj6 = 0 ;
10149 PyObject * obj7 = 0 ;
10150 PyObject * obj8 = 0 ;
10151 PyObject * obj9 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158 if (obj1) {
10159 {
10160 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10161 if (PyErr_Occurred()) SWIG_fail;
10162 }
10163 }
10164 if (obj2) {
10165 {
10166 arg3 = wxString_in_helper(obj2);
10167 if (arg3 == NULL) SWIG_fail;
10168 temp3 = True;
10169 }
10170 }
10171 if (obj3) {
10172 {
10173 arg4 = &temp4;
10174 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10175 }
10176 }
10177 if (obj4) {
10178 {
10179 arg5 = &temp5;
10180 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10181 }
10182 }
10183 if (obj5) {
10184 {
10185 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 }
10189 if (obj6) {
10190 {
10191 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 }
10195 if (obj7) {
10196 {
10197 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 }
10201 if (obj8) {
10202 {
10203 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 }
10207 if (obj9) {
10208 {
10209 arg10 = wxString_in_helper(obj9);
10210 if (arg10 == NULL) SWIG_fail;
10211 temp10 = True;
10212 }
10213 }
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10222 {
10223 if (temp3)
10224 delete arg3;
10225 }
10226 {
10227 if (temp10)
10228 delete arg10;
10229 }
10230 return resultobj;
10231 fail:
10232 {
10233 if (temp3)
10234 delete arg3;
10235 }
10236 {
10237 if (temp10)
10238 delete arg10;
10239 }
10240 return NULL;
10241 }
10242
10243
10244 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxSpinCtrl *result;
10247 char *kwnames[] = {
10248 NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (wxSpinCtrl *)new wxSpinCtrl();
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10267 PyObject *resultobj;
10268 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10269 wxWindow *arg2 = (wxWindow *) 0 ;
10270 int arg3 = (int) -1 ;
10271 wxString const &arg4_defvalue = wxPyEmptyString ;
10272 wxString *arg4 = (wxString *) &arg4_defvalue ;
10273 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10274 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10275 wxSize const &arg6_defvalue = wxDefaultSize ;
10276 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10277 long arg7 = (long) wxSP_ARROW_KEYS ;
10278 int arg8 = (int) 0 ;
10279 int arg9 = (int) 100 ;
10280 int arg10 = (int) 0 ;
10281 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10282 wxString *arg11 = (wxString *) &arg11_defvalue ;
10283 bool result;
10284 bool temp4 = False ;
10285 wxPoint temp5 ;
10286 wxSize temp6 ;
10287 bool temp11 = False ;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 PyObject * obj2 = 0 ;
10291 PyObject * obj3 = 0 ;
10292 PyObject * obj4 = 0 ;
10293 PyObject * obj5 = 0 ;
10294 PyObject * obj6 = 0 ;
10295 PyObject * obj7 = 0 ;
10296 PyObject * obj8 = 0 ;
10297 PyObject * obj9 = 0 ;
10298 PyObject * obj10 = 0 ;
10299 char *kwnames[] = {
10300 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10301 };
10302
10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10306 if (obj2) {
10307 {
10308 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 }
10312 if (obj3) {
10313 {
10314 arg4 = wxString_in_helper(obj3);
10315 if (arg4 == NULL) SWIG_fail;
10316 temp4 = True;
10317 }
10318 }
10319 if (obj4) {
10320 {
10321 arg5 = &temp5;
10322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10323 }
10324 }
10325 if (obj5) {
10326 {
10327 arg6 = &temp6;
10328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10329 }
10330 }
10331 if (obj6) {
10332 {
10333 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 }
10337 if (obj7) {
10338 {
10339 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 }
10343 if (obj8) {
10344 {
10345 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
10348 }
10349 if (obj9) {
10350 {
10351 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 }
10355 if (obj10) {
10356 {
10357 arg11 = wxString_in_helper(obj10);
10358 if (arg11 == NULL) SWIG_fail;
10359 temp11 = True;
10360 }
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10370 {
10371 if (temp4)
10372 delete arg4;
10373 }
10374 {
10375 if (temp11)
10376 delete arg11;
10377 }
10378 return resultobj;
10379 fail:
10380 {
10381 if (temp4)
10382 delete arg4;
10383 }
10384 {
10385 if (temp11)
10386 delete arg11;
10387 }
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10395 int result;
10396 PyObject * obj0 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_PyObj_FromInt((int)result);
10411 return resultobj;
10412 fail:
10413 return NULL;
10414 }
10415
10416
10417 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj;
10419 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10420 int arg2 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "value", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 (arg1)->SetValue(arg2);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 Py_INCREF(Py_None); resultobj = Py_None;
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10450 wxString *arg2 = 0 ;
10451 bool temp2 = False ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self",(char *) "text", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10460 {
10461 arg2 = wxString_in_helper(obj1);
10462 if (arg2 == NULL) SWIG_fail;
10463 temp2 = True;
10464 }
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 (arg1)->SetValue((wxString const &)*arg2);
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 Py_INCREF(Py_None); resultobj = Py_None;
10473 {
10474 if (temp2)
10475 delete arg2;
10476 }
10477 return resultobj;
10478 fail:
10479 {
10480 if (temp2)
10481 delete arg2;
10482 }
10483 return NULL;
10484 }
10485
10486
10487 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10488 PyObject *resultobj;
10489 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10490 int arg2 ;
10491 int arg3 ;
10492 PyObject * obj0 = 0 ;
10493 PyObject * obj1 = 0 ;
10494 PyObject * obj2 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10501 {
10502 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 {
10506 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 (arg1)->SetRange(arg2,arg3);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 Py_INCREF(Py_None); resultobj = Py_None;
10517 return resultobj;
10518 fail:
10519 return NULL;
10520 }
10521
10522
10523 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj;
10525 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10526 int result;
10527 PyObject * obj0 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self", NULL
10530 };
10531
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 resultobj = SWIG_PyObj_FromInt((int)result);
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10551 int result;
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_PyObj_FromInt((int)result);
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10576 long arg2 ;
10577 long arg3 ;
10578 PyObject * obj0 = 0 ;
10579 PyObject * obj1 = 0 ;
10580 PyObject * obj2 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "from",(char *) "to", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10587 {
10588 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 {
10592 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->SetSelection(arg2,arg3);
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 * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10610 PyObject *obj;
10611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10612 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10613 Py_INCREF(obj);
10614 return Py_BuildValue((char *)"");
10615 }
10616 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj;
10618 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10619 int arg2 = (int) 0 ;
10620 wxSpinEvent *result;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "commandType",(char *) "winid", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10628 if (obj0) {
10629 {
10630 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 }
10634 if (obj1) {
10635 {
10636 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10648 return resultobj;
10649 fail:
10650 return NULL;
10651 }
10652
10653
10654 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10655 PyObject *resultobj;
10656 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10657 int result;
10658 PyObject * obj0 = 0 ;
10659 char *kwnames[] = {
10660 (char *) "self", NULL
10661 };
10662
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 resultobj = SWIG_PyObj_FromInt((int)result);
10673 return resultobj;
10674 fail:
10675 return NULL;
10676 }
10677
10678
10679 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10680 PyObject *resultobj;
10681 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10682 int arg2 ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "pos", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 (arg1)->SetPosition(arg2);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10710 PyObject *obj;
10711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10712 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10713 Py_INCREF(obj);
10714 return Py_BuildValue((char *)"");
10715 }
10716 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10717 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10718 return 1;
10719 }
10720
10721
10722 static PyObject *_wrap_RadioBoxNameStr_get() {
10723 PyObject *pyobj;
10724
10725 {
10726 #if wxUSE_UNICODE
10727 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10728 #else
10729 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10730 #endif
10731 }
10732 return pyobj;
10733 }
10734
10735
10736 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10737 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10738 return 1;
10739 }
10740
10741
10742 static PyObject *_wrap_RadioButtonNameStr_get() {
10743 PyObject *pyobj;
10744
10745 {
10746 #if wxUSE_UNICODE
10747 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10748 #else
10749 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10750 #endif
10751 }
10752 return pyobj;
10753 }
10754
10755
10756 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxWindow *arg1 = (wxWindow *) 0 ;
10759 int arg2 ;
10760 wxString *arg3 = 0 ;
10761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10763 wxSize const &arg5_defvalue = wxDefaultSize ;
10764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10765 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10766 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10767 int arg7 = (int) 0 ;
10768 long arg8 = (long) wxRA_HORIZONTAL ;
10769 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10770 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10771 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10772 wxString *arg10 = (wxString *) &arg10_defvalue ;
10773 wxRadioBox *result;
10774 bool temp3 = False ;
10775 wxPoint temp4 ;
10776 wxSize temp5 ;
10777 bool temp6 = False ;
10778 bool temp10 = False ;
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 PyObject * obj2 = 0 ;
10782 PyObject * obj3 = 0 ;
10783 PyObject * obj4 = 0 ;
10784 PyObject * obj5 = 0 ;
10785 PyObject * obj6 = 0 ;
10786 PyObject * obj7 = 0 ;
10787 PyObject * obj8 = 0 ;
10788 PyObject * obj9 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10795 {
10796 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 {
10800 arg3 = wxString_in_helper(obj2);
10801 if (arg3 == NULL) SWIG_fail;
10802 temp3 = True;
10803 }
10804 if (obj3) {
10805 {
10806 arg4 = &temp4;
10807 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10808 }
10809 }
10810 if (obj4) {
10811 {
10812 arg5 = &temp5;
10813 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10814 }
10815 }
10816 if (obj5) {
10817 {
10818 if (! PySequence_Check(obj5)) {
10819 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10820 SWIG_fail;
10821 }
10822 arg6 = new wxArrayString;
10823 temp6 = True;
10824 int i, len=PySequence_Length(obj5);
10825 for (i=0; i<len; i++) {
10826 PyObject* item = PySequence_GetItem(obj5, i);
10827 #if wxUSE_UNICODE
10828 PyObject* str = PyObject_Unicode(item);
10829 #else
10830 PyObject* str = PyObject_Str(item);
10831 #endif
10832 arg6->Add(Py2wxString(str));
10833 Py_DECREF(item);
10834 Py_DECREF(str);
10835 }
10836 }
10837 }
10838 if (obj6) {
10839 {
10840 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 }
10844 if (obj7) {
10845 {
10846 arg8 = (long) SWIG_PyObj_AsLong(obj7);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 }
10850 if (obj8) {
10851 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10852 if (arg9 == NULL) {
10853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10854 }
10855 }
10856 if (obj9) {
10857 {
10858 arg10 = wxString_in_helper(obj9);
10859 if (arg10 == NULL) SWIG_fail;
10860 temp10 = True;
10861 }
10862 }
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 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);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10871 {
10872 if (temp3)
10873 delete arg3;
10874 }
10875 {
10876 if (temp6) delete arg6;
10877 }
10878 {
10879 if (temp10)
10880 delete arg10;
10881 }
10882 return resultobj;
10883 fail:
10884 {
10885 if (temp3)
10886 delete arg3;
10887 }
10888 {
10889 if (temp6) delete arg6;
10890 }
10891 {
10892 if (temp10)
10893 delete arg10;
10894 }
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxRadioBox *result;
10902 char *kwnames[] = {
10903 NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 result = (wxRadioBox *)new wxRadioBox();
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10924 wxWindow *arg2 = (wxWindow *) 0 ;
10925 int arg3 ;
10926 wxString *arg4 = 0 ;
10927 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10928 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10929 wxSize const &arg6_defvalue = wxDefaultSize ;
10930 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10931 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
10932 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
10933 int arg8 = (int) 0 ;
10934 long arg9 = (long) wxRA_HORIZONTAL ;
10935 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10936 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10937 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10938 wxString *arg11 = (wxString *) &arg11_defvalue ;
10939 bool result;
10940 bool temp4 = False ;
10941 wxPoint temp5 ;
10942 wxSize temp6 ;
10943 bool temp7 = False ;
10944 bool temp11 = False ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 PyObject * obj2 = 0 ;
10948 PyObject * obj3 = 0 ;
10949 PyObject * obj4 = 0 ;
10950 PyObject * obj5 = 0 ;
10951 PyObject * obj6 = 0 ;
10952 PyObject * obj7 = 0 ;
10953 PyObject * obj8 = 0 ;
10954 PyObject * obj9 = 0 ;
10955 PyObject * obj10 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10958 };
10959
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 {
10968 arg4 = wxString_in_helper(obj3);
10969 if (arg4 == NULL) SWIG_fail;
10970 temp4 = True;
10971 }
10972 if (obj4) {
10973 {
10974 arg5 = &temp5;
10975 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10976 }
10977 }
10978 if (obj5) {
10979 {
10980 arg6 = &temp6;
10981 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10982 }
10983 }
10984 if (obj6) {
10985 {
10986 if (! PySequence_Check(obj6)) {
10987 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10988 SWIG_fail;
10989 }
10990 arg7 = new wxArrayString;
10991 temp7 = True;
10992 int i, len=PySequence_Length(obj6);
10993 for (i=0; i<len; i++) {
10994 PyObject* item = PySequence_GetItem(obj6, i);
10995 #if wxUSE_UNICODE
10996 PyObject* str = PyObject_Unicode(item);
10997 #else
10998 PyObject* str = PyObject_Str(item);
10999 #endif
11000 arg7->Add(Py2wxString(str));
11001 Py_DECREF(item);
11002 Py_DECREF(str);
11003 }
11004 }
11005 }
11006 if (obj7) {
11007 {
11008 arg8 = (int) SWIG_PyObj_AsInt(obj7);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 }
11012 if (obj8) {
11013 {
11014 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 }
11018 if (obj9) {
11019 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11020 if (arg10 == NULL) {
11021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11022 }
11023 }
11024 if (obj10) {
11025 {
11026 arg11 = wxString_in_helper(obj10);
11027 if (arg11 == NULL) SWIG_fail;
11028 temp11 = True;
11029 }
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 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);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11039 {
11040 if (temp4)
11041 delete arg4;
11042 }
11043 {
11044 if (temp7) delete arg7;
11045 }
11046 {
11047 if (temp11)
11048 delete arg11;
11049 }
11050 return resultobj;
11051 fail:
11052 {
11053 if (temp4)
11054 delete arg4;
11055 }
11056 {
11057 if (temp7) delete arg7;
11058 }
11059 {
11060 if (temp11)
11061 delete arg11;
11062 }
11063 return NULL;
11064 }
11065
11066
11067 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11070 int arg2 ;
11071 PyObject * obj0 = 0 ;
11072 PyObject * obj1 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self",(char *) "n", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11079 {
11080 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 (arg1)->SetSelection(arg2);
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 Py_INCREF(Py_None); resultobj = Py_None;
11091 return resultobj;
11092 fail:
11093 return NULL;
11094 }
11095
11096
11097 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11100 int result;
11101 PyObject * obj0 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 resultobj = SWIG_PyObj_FromInt((int)result);
11116 return resultobj;
11117 fail:
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11125 wxString result;
11126 PyObject * obj0 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 {
11141 #if wxUSE_UNICODE
11142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11143 #else
11144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11145 #endif
11146 }
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11156 wxString *arg2 = 0 ;
11157 bool result;
11158 bool temp2 = False ;
11159 PyObject * obj0 = 0 ;
11160 PyObject * obj1 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self",(char *) "s", NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11167 {
11168 arg2 = wxString_in_helper(obj1);
11169 if (arg2 == NULL) SWIG_fail;
11170 temp2 = True;
11171 }
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 {
11181 if (temp2)
11182 delete arg2;
11183 }
11184 return resultobj;
11185 fail:
11186 {
11187 if (temp2)
11188 delete arg2;
11189 }
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11197 int result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (int)((wxRadioBox const *)arg1)->GetCount();
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = SWIG_PyObj_FromInt((int)result);
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11222 wxString *arg2 = 0 ;
11223 int result;
11224 bool temp2 = False ;
11225 PyObject * obj0 = 0 ;
11226 PyObject * obj1 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self",(char *) "s", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 {
11234 arg2 = wxString_in_helper(obj1);
11235 if (arg2 == NULL) SWIG_fail;
11236 temp2 = True;
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_PyObj_FromInt((int)result);
11246 {
11247 if (temp2)
11248 delete arg2;
11249 }
11250 return resultobj;
11251 fail:
11252 {
11253 if (temp2)
11254 delete arg2;
11255 }
11256 return NULL;
11257 }
11258
11259
11260 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj;
11262 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11263 int arg2 ;
11264 wxString result;
11265 PyObject * obj0 = 0 ;
11266 PyObject * obj1 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self",(char *) "n", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11273 {
11274 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 {
11285 #if wxUSE_UNICODE
11286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11287 #else
11288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11289 #endif
11290 }
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11300 int arg2 ;
11301 wxString *arg3 = 0 ;
11302 bool temp3 = False ;
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 PyObject * obj2 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "n",(char *) "label", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 {
11317 arg3 = wxString_in_helper(obj2);
11318 if (arg3 == NULL) SWIG_fail;
11319 temp3 = True;
11320 }
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 (arg1)->SetString(arg2,(wxString const &)*arg3);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 Py_INCREF(Py_None); resultobj = Py_None;
11329 {
11330 if (temp3)
11331 delete arg3;
11332 }
11333 return resultobj;
11334 fail:
11335 {
11336 if (temp3)
11337 delete arg3;
11338 }
11339 return NULL;
11340 }
11341
11342
11343 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj;
11345 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11346 int arg2 ;
11347 bool arg3 = (bool) True ;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 PyObject * obj2 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "n",(char *) "enable", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11357 {
11358 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 if (obj2) {
11362 {
11363 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 }
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->Enable(arg2,arg3);
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11384 int arg2 ;
11385 bool arg3 = (bool) True ;
11386 PyObject * obj0 = 0 ;
11387 PyObject * obj1 = 0 ;
11388 PyObject * obj2 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self",(char *) "n",(char *) "show", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11395 {
11396 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 if (obj2) {
11400 {
11401 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 }
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 (arg1)->Show(arg2,arg3);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 Py_INCREF(Py_None); resultobj = Py_None;
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11422 int result;
11423 PyObject * obj0 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self", NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_PyObj_FromInt((int)result);
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj;
11446 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11447 int result;
11448 PyObject * obj0 = 0 ;
11449 char *kwnames[] = {
11450 (char *) "self", NULL
11451 };
11452
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = SWIG_PyObj_FromInt((int)result);
11463 return resultobj;
11464 fail:
11465 return NULL;
11466 }
11467
11468
11469 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11470 PyObject *resultobj;
11471 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11472 int arg2 ;
11473 int arg3 ;
11474 long arg4 ;
11475 int result;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 PyObject * obj2 = 0 ;
11479 PyObject * obj3 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11486 {
11487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 {
11491 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 {
11495 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 resultobj = SWIG_PyObj_FromInt((int)result);
11506 return resultobj;
11507 fail:
11508 return NULL;
11509 }
11510
11511
11512 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11513 PyObject *obj;
11514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11515 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11516 Py_INCREF(obj);
11517 return Py_BuildValue((char *)"");
11518 }
11519 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject *resultobj;
11521 wxWindow *arg1 = (wxWindow *) 0 ;
11522 int arg2 ;
11523 wxString *arg3 = 0 ;
11524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11526 wxSize const &arg5_defvalue = wxDefaultSize ;
11527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11528 long arg6 = (long) 0 ;
11529 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11530 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11531 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11532 wxString *arg8 = (wxString *) &arg8_defvalue ;
11533 wxRadioButton *result;
11534 bool temp3 = False ;
11535 wxPoint temp4 ;
11536 wxSize temp5 ;
11537 bool temp8 = False ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 PyObject * obj2 = 0 ;
11541 PyObject * obj3 = 0 ;
11542 PyObject * obj4 = 0 ;
11543 PyObject * obj5 = 0 ;
11544 PyObject * obj6 = 0 ;
11545 PyObject * obj7 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11552 {
11553 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 {
11557 arg3 = wxString_in_helper(obj2);
11558 if (arg3 == NULL) SWIG_fail;
11559 temp3 = True;
11560 }
11561 if (obj3) {
11562 {
11563 arg4 = &temp4;
11564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11565 }
11566 }
11567 if (obj4) {
11568 {
11569 arg5 = &temp5;
11570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11571 }
11572 }
11573 if (obj5) {
11574 {
11575 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 }
11579 if (obj6) {
11580 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 if (arg7 == NULL) {
11582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11583 }
11584 }
11585 if (obj7) {
11586 {
11587 arg8 = wxString_in_helper(obj7);
11588 if (arg8 == NULL) SWIG_fail;
11589 temp8 = True;
11590 }
11591 }
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11600 {
11601 if (temp3)
11602 delete arg3;
11603 }
11604 {
11605 if (temp8)
11606 delete arg8;
11607 }
11608 return resultobj;
11609 fail:
11610 {
11611 if (temp3)
11612 delete arg3;
11613 }
11614 {
11615 if (temp8)
11616 delete arg8;
11617 }
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxRadioButton *result;
11625 char *kwnames[] = {
11626 NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 result = (wxRadioButton *)new wxRadioButton();
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11638 return resultobj;
11639 fail:
11640 return NULL;
11641 }
11642
11643
11644 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11647 wxWindow *arg2 = (wxWindow *) 0 ;
11648 int arg3 ;
11649 wxString *arg4 = 0 ;
11650 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11651 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11652 wxSize const &arg6_defvalue = wxDefaultSize ;
11653 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11654 long arg7 = (long) 0 ;
11655 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11656 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11657 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11658 wxString *arg9 = (wxString *) &arg9_defvalue ;
11659 bool result;
11660 bool temp4 = False ;
11661 wxPoint temp5 ;
11662 wxSize temp6 ;
11663 bool temp9 = False ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11666 PyObject * obj2 = 0 ;
11667 PyObject * obj3 = 0 ;
11668 PyObject * obj4 = 0 ;
11669 PyObject * obj5 = 0 ;
11670 PyObject * obj6 = 0 ;
11671 PyObject * obj7 = 0 ;
11672 PyObject * obj8 = 0 ;
11673 char *kwnames[] = {
11674 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11675 };
11676
11677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11680 {
11681 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 {
11685 arg4 = wxString_in_helper(obj3);
11686 if (arg4 == NULL) SWIG_fail;
11687 temp4 = True;
11688 }
11689 if (obj4) {
11690 {
11691 arg5 = &temp5;
11692 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11693 }
11694 }
11695 if (obj5) {
11696 {
11697 arg6 = &temp6;
11698 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11699 }
11700 }
11701 if (obj6) {
11702 {
11703 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 }
11707 if (obj7) {
11708 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11709 if (arg8 == NULL) {
11710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11711 }
11712 }
11713 if (obj8) {
11714 {
11715 arg9 = wxString_in_helper(obj8);
11716 if (arg9 == NULL) SWIG_fail;
11717 temp9 = True;
11718 }
11719 }
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
11727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11728 {
11729 if (temp4)
11730 delete arg4;
11731 }
11732 {
11733 if (temp9)
11734 delete arg9;
11735 }
11736 return resultobj;
11737 fail:
11738 {
11739 if (temp4)
11740 delete arg4;
11741 }
11742 {
11743 if (temp9)
11744 delete arg9;
11745 }
11746 return NULL;
11747 }
11748
11749
11750 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj;
11752 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11753 bool result;
11754 PyObject * obj0 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
11763 result = (bool)(arg1)->GetValue();
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject *resultobj;
11777 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11778 bool arg2 ;
11779 PyObject * obj0 = 0 ;
11780 PyObject * obj1 = 0 ;
11781 char *kwnames[] = {
11782 (char *) "self",(char *) "value", NULL
11783 };
11784
11785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11787 {
11788 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 (arg1)->SetValue(arg2);
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 Py_INCREF(Py_None); resultobj = Py_None;
11799 return resultobj;
11800 fail:
11801 return NULL;
11802 }
11803
11804
11805 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11806 PyObject *obj;
11807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11808 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11809 Py_INCREF(obj);
11810 return Py_BuildValue((char *)"");
11811 }
11812 static int _wrap_SliderNameStr_set(PyObject *) {
11813 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11814 return 1;
11815 }
11816
11817
11818 static PyObject *_wrap_SliderNameStr_get() {
11819 PyObject *pyobj;
11820
11821 {
11822 #if wxUSE_UNICODE
11823 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11824 #else
11825 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11826 #endif
11827 }
11828 return pyobj;
11829 }
11830
11831
11832 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxWindow *arg1 = (wxWindow *) 0 ;
11835 int arg2 ;
11836 int arg3 ;
11837 int arg4 ;
11838 int arg5 ;
11839 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11840 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11841 wxSize const &arg7_defvalue = wxDefaultSize ;
11842 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11843 long arg8 = (long) wxSL_HORIZONTAL ;
11844 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11845 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11846 wxString const &arg10_defvalue = wxPySliderNameStr ;
11847 wxString *arg10 = (wxString *) &arg10_defvalue ;
11848 wxSlider *result;
11849 wxPoint temp6 ;
11850 wxSize temp7 ;
11851 bool temp10 = False ;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 PyObject * obj2 = 0 ;
11855 PyObject * obj3 = 0 ;
11856 PyObject * obj4 = 0 ;
11857 PyObject * obj5 = 0 ;
11858 PyObject * obj6 = 0 ;
11859 PyObject * obj7 = 0 ;
11860 PyObject * obj8 = 0 ;
11861 PyObject * obj9 = 0 ;
11862 char *kwnames[] = {
11863 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11864 };
11865
11866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11868 {
11869 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 {
11873 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 }
11876 {
11877 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 {
11881 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 if (obj5) {
11885 {
11886 arg6 = &temp6;
11887 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11888 }
11889 }
11890 if (obj6) {
11891 {
11892 arg7 = &temp7;
11893 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11894 }
11895 }
11896 if (obj7) {
11897 {
11898 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 }
11902 if (obj8) {
11903 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11904 if (arg9 == NULL) {
11905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11906 }
11907 }
11908 if (obj9) {
11909 {
11910 arg10 = wxString_in_helper(obj9);
11911 if (arg10 == NULL) SWIG_fail;
11912 temp10 = True;
11913 }
11914 }
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11923 {
11924 if (temp10)
11925 delete arg10;
11926 }
11927 return resultobj;
11928 fail:
11929 {
11930 if (temp10)
11931 delete arg10;
11932 }
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxSlider *result;
11940 char *kwnames[] = {
11941 NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (wxSlider *)new wxSlider();
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11960 PyObject *resultobj;
11961 wxSlider *arg1 = (wxSlider *) 0 ;
11962 wxWindow *arg2 = (wxWindow *) 0 ;
11963 int arg3 ;
11964 int arg4 ;
11965 int arg5 ;
11966 int arg6 ;
11967 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11968 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11969 wxSize const &arg8_defvalue = wxDefaultSize ;
11970 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11971 long arg9 = (long) wxSL_HORIZONTAL ;
11972 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11973 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11974 wxString const &arg11_defvalue = wxPySliderNameStr ;
11975 wxString *arg11 = (wxString *) &arg11_defvalue ;
11976 bool result;
11977 wxPoint temp7 ;
11978 wxSize temp8 ;
11979 bool temp11 = False ;
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 PyObject * obj2 = 0 ;
11983 PyObject * obj3 = 0 ;
11984 PyObject * obj4 = 0 ;
11985 PyObject * obj5 = 0 ;
11986 PyObject * obj6 = 0 ;
11987 PyObject * obj7 = 0 ;
11988 PyObject * obj8 = 0 ;
11989 PyObject * obj9 = 0 ;
11990 PyObject * obj10 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11998 {
11999 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 {
12003 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 {
12007 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 {
12011 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 if (obj6) {
12015 {
12016 arg7 = &temp7;
12017 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12018 }
12019 }
12020 if (obj7) {
12021 {
12022 arg8 = &temp8;
12023 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12024 }
12025 }
12026 if (obj8) {
12027 {
12028 arg9 = (long) SWIG_PyObj_AsLong(obj8);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 }
12032 if (obj9) {
12033 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 if (arg10 == NULL) {
12035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12036 }
12037 }
12038 if (obj10) {
12039 {
12040 arg11 = wxString_in_helper(obj10);
12041 if (arg11 == NULL) SWIG_fail;
12042 temp11 = True;
12043 }
12044 }
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12053 {
12054 if (temp11)
12055 delete arg11;
12056 }
12057 return resultobj;
12058 fail:
12059 {
12060 if (temp11)
12061 delete arg11;
12062 }
12063 return NULL;
12064 }
12065
12066
12067 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj;
12069 wxSlider *arg1 = (wxSlider *) 0 ;
12070 int result;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (int)((wxSlider const *)arg1)->GetValue();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = SWIG_PyObj_FromInt((int)result);
12086 return resultobj;
12087 fail:
12088 return NULL;
12089 }
12090
12091
12092 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxSlider *arg1 = (wxSlider *) 0 ;
12095 int arg2 ;
12096 PyObject * obj0 = 0 ;
12097 PyObject * obj1 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self",(char *) "value", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12104 {
12105 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 (arg1)->SetValue(arg2);
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 Py_INCREF(Py_None); resultobj = Py_None;
12116 return resultobj;
12117 fail:
12118 return NULL;
12119 }
12120
12121
12122 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxSlider *arg1 = (wxSlider *) 0 ;
12125 int arg2 ;
12126 int arg3 ;
12127 PyObject * obj0 = 0 ;
12128 PyObject * obj1 = 0 ;
12129 PyObject * obj2 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12136 {
12137 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
12140 {
12141 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 (arg1)->SetRange(arg2,arg3);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 Py_INCREF(Py_None); resultobj = Py_None;
12152 return resultobj;
12153 fail:
12154 return NULL;
12155 }
12156
12157
12158 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxSlider *arg1 = (wxSlider *) 0 ;
12161 int result;
12162 PyObject * obj0 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (int)((wxSlider const *)arg1)->GetMin();
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = SWIG_PyObj_FromInt((int)result);
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxSlider *arg1 = (wxSlider *) 0 ;
12186 int result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 result = (int)((wxSlider const *)arg1)->GetMax();
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 resultobj = SWIG_PyObj_FromInt((int)result);
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxSlider *arg1 = (wxSlider *) 0 ;
12211 int arg2 ;
12212 PyObject * obj0 = 0 ;
12213 PyObject * obj1 = 0 ;
12214 char *kwnames[] = {
12215 (char *) "self",(char *) "minValue", NULL
12216 };
12217
12218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12220 {
12221 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->SetMin(arg2);
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxSlider *arg1 = (wxSlider *) 0 ;
12241 int arg2 ;
12242 PyObject * obj0 = 0 ;
12243 PyObject * obj1 = 0 ;
12244 char *kwnames[] = {
12245 (char *) "self",(char *) "maxValue", NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12250 {
12251 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->SetMax(arg2);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj;
12270 wxSlider *arg1 = (wxSlider *) 0 ;
12271 int arg2 ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "lineSize", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12280 {
12281 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 (arg1)->SetLineSize(arg2);
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 Py_INCREF(Py_None); resultobj = Py_None;
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxSlider *arg1 = (wxSlider *) 0 ;
12301 int arg2 ;
12302 PyObject * obj0 = 0 ;
12303 PyObject * obj1 = 0 ;
12304 char *kwnames[] = {
12305 (char *) "self",(char *) "pageSize", NULL
12306 };
12307
12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12310 {
12311 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 (arg1)->SetPageSize(arg2);
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 Py_INCREF(Py_None); resultobj = Py_None;
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj;
12330 wxSlider *arg1 = (wxSlider *) 0 ;
12331 int result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 result = (int)((wxSlider const *)arg1)->GetLineSize();
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 resultobj = SWIG_PyObj_FromInt((int)result);
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxSlider *arg1 = (wxSlider *) 0 ;
12356 int result;
12357 PyObject * obj0 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (int)((wxSlider const *)arg1)->GetPageSize();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = SWIG_PyObj_FromInt((int)result);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxSlider *arg1 = (wxSlider *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "lenPixels", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12390 {
12391 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetThumbLength(arg2);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxSlider *arg1 = (wxSlider *) 0 ;
12411 int result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_PyObj_FromInt((int)result);
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxSlider *arg1 = (wxSlider *) 0 ;
12436 int arg2 ;
12437 int arg3 = (int) 1 ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 PyObject * obj2 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self",(char *) "n",(char *) "pos", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 {
12448 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 if (obj2) {
12452 {
12453 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 }
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 (arg1)->SetTickFreq(arg2,arg3);
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 Py_INCREF(Py_None); resultobj = Py_None;
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj;
12473 wxSlider *arg1 = (wxSlider *) 0 ;
12474 int result;
12475 PyObject * obj0 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 resultobj = SWIG_PyObj_FromInt((int)result);
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSlider *arg1 = (wxSlider *) 0 ;
12499 PyObject * obj0 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 (arg1)->ClearTicks();
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 Py_INCREF(Py_None); resultobj = Py_None;
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxSlider *arg1 = (wxSlider *) 0 ;
12523 int arg2 ;
12524 PyObject * obj0 = 0 ;
12525 PyObject * obj1 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self",(char *) "tickPos", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 {
12533 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 (arg1)->SetTick(arg2);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 Py_INCREF(Py_None); resultobj = Py_None;
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxSlider *arg1 = (wxSlider *) 0 ;
12553 PyObject * obj0 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 (arg1)->ClearSel();
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 Py_INCREF(Py_None); resultobj = Py_None;
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj;
12576 wxSlider *arg1 = (wxSlider *) 0 ;
12577 int result;
12578 PyObject * obj0 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12585 {
12586 PyThreadState* __tstate = wxPyBeginAllowThreads();
12587 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12588
12589 wxPyEndAllowThreads(__tstate);
12590 if (PyErr_Occurred()) SWIG_fail;
12591 }
12592 resultobj = SWIG_PyObj_FromInt((int)result);
12593 return resultobj;
12594 fail:
12595 return NULL;
12596 }
12597
12598
12599 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12600 PyObject *resultobj;
12601 wxSlider *arg1 = (wxSlider *) 0 ;
12602 int result;
12603 PyObject * obj0 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (int)((wxSlider const *)arg1)->GetSelStart();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_PyObj_FromInt((int)result);
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxSlider *arg1 = (wxSlider *) 0 ;
12627 int arg2 ;
12628 int arg3 ;
12629 PyObject * obj0 = 0 ;
12630 PyObject * obj1 = 0 ;
12631 PyObject * obj2 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self",(char *) "min",(char *) "max", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12638 {
12639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 {
12643 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 {
12647 PyThreadState* __tstate = wxPyBeginAllowThreads();
12648 (arg1)->SetSelection(arg2,arg3);
12649
12650 wxPyEndAllowThreads(__tstate);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 }
12653 Py_INCREF(Py_None); resultobj = Py_None;
12654 return resultobj;
12655 fail:
12656 return NULL;
12657 }
12658
12659
12660 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12661 PyObject *obj;
12662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12663 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12664 Py_INCREF(obj);
12665 return Py_BuildValue((char *)"");
12666 }
12667 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12668 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12669 return 1;
12670 }
12671
12672
12673 static PyObject *_wrap_ToggleButtonNameStr_get() {
12674 PyObject *pyobj;
12675
12676 {
12677 #if wxUSE_UNICODE
12678 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12679 #else
12680 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12681 #endif
12682 }
12683 return pyobj;
12684 }
12685
12686
12687 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxWindow *arg1 = (wxWindow *) 0 ;
12690 int arg2 ;
12691 wxString *arg3 = 0 ;
12692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12694 wxSize const &arg5_defvalue = wxDefaultSize ;
12695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12696 long arg6 = (long) 0 ;
12697 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12698 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12699 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12700 wxString *arg8 = (wxString *) &arg8_defvalue ;
12701 wxToggleButton *result;
12702 bool temp3 = False ;
12703 wxPoint temp4 ;
12704 wxSize temp5 ;
12705 bool temp8 = False ;
12706 PyObject * obj0 = 0 ;
12707 PyObject * obj1 = 0 ;
12708 PyObject * obj2 = 0 ;
12709 PyObject * obj3 = 0 ;
12710 PyObject * obj4 = 0 ;
12711 PyObject * obj5 = 0 ;
12712 PyObject * obj6 = 0 ;
12713 PyObject * obj7 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12720 {
12721 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 {
12725 arg3 = wxString_in_helper(obj2);
12726 if (arg3 == NULL) SWIG_fail;
12727 temp3 = True;
12728 }
12729 if (obj3) {
12730 {
12731 arg4 = &temp4;
12732 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12733 }
12734 }
12735 if (obj4) {
12736 {
12737 arg5 = &temp5;
12738 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12739 }
12740 }
12741 if (obj5) {
12742 {
12743 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 }
12747 if (obj6) {
12748 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12749 if (arg7 == NULL) {
12750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12751 }
12752 }
12753 if (obj7) {
12754 {
12755 arg8 = wxString_in_helper(obj7);
12756 if (arg8 == NULL) SWIG_fail;
12757 temp8 = True;
12758 }
12759 }
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12768 {
12769 if (temp3)
12770 delete arg3;
12771 }
12772 {
12773 if (temp8)
12774 delete arg8;
12775 }
12776 return resultobj;
12777 fail:
12778 {
12779 if (temp3)
12780 delete arg3;
12781 }
12782 {
12783 if (temp8)
12784 delete arg8;
12785 }
12786 return NULL;
12787 }
12788
12789
12790 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj;
12792 wxToggleButton *result;
12793 char *kwnames[] = {
12794 NULL
12795 };
12796
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 result = (wxToggleButton *)new wxToggleButton();
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 }
12805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12806 return resultobj;
12807 fail:
12808 return NULL;
12809 }
12810
12811
12812 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
12813 PyObject *obj;
12814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12815 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12816 Py_INCREF(obj);
12817 return Py_BuildValue((char *)"");
12818 }
12819 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12820 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12821 return 1;
12822 }
12823
12824
12825 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12826 PyObject *pyobj;
12827
12828 {
12829 #if wxUSE_UNICODE
12830 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12831 #else
12832 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12833 #endif
12834 }
12835 return pyobj;
12836 }
12837
12838
12839 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj;
12841 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12842 size_t result;
12843 PyObject * obj0 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
12858 return resultobj;
12859 fail:
12860 return NULL;
12861 }
12862
12863
12864 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj;
12866 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12867 size_t arg2 ;
12868 wxWindow *result;
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self",(char *) "n", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12877 {
12878 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = (wxWindow *)(arg1)->GetPage(arg2);
12884
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 {
12889 resultobj = wxPyMake_wxObject(result);
12890 }
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12900 int result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 resultobj = SWIG_PyObj_FromInt((int)result);
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj;
12924 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12925 size_t arg2 ;
12926 wxString *arg3 = 0 ;
12927 bool result;
12928 bool temp3 = False ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 PyObject * obj2 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self",(char *) "n",(char *) "strText", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12938 {
12939 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 {
12943 arg3 = wxString_in_helper(obj2);
12944 if (arg3 == NULL) SWIG_fail;
12945 temp3 = True;
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12955 {
12956 if (temp3)
12957 delete arg3;
12958 }
12959 return resultobj;
12960 fail:
12961 {
12962 if (temp3)
12963 delete arg3;
12964 }
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12972 size_t arg2 ;
12973 wxString result;
12974 PyObject * obj0 = 0 ;
12975 PyObject * obj1 = 0 ;
12976 char *kwnames[] = {
12977 (char *) "self",(char *) "n", NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
12981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12982 {
12983 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
12989
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 {
12994 #if wxUSE_UNICODE
12995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12996 #else
12997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12998 #endif
12999 }
13000 return resultobj;
13001 fail:
13002 return NULL;
13003 }
13004
13005
13006 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj;
13008 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13009 wxImageList *arg2 = (wxImageList *) 0 ;
13010 PyObject * obj0 = 0 ;
13011 PyObject * obj1 = 0 ;
13012 char *kwnames[] = {
13013 (char *) "self",(char *) "imageList", NULL
13014 };
13015
13016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 (arg1)->SetImageList(arg2);
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 Py_INCREF(Py_None); resultobj = Py_None;
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj;
13035 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13036 wxImageList *arg2 = (wxImageList *) 0 ;
13037 PyObject * obj0 = 0 ;
13038 PyObject * obj1 = 0 ;
13039 char *kwnames[] = {
13040 (char *) "self",(char *) "imageList", NULL
13041 };
13042
13043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 (arg1)->AssignImageList(arg2);
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 Py_INCREF(Py_None); resultobj = Py_None;
13054 return resultobj;
13055 fail:
13056 return NULL;
13057 }
13058
13059
13060 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13063 wxImageList *result;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 {
13079 resultobj = wxPyMake_wxObject(result);
13080 }
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13090 size_t arg2 ;
13091 int result;
13092 PyObject * obj0 = 0 ;
13093 PyObject * obj1 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self",(char *) "n", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13100 {
13101 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 resultobj = SWIG_PyObj_FromInt((int)result);
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13121 size_t arg2 ;
13122 int arg3 ;
13123 bool result;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 PyObject * obj2 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "n",(char *) "imageId", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13133 {
13134 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 {
13138 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13158 wxSize *arg2 = 0 ;
13159 wxSize temp2 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "size", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13168 {
13169 arg2 = &temp2;
13170 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13171 }
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 (arg1)->SetPageSize((wxSize const &)*arg2);
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183 }
13184
13185
13186 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13189 wxSize *arg2 = 0 ;
13190 wxSize result;
13191 wxSize temp2 ;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char *kwnames[] = {
13195 (char *) "self",(char *) "sizePage", NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13200 {
13201 arg2 = &temp2;
13202 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13203 }
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 {
13212 wxSize * resultptr;
13213 resultptr = new wxSize((wxSize &) result);
13214 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13215 }
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13225 size_t arg2 ;
13226 bool result;
13227 PyObject * obj0 = 0 ;
13228 PyObject * obj1 = 0 ;
13229 char *kwnames[] = {
13230 (char *) "self",(char *) "n", NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13235 {
13236 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 result = (bool)(arg1)->DeletePage(arg2);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13256 size_t arg2 ;
13257 bool result;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "n", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13266 {
13267 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 result = (bool)(arg1)->RemovePage(arg2);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13278 return resultobj;
13279 fail:
13280 return NULL;
13281 }
13282
13283
13284 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj;
13286 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13287 bool result;
13288 PyObject * obj0 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (bool)(arg1)->DeleteAllPages();
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13312 wxWindow *arg2 = (wxWindow *) 0 ;
13313 wxString *arg3 = 0 ;
13314 bool arg4 = (bool) False ;
13315 int arg5 = (int) -1 ;
13316 bool result;
13317 bool temp3 = False ;
13318 PyObject * obj0 = 0 ;
13319 PyObject * obj1 = 0 ;
13320 PyObject * obj2 = 0 ;
13321 PyObject * obj3 = 0 ;
13322 PyObject * obj4 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13330 {
13331 arg3 = wxString_in_helper(obj2);
13332 if (arg3 == NULL) SWIG_fail;
13333 temp3 = True;
13334 }
13335 if (obj3) {
13336 {
13337 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 }
13341 if (obj4) {
13342 {
13343 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 }
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13355 {
13356 if (temp3)
13357 delete arg3;
13358 }
13359 return resultobj;
13360 fail:
13361 {
13362 if (temp3)
13363 delete arg3;
13364 }
13365 return NULL;
13366 }
13367
13368
13369 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13370 PyObject *resultobj;
13371 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13372 size_t arg2 ;
13373 wxWindow *arg3 = (wxWindow *) 0 ;
13374 wxString *arg4 = 0 ;
13375 bool arg5 = (bool) False ;
13376 int arg6 = (int) -1 ;
13377 bool result;
13378 bool temp4 = False ;
13379 PyObject * obj0 = 0 ;
13380 PyObject * obj1 = 0 ;
13381 PyObject * obj2 = 0 ;
13382 PyObject * obj3 = 0 ;
13383 PyObject * obj4 = 0 ;
13384 PyObject * obj5 = 0 ;
13385 char *kwnames[] = {
13386 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13387 };
13388
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13391 {
13392 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 arg4 = wxString_in_helper(obj3);
13398 if (arg4 == NULL) SWIG_fail;
13399 temp4 = True;
13400 }
13401 if (obj4) {
13402 {
13403 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 }
13407 if (obj5) {
13408 {
13409 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 }
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13416
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13421 {
13422 if (temp4)
13423 delete arg4;
13424 }
13425 return resultobj;
13426 fail:
13427 {
13428 if (temp4)
13429 delete arg4;
13430 }
13431 return NULL;
13432 }
13433
13434
13435 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13438 size_t arg2 ;
13439 int result;
13440 PyObject * obj0 = 0 ;
13441 PyObject * obj1 = 0 ;
13442 char *kwnames[] = {
13443 (char *) "self",(char *) "n", NULL
13444 };
13445
13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13448 {
13449 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 result = (int)(arg1)->SetSelection(arg2);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 resultobj = SWIG_PyObj_FromInt((int)result);
13460 return resultobj;
13461 fail:
13462 return NULL;
13463 }
13464
13465
13466 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13469 bool arg2 = (bool) True ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self",(char *) "forward", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13478 if (obj1) {
13479 {
13480 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 }
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 (arg1)->AdvanceSelection(arg2);
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 Py_INCREF(Py_None); resultobj = Py_None;
13492 return resultobj;
13493 fail:
13494 return NULL;
13495 }
13496
13497
13498 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13499 PyObject *obj;
13500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13501 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13502 Py_INCREF(obj);
13503 return Py_BuildValue((char *)"");
13504 }
13505 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13508 int arg2 = (int) 0 ;
13509 int arg3 = (int) -1 ;
13510 int arg4 = (int) -1 ;
13511 wxBookCtrlEvent *result;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 PyObject * obj2 = 0 ;
13515 PyObject * obj3 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13521 if (obj0) {
13522 {
13523 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 }
13527 if (obj1) {
13528 {
13529 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 }
13533 if (obj2) {
13534 {
13535 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 }
13539 if (obj3) {
13540 {
13541 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 }
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13553 return resultobj;
13554 fail:
13555 return NULL;
13556 }
13557
13558
13559 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13562 int result;
13563 PyObject * obj0 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_PyObj_FromInt((int)result);
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13587 int arg2 ;
13588 PyObject * obj0 = 0 ;
13589 PyObject * obj1 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self",(char *) "nSel", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13596 {
13597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 (arg1)->SetSelection(arg2);
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 Py_INCREF(Py_None); resultobj = Py_None;
13608 return resultobj;
13609 fail:
13610 return NULL;
13611 }
13612
13613
13614 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13615 PyObject *resultobj;
13616 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13617 int result;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 resultobj = SWIG_PyObj_FromInt((int)result);
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj;
13641 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13642 int arg2 ;
13643 PyObject * obj0 = 0 ;
13644 PyObject * obj1 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "nOldSel", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13651 {
13652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 (arg1)->SetOldSelection(arg2);
13658
13659 wxPyEndAllowThreads(__tstate);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 Py_INCREF(Py_None); resultobj = Py_None;
13663 return resultobj;
13664 fail:
13665 return NULL;
13666 }
13667
13668
13669 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13670 PyObject *obj;
13671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13672 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13673 Py_INCREF(obj);
13674 return Py_BuildValue((char *)"");
13675 }
13676 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxWindow *arg1 = (wxWindow *) 0 ;
13679 int arg2 ;
13680 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13681 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13682 wxSize const &arg4_defvalue = wxDefaultSize ;
13683 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13684 long arg5 = (long) 0 ;
13685 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13686 wxString *arg6 = (wxString *) &arg6_defvalue ;
13687 wxNotebook *result;
13688 wxPoint temp3 ;
13689 wxSize temp4 ;
13690 bool temp6 = False ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 PyObject * obj2 = 0 ;
13694 PyObject * obj3 = 0 ;
13695 PyObject * obj4 = 0 ;
13696 PyObject * obj5 = 0 ;
13697 char *kwnames[] = {
13698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13699 };
13700
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13703 {
13704 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 if (obj2) {
13708 {
13709 arg3 = &temp3;
13710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13711 }
13712 }
13713 if (obj3) {
13714 {
13715 arg4 = &temp4;
13716 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13717 }
13718 }
13719 if (obj4) {
13720 {
13721 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 }
13725 if (obj5) {
13726 {
13727 arg6 = wxString_in_helper(obj5);
13728 if (arg6 == NULL) SWIG_fail;
13729 temp6 = True;
13730 }
13731 }
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 {
13740 resultobj = wxPyMake_wxObject(result);
13741 }
13742 {
13743 if (temp6)
13744 delete arg6;
13745 }
13746 return resultobj;
13747 fail:
13748 {
13749 if (temp6)
13750 delete arg6;
13751 }
13752 return NULL;
13753 }
13754
13755
13756 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxNotebook *result;
13759 char *kwnames[] = {
13760 NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (wxNotebook *)new wxNotebook();
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 {
13772 resultobj = wxPyMake_wxObject(result);
13773 }
13774 return resultobj;
13775 fail:
13776 return NULL;
13777 }
13778
13779
13780 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13781 PyObject *resultobj;
13782 wxNotebook *arg1 = (wxNotebook *) 0 ;
13783 wxWindow *arg2 = (wxWindow *) 0 ;
13784 int arg3 ;
13785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13787 wxSize const &arg5_defvalue = wxDefaultSize ;
13788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13789 long arg6 = (long) 0 ;
13790 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13791 wxString *arg7 = (wxString *) &arg7_defvalue ;
13792 bool result;
13793 wxPoint temp4 ;
13794 wxSize temp5 ;
13795 bool temp7 = False ;
13796 PyObject * obj0 = 0 ;
13797 PyObject * obj1 = 0 ;
13798 PyObject * obj2 = 0 ;
13799 PyObject * obj3 = 0 ;
13800 PyObject * obj4 = 0 ;
13801 PyObject * obj5 = 0 ;
13802 PyObject * obj6 = 0 ;
13803 char *kwnames[] = {
13804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13805 };
13806
13807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13810 {
13811 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 if (obj3) {
13815 {
13816 arg4 = &temp4;
13817 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13818 }
13819 }
13820 if (obj4) {
13821 {
13822 arg5 = &temp5;
13823 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13824 }
13825 }
13826 if (obj5) {
13827 {
13828 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 }
13832 if (obj6) {
13833 {
13834 arg7 = wxString_in_helper(obj6);
13835 if (arg7 == NULL) SWIG_fail;
13836 temp7 = True;
13837 }
13838 }
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13847 {
13848 if (temp7)
13849 delete arg7;
13850 }
13851 return resultobj;
13852 fail:
13853 {
13854 if (temp7)
13855 delete arg7;
13856 }
13857 return NULL;
13858 }
13859
13860
13861 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj;
13863 wxNotebook *arg1 = (wxNotebook *) 0 ;
13864 int result;
13865 PyObject * obj0 = 0 ;
13866 char *kwnames[] = {
13867 (char *) "self", NULL
13868 };
13869
13870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 resultobj = SWIG_PyObj_FromInt((int)result);
13880 return resultobj;
13881 fail:
13882 return NULL;
13883 }
13884
13885
13886 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxNotebook *arg1 = (wxNotebook *) 0 ;
13889 wxSize *arg2 = 0 ;
13890 wxSize temp2 ;
13891 PyObject * obj0 = 0 ;
13892 PyObject * obj1 = 0 ;
13893 char *kwnames[] = {
13894 (char *) "self",(char *) "padding", NULL
13895 };
13896
13897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13899 {
13900 arg2 = &temp2;
13901 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13902 }
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 (arg1)->SetPadding((wxSize const &)*arg2);
13906
13907 wxPyEndAllowThreads(__tstate);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 Py_INCREF(Py_None); resultobj = Py_None;
13911 return resultobj;
13912 fail:
13913 return NULL;
13914 }
13915
13916
13917 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13918 PyObject *resultobj;
13919 wxNotebook *arg1 = (wxNotebook *) 0 ;
13920 wxSize *arg2 = 0 ;
13921 wxSize temp2 ;
13922 PyObject * obj0 = 0 ;
13923 PyObject * obj1 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self",(char *) "sz", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
13929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13930 {
13931 arg2 = &temp2;
13932 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13933 }
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 (arg1)->SetTabSize((wxSize const &)*arg2);
13937
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 Py_INCREF(Py_None); resultobj = Py_None;
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxNotebook *arg1 = (wxNotebook *) 0 ;
13951 wxPoint *arg2 = 0 ;
13952 long *arg3 = (long *) 0 ;
13953 int result;
13954 wxPoint temp2 ;
13955 long temp3 ;
13956 PyObject * obj0 = 0 ;
13957 PyObject * obj1 = 0 ;
13958 char *kwnames[] = {
13959 (char *) "self",(char *) "pt", NULL
13960 };
13961
13962 arg3 = &temp3;
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13965 {
13966 arg2 = &temp2;
13967 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13968 }
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 resultobj = SWIG_PyObj_FromInt((int)result);
13977 {
13978 PyObject *o = PyInt_FromLong((long) (*arg3));
13979 resultobj = t_output_helper(resultobj,o);
13980 }
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxNotebook *arg1 = (wxNotebook *) 0 ;
13990 wxSize *arg2 = 0 ;
13991 wxSize result;
13992 wxSize temp2 ;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "sizePage", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 {
14002 arg2 = &temp2;
14003 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14004 }
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 {
14013 wxSize * resultptr;
14014 resultptr = new wxSize((wxSize &) result);
14015 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14016 }
14017 return resultobj;
14018 fail:
14019 return NULL;
14020 }
14021
14022
14023 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14024 PyObject *obj;
14025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14027 Py_INCREF(obj);
14028 return Py_BuildValue((char *)"");
14029 }
14030 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj;
14032 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14033 int arg2 = (int) 0 ;
14034 int arg3 = (int) -1 ;
14035 int arg4 = (int) -1 ;
14036 wxNotebookEvent *result;
14037 PyObject * obj0 = 0 ;
14038 PyObject * obj1 = 0 ;
14039 PyObject * obj2 = 0 ;
14040 PyObject * obj3 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14046 if (obj0) {
14047 {
14048 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 }
14052 if (obj1) {
14053 {
14054 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 }
14058 if (obj2) {
14059 {
14060 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 }
14064 if (obj3) {
14065 {
14066 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 }
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14073
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
14078 return resultobj;
14079 fail:
14080 return NULL;
14081 }
14082
14083
14084 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14085 PyObject *obj;
14086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14087 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14088 Py_INCREF(obj);
14089 return Py_BuildValue((char *)"");
14090 }
14091 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14092 PyObject *resultobj;
14093 wxWindow *arg1 = (wxWindow *) 0 ;
14094 int arg2 ;
14095 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14096 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14097 wxSize const &arg4_defvalue = wxDefaultSize ;
14098 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14099 long arg5 = (long) 0 ;
14100 wxString const &arg6_defvalue = wxPyEmptyString ;
14101 wxString *arg6 = (wxString *) &arg6_defvalue ;
14102 wxListbook *result;
14103 wxPoint temp3 ;
14104 wxSize temp4 ;
14105 bool temp6 = False ;
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 PyObject * obj2 = 0 ;
14109 PyObject * obj3 = 0 ;
14110 PyObject * obj4 = 0 ;
14111 PyObject * obj5 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14114 };
14115
14116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14118 {
14119 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 if (obj2) {
14123 {
14124 arg3 = &temp3;
14125 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14126 }
14127 }
14128 if (obj3) {
14129 {
14130 arg4 = &temp4;
14131 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14132 }
14133 }
14134 if (obj4) {
14135 {
14136 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 }
14140 if (obj5) {
14141 {
14142 arg6 = wxString_in_helper(obj5);
14143 if (arg6 == NULL) SWIG_fail;
14144 temp6 = True;
14145 }
14146 }
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14150
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14155 {
14156 if (temp6)
14157 delete arg6;
14158 }
14159 return resultobj;
14160 fail:
14161 {
14162 if (temp6)
14163 delete arg6;
14164 }
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxListbook *result;
14172 char *kwnames[] = {
14173 NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (wxListbook *)new wxListbook();
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14185 return resultobj;
14186 fail:
14187 return NULL;
14188 }
14189
14190
14191 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14192 PyObject *resultobj;
14193 wxListbook *arg1 = (wxListbook *) 0 ;
14194 wxWindow *arg2 = (wxWindow *) 0 ;
14195 int arg3 ;
14196 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14197 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14198 wxSize const &arg5_defvalue = wxDefaultSize ;
14199 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14200 long arg6 = (long) 0 ;
14201 wxString const &arg7_defvalue = wxPyEmptyString ;
14202 wxString *arg7 = (wxString *) &arg7_defvalue ;
14203 bool result;
14204 wxPoint temp4 ;
14205 wxSize temp5 ;
14206 bool temp7 = 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 PyObject * obj6 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14221 {
14222 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 if (obj3) {
14226 {
14227 arg4 = &temp4;
14228 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14229 }
14230 }
14231 if (obj4) {
14232 {
14233 arg5 = &temp5;
14234 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14235 }
14236 }
14237 if (obj5) {
14238 {
14239 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 }
14243 if (obj6) {
14244 {
14245 arg7 = wxString_in_helper(obj6);
14246 if (arg7 == NULL) SWIG_fail;
14247 temp7 = True;
14248 }
14249 }
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14258 {
14259 if (temp7)
14260 delete arg7;
14261 }
14262 return resultobj;
14263 fail:
14264 {
14265 if (temp7)
14266 delete arg7;
14267 }
14268 return NULL;
14269 }
14270
14271
14272 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj;
14274 wxListbook *arg1 = (wxListbook *) 0 ;
14275 bool result;
14276 PyObject * obj0 = 0 ;
14277 char *kwnames[] = {
14278 (char *) "self", NULL
14279 };
14280
14281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14283 {
14284 PyThreadState* __tstate = wxPyBeginAllowThreads();
14285 result = (bool)((wxListbook const *)arg1)->IsVertical();
14286
14287 wxPyEndAllowThreads(__tstate);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14291 return resultobj;
14292 fail:
14293 return NULL;
14294 }
14295
14296
14297 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14298 PyObject *obj;
14299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14300 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14301 Py_INCREF(obj);
14302 return Py_BuildValue((char *)"");
14303 }
14304 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14307 int arg2 = (int) 0 ;
14308 int arg3 = (int) -1 ;
14309 int arg4 = (int) -1 ;
14310 wxListbookEvent *result;
14311 PyObject * obj0 = 0 ;
14312 PyObject * obj1 = 0 ;
14313 PyObject * obj2 = 0 ;
14314 PyObject * obj3 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14320 if (obj0) {
14321 {
14322 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 }
14326 if (obj1) {
14327 {
14328 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 }
14332 if (obj2) {
14333 {
14334 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 }
14338 if (obj3) {
14339 {
14340 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14359 PyObject *obj;
14360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14361 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14362 Py_INCREF(obj);
14363 return Py_BuildValue((char *)"");
14364 }
14365 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj;
14367 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14368 wxBookCtrlSizer *result;
14369 PyObject * obj0 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "nb", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14384 return resultobj;
14385 fail:
14386 return NULL;
14387 }
14388
14389
14390 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 (arg1)->RecalcSizes();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 Py_INCREF(Py_None); resultobj = Py_None;
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14417 wxSize result;
14418 PyObject * obj0 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "self", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 result = (arg1)->CalcMin();
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 {
14433 wxSize * resultptr;
14434 resultptr = new wxSize((wxSize &) result);
14435 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14436 }
14437 return resultobj;
14438 fail:
14439 return NULL;
14440 }
14441
14442
14443 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj;
14445 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14446 wxBookCtrl *result;
14447 PyObject * obj0 = 0 ;
14448 char *kwnames[] = {
14449 (char *) "self", NULL
14450 };
14451
14452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14454 {
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
14456 result = (wxBookCtrl *)(arg1)->GetControl();
14457
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14469 PyObject *obj;
14470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14471 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14472 Py_INCREF(obj);
14473 return Py_BuildValue((char *)"");
14474 }
14475 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxNotebook *arg1 = (wxNotebook *) 0 ;
14478 wxNotebookSizer *result;
14479 PyObject * obj0 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "nb", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
14488 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
14493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14494 return resultobj;
14495 fail:
14496 return NULL;
14497 }
14498
14499
14500 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14501 PyObject *resultobj;
14502 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 (arg1)->RecalcSizes();
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 Py_INCREF(Py_None); resultobj = Py_None;
14518 return resultobj;
14519 fail:
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14527 wxSize result;
14528 PyObject * obj0 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 result = (arg1)->CalcMin();
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 {
14543 wxSize * resultptr;
14544 resultptr = new wxSize((wxSize &) result);
14545 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14546 }
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14556 wxNotebook *result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (wxNotebook *)(arg1)->GetNotebook();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 {
14572 resultobj = wxPyMake_wxObject(result);
14573 }
14574 return resultobj;
14575 fail:
14576 return NULL;
14577 }
14578
14579
14580 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14581 PyObject *obj;
14582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14583 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14584 Py_INCREF(obj);
14585 return Py_BuildValue((char *)"");
14586 }
14587 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14590 int result;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14598 {
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (int)(arg1)->GetId();
14601
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
14605 resultobj = SWIG_PyObj_FromInt((int)result);
14606 return resultobj;
14607 fail:
14608 return NULL;
14609 }
14610
14611
14612 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14615 wxControl *result;
14616 PyObject * obj0 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 result = (wxControl *)(arg1)->GetControl();
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 {
14631 resultobj = wxPyMake_wxObject(result);
14632 }
14633 return resultobj;
14634 fail:
14635 return NULL;
14636 }
14637
14638
14639 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14642 wxToolBarBase *result;
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "self", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (wxToolBarBase *)(arg1)->GetToolBar();
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 {
14658 resultobj = wxPyMake_wxObject(result);
14659 }
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14669 int result;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 result = (int)(arg1)->IsButton();
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 resultobj = SWIG_PyObj_FromInt((int)result);
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14694 int result;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 result = (int)(arg1)->IsControl();
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 resultobj = SWIG_PyObj_FromInt((int)result);
14710 return resultobj;
14711 fail:
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14719 int result;
14720 PyObject * obj0 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "self", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (int)(arg1)->IsSeparator();
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = SWIG_PyObj_FromInt((int)result);
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14744 int result;
14745 PyObject * obj0 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (int)(arg1)->GetStyle();
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = SWIG_PyObj_FromInt((int)result);
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14769 int result;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (int)(arg1)->GetKind();
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 resultobj = SWIG_PyObj_FromInt((int)result);
14785 return resultobj;
14786 fail:
14787 return NULL;
14788 }
14789
14790
14791 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14794 bool result;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 result = (bool)(arg1)->IsEnabled();
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14819 bool result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (bool)(arg1)->IsToggled();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14844 bool result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (bool)(arg1)->CanBeToggled();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14869 wxBitmap *result;
14870 PyObject * obj0 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "self", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14877 {
14878 PyThreadState* __tstate = wxPyBeginAllowThreads();
14879 {
14880 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14881 result = (wxBitmap *) &_result_ref;
14882 }
14883
14884 wxPyEndAllowThreads(__tstate);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 }
14887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14888 return resultobj;
14889 fail:
14890 return NULL;
14891 }
14892
14893
14894 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14897 wxBitmap *result;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
14904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 {
14908 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
14909 result = (wxBitmap *) &_result_ref;
14910 }
14911
14912 wxPyEndAllowThreads(__tstate);
14913 if (PyErr_Occurred()) SWIG_fail;
14914 }
14915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14916 return resultobj;
14917 fail:
14918 return NULL;
14919 }
14920
14921
14922 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14925 wxBitmap result;
14926 PyObject * obj0 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
14932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (arg1)->GetBitmap();
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 {
14941 wxBitmap * resultptr;
14942 resultptr = new wxBitmap((wxBitmap &) result);
14943 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14944 }
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj;
14953 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14954 wxString result;
14955 PyObject * obj0 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
14961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = (arg1)->GetLabel();
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 {
14970 #if wxUSE_UNICODE
14971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14972 #else
14973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14974 #endif
14975 }
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14985 wxString result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
14992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (arg1)->GetShortHelp();
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 {
15001 #if wxUSE_UNICODE
15002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15003 #else
15004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15005 #endif
15006 }
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15016 wxString result;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (arg1)->GetLongHelp();
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 {
15032 #if wxUSE_UNICODE
15033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15034 #else
15035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15036 #endif
15037 }
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15047 bool arg2 ;
15048 bool result;
15049 PyObject * obj0 = 0 ;
15050 PyObject * obj1 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "enable", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = (bool)(arg1)->Enable(arg2);
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15069 return resultobj;
15070 fail:
15071 return NULL;
15072 }
15073
15074
15075 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15078 PyObject * obj0 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 (arg1)->Toggle();
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 Py_INCREF(Py_None); resultobj = Py_None;
15093 return resultobj;
15094 fail:
15095 return NULL;
15096 }
15097
15098
15099 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15102 bool arg2 ;
15103 bool result;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self",(char *) "toggle", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15112 {
15113 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 result = (bool)(arg1)->SetToggle(arg2);
15119
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15124 return resultobj;
15125 fail:
15126 return NULL;
15127 }
15128
15129
15130 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj;
15132 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15133 wxString *arg2 = 0 ;
15134 bool result;
15135 bool temp2 = False ;
15136 PyObject * obj0 = 0 ;
15137 PyObject * obj1 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self",(char *) "help", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15144 {
15145 arg2 = wxString_in_helper(obj1);
15146 if (arg2 == NULL) SWIG_fail;
15147 temp2 = True;
15148 }
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15157 {
15158 if (temp2)
15159 delete arg2;
15160 }
15161 return resultobj;
15162 fail:
15163 {
15164 if (temp2)
15165 delete arg2;
15166 }
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15174 wxString *arg2 = 0 ;
15175 bool result;
15176 bool temp2 = False ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "help", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15185 {
15186 arg2 = wxString_in_helper(obj1);
15187 if (arg2 == NULL) SWIG_fail;
15188 temp2 = True;
15189 }
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15198 {
15199 if (temp2)
15200 delete arg2;
15201 }
15202 return resultobj;
15203 fail:
15204 {
15205 if (temp2)
15206 delete arg2;
15207 }
15208 return NULL;
15209 }
15210
15211
15212 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj;
15214 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15215 wxBitmap *arg2 = 0 ;
15216 PyObject * obj0 = 0 ;
15217 PyObject * obj1 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self",(char *) "bmp", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15225 if (arg2 == NULL) {
15226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15227 }
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 Py_INCREF(Py_None); resultobj = Py_None;
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15245 wxBitmap *arg2 = 0 ;
15246 PyObject * obj0 = 0 ;
15247 PyObject * obj1 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self",(char *) "bmp", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15255 if (arg2 == NULL) {
15256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15257 }
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 Py_INCREF(Py_None); resultobj = Py_None;
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15275 wxString *arg2 = 0 ;
15276 bool temp2 = False ;
15277 PyObject * obj0 = 0 ;
15278 PyObject * obj1 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self",(char *) "label", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15285 {
15286 arg2 = wxString_in_helper(obj1);
15287 if (arg2 == NULL) SWIG_fail;
15288 temp2 = True;
15289 }
15290 {
15291 PyThreadState* __tstate = wxPyBeginAllowThreads();
15292 (arg1)->SetLabel((wxString const &)*arg2);
15293
15294 wxPyEndAllowThreads(__tstate);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
15297 Py_INCREF(Py_None); resultobj = Py_None;
15298 {
15299 if (temp2)
15300 delete arg2;
15301 }
15302 return resultobj;
15303 fail:
15304 {
15305 if (temp2)
15306 delete arg2;
15307 }
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15315 PyObject * obj0 = 0 ;
15316 char *kwnames[] = {
15317 (char *) "self", NULL
15318 };
15319
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->Detach();
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15339 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self",(char *) "tbar", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 (arg1)->Attach(arg2);
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 Py_INCREF(Py_None); resultobj = Py_None;
15357 return resultobj;
15358 fail:
15359 return NULL;
15360 }
15361
15362
15363 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj;
15365 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15366 PyObject *result;
15367 PyObject * obj0 = 0 ;
15368 char *kwnames[] = {
15369 (char *) "self", NULL
15370 };
15371
15372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 resultobj = result;
15382 return resultobj;
15383 fail:
15384 return NULL;
15385 }
15386
15387
15388 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15391 PyObject *arg2 = (PyObject *) 0 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self",(char *) "clientData", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400 arg2 = obj1;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 wxToolBarToolBase_SetClientData(arg1,arg2);
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 Py_INCREF(Py_None); resultobj = Py_None;
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15416 PyObject *obj;
15417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15418 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15419 Py_INCREF(obj);
15420 return Py_BuildValue((char *)"");
15421 }
15422 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15425 int arg2 ;
15426 wxString *arg3 = 0 ;
15427 wxBitmap *arg4 = 0 ;
15428 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15429 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15430 int arg6 = (int) wxITEM_NORMAL ;
15431 wxString const &arg7_defvalue = wxPyEmptyString ;
15432 wxString *arg7 = (wxString *) &arg7_defvalue ;
15433 wxString const &arg8_defvalue = wxPyEmptyString ;
15434 wxString *arg8 = (wxString *) &arg8_defvalue ;
15435 PyObject *arg9 = (PyObject *) NULL ;
15436 wxToolBarToolBase *result;
15437 bool temp3 = False ;
15438 bool temp7 = False ;
15439 bool temp8 = False ;
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 PyObject * obj2 = 0 ;
15443 PyObject * obj3 = 0 ;
15444 PyObject * obj4 = 0 ;
15445 PyObject * obj5 = 0 ;
15446 PyObject * obj6 = 0 ;
15447 PyObject * obj7 = 0 ;
15448 PyObject * obj8 = 0 ;
15449 char *kwnames[] = {
15450 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15451 };
15452
15453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15455 {
15456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 {
15460 arg3 = wxString_in_helper(obj2);
15461 if (arg3 == NULL) SWIG_fail;
15462 temp3 = True;
15463 }
15464 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15465 if (arg4 == NULL) {
15466 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15467 }
15468 if (obj4) {
15469 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15470 if (arg5 == NULL) {
15471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15472 }
15473 }
15474 if (obj5) {
15475 {
15476 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 }
15480 if (obj6) {
15481 {
15482 arg7 = wxString_in_helper(obj6);
15483 if (arg7 == NULL) SWIG_fail;
15484 temp7 = True;
15485 }
15486 }
15487 if (obj7) {
15488 {
15489 arg8 = wxString_in_helper(obj7);
15490 if (arg8 == NULL) SWIG_fail;
15491 temp8 = True;
15492 }
15493 }
15494 if (obj8) {
15495 arg9 = obj8;
15496 }
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15500
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 {
15505 resultobj = wxPyMake_wxObject(result);
15506 }
15507 {
15508 if (temp3)
15509 delete arg3;
15510 }
15511 {
15512 if (temp7)
15513 delete arg7;
15514 }
15515 {
15516 if (temp8)
15517 delete arg8;
15518 }
15519 return resultobj;
15520 fail:
15521 {
15522 if (temp3)
15523 delete arg3;
15524 }
15525 {
15526 if (temp7)
15527 delete arg7;
15528 }
15529 {
15530 if (temp8)
15531 delete arg8;
15532 }
15533 return NULL;
15534 }
15535
15536
15537 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15538 PyObject *resultobj;
15539 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15540 size_t arg2 ;
15541 int arg3 ;
15542 wxString *arg4 = 0 ;
15543 wxBitmap *arg5 = 0 ;
15544 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15545 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15546 int arg7 = (int) wxITEM_NORMAL ;
15547 wxString const &arg8_defvalue = wxPyEmptyString ;
15548 wxString *arg8 = (wxString *) &arg8_defvalue ;
15549 wxString const &arg9_defvalue = wxPyEmptyString ;
15550 wxString *arg9 = (wxString *) &arg9_defvalue ;
15551 PyObject *arg10 = (PyObject *) NULL ;
15552 wxToolBarToolBase *result;
15553 bool temp4 = False ;
15554 bool temp8 = False ;
15555 bool temp9 = False ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 PyObject * obj2 = 0 ;
15559 PyObject * obj3 = 0 ;
15560 PyObject * obj4 = 0 ;
15561 PyObject * obj5 = 0 ;
15562 PyObject * obj6 = 0 ;
15563 PyObject * obj7 = 0 ;
15564 PyObject * obj8 = 0 ;
15565 PyObject * obj9 = 0 ;
15566 char *kwnames[] = {
15567 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15568 };
15569
15570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15572 {
15573 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 {
15577 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 {
15581 arg4 = wxString_in_helper(obj3);
15582 if (arg4 == NULL) SWIG_fail;
15583 temp4 = True;
15584 }
15585 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15586 if (arg5 == NULL) {
15587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15588 }
15589 if (obj5) {
15590 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15591 if (arg6 == NULL) {
15592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15593 }
15594 }
15595 if (obj6) {
15596 {
15597 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 }
15601 if (obj7) {
15602 {
15603 arg8 = wxString_in_helper(obj7);
15604 if (arg8 == NULL) SWIG_fail;
15605 temp8 = True;
15606 }
15607 }
15608 if (obj8) {
15609 {
15610 arg9 = wxString_in_helper(obj8);
15611 if (arg9 == NULL) SWIG_fail;
15612 temp9 = True;
15613 }
15614 }
15615 if (obj9) {
15616 arg10 = obj9;
15617 }
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 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);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 {
15626 resultobj = wxPyMake_wxObject(result);
15627 }
15628 {
15629 if (temp4)
15630 delete arg4;
15631 }
15632 {
15633 if (temp8)
15634 delete arg8;
15635 }
15636 {
15637 if (temp9)
15638 delete arg9;
15639 }
15640 return resultobj;
15641 fail:
15642 {
15643 if (temp4)
15644 delete arg4;
15645 }
15646 {
15647 if (temp8)
15648 delete arg8;
15649 }
15650 {
15651 if (temp9)
15652 delete arg9;
15653 }
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15661 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15662 wxToolBarToolBase *result;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 char *kwnames[] = {
15666 (char *) "self",(char *) "tool", NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 {
15680 resultobj = wxPyMake_wxObject(result);
15681 }
15682 return resultobj;
15683 fail:
15684 return NULL;
15685 }
15686
15687
15688 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj;
15690 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15691 size_t arg2 ;
15692 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15693 wxToolBarToolBase *result;
15694 PyObject * obj0 = 0 ;
15695 PyObject * obj1 = 0 ;
15696 PyObject * obj2 = 0 ;
15697 char *kwnames[] = {
15698 (char *) "self",(char *) "pos",(char *) "tool", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15703 {
15704 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 {
15716 resultobj = wxPyMake_wxObject(result);
15717 }
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15727 wxControl *arg2 = (wxControl *) 0 ;
15728 wxToolBarToolBase *result;
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 char *kwnames[] = {
15732 (char *) "self",(char *) "control", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15738 {
15739 PyThreadState* __tstate = wxPyBeginAllowThreads();
15740 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15741
15742 wxPyEndAllowThreads(__tstate);
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
15745 {
15746 resultobj = wxPyMake_wxObject(result);
15747 }
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15757 size_t arg2 ;
15758 wxControl *arg3 = (wxControl *) 0 ;
15759 wxToolBarToolBase *result;
15760 PyObject * obj0 = 0 ;
15761 PyObject * obj1 = 0 ;
15762 PyObject * obj2 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self",(char *) "pos",(char *) "control", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15769 {
15770 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 {
15782 resultobj = wxPyMake_wxObject(result);
15783 }
15784 return resultobj;
15785 fail:
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15793 int arg2 ;
15794 wxControl *result;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "id", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15803 {
15804 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (wxControl *)(arg1)->FindControl(arg2);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 resultobj = wxPyMake_wxObject(result);
15816 }
15817 return resultobj;
15818 fail:
15819 return NULL;
15820 }
15821
15822
15823 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj;
15825 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15826 wxToolBarToolBase *result;
15827 PyObject * obj0 = 0 ;
15828 char *kwnames[] = {
15829 (char *) "self", NULL
15830 };
15831
15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 {
15842 resultobj = wxPyMake_wxObject(result);
15843 }
15844 return resultobj;
15845 fail:
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15853 size_t arg2 ;
15854 wxToolBarToolBase *result;
15855 PyObject * obj0 = 0 ;
15856 PyObject * obj1 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "pos", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15863 {
15864 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15870
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 {
15875 resultobj = wxPyMake_wxObject(result);
15876 }
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15886 int arg2 ;
15887 wxToolBarToolBase *result;
15888 PyObject * obj0 = 0 ;
15889 PyObject * obj1 = 0 ;
15890 char *kwnames[] = {
15891 (char *) "self",(char *) "id", NULL
15892 };
15893
15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15896 {
15897 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 {
15908 resultobj = wxPyMake_wxObject(result);
15909 }
15910 return resultobj;
15911 fail:
15912 return NULL;
15913 }
15914
15915
15916 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15919 size_t arg2 ;
15920 bool result;
15921 PyObject * obj0 = 0 ;
15922 PyObject * obj1 = 0 ;
15923 char *kwnames[] = {
15924 (char *) "self",(char *) "pos", NULL
15925 };
15926
15927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15929 {
15930 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (bool)(arg1)->DeleteToolByPos(arg2);
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15950 int arg2 ;
15951 bool result;
15952 PyObject * obj0 = 0 ;
15953 PyObject * obj1 = 0 ;
15954 char *kwnames[] = {
15955 (char *) "self",(char *) "id", NULL
15956 };
15957
15958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15960 {
15961 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 result = (bool)(arg1)->DeleteTool(arg2);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 (arg1)->ClearTools();
15991
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 Py_INCREF(Py_None); resultobj = Py_None;
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj;
16004 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16005 bool result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 result = (bool)(arg1)->Realize();
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16030 int arg2 ;
16031 bool arg3 ;
16032 PyObject * obj0 = 0 ;
16033 PyObject * obj1 = 0 ;
16034 PyObject * obj2 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self",(char *) "id",(char *) "enable", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16041 {
16042 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 }
16045 {
16046 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 (arg1)->EnableTool(arg2,arg3);
16052
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 Py_INCREF(Py_None); resultobj = Py_None;
16057 return resultobj;
16058 fail:
16059 return NULL;
16060 }
16061
16062
16063 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16066 int arg2 ;
16067 bool arg3 ;
16068 PyObject * obj0 = 0 ;
16069 PyObject * obj1 = 0 ;
16070 PyObject * obj2 = 0 ;
16071 char *kwnames[] = {
16072 (char *) "self",(char *) "id",(char *) "toggle", NULL
16073 };
16074
16075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16077 {
16078 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 {
16082 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 (arg1)->ToggleTool(arg2,arg3);
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 Py_INCREF(Py_None); resultobj = Py_None;
16093 return resultobj;
16094 fail:
16095 return NULL;
16096 }
16097
16098
16099 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16100 PyObject *resultobj;
16101 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16102 int arg2 ;
16103 bool arg3 ;
16104 PyObject * obj0 = 0 ;
16105 PyObject * obj1 = 0 ;
16106 PyObject * obj2 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "id",(char *) "toggle", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16113 {
16114 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 {
16118 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 {
16122 PyThreadState* __tstate = wxPyBeginAllowThreads();
16123 (arg1)->SetToggle(arg2,arg3);
16124
16125 wxPyEndAllowThreads(__tstate);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 Py_INCREF(Py_None); resultobj = Py_None;
16129 return resultobj;
16130 fail:
16131 return NULL;
16132 }
16133
16134
16135 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16136 PyObject *resultobj;
16137 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16138 int arg2 ;
16139 PyObject *result;
16140 PyObject * obj0 = 0 ;
16141 PyObject * obj1 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self",(char *) "id", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16148 {
16149 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 resultobj = result;
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16169 int arg2 ;
16170 PyObject *arg3 = (PyObject *) 0 ;
16171 PyObject * obj0 = 0 ;
16172 PyObject * obj1 = 0 ;
16173 PyObject * obj2 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self",(char *) "id",(char *) "clientData", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 {
16181 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 arg3 = obj2;
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 Py_INCREF(Py_None); resultobj = Py_None;
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16202 int arg2 ;
16203 int result;
16204 PyObject * obj0 = 0 ;
16205 PyObject * obj1 = 0 ;
16206 char *kwnames[] = {
16207 (char *) "self",(char *) "id", NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16212 {
16213 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 resultobj = SWIG_PyObj_FromInt((int)result);
16224 return resultobj;
16225 fail:
16226 return NULL;
16227 }
16228
16229
16230 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16233 int arg2 ;
16234 bool result;
16235 PyObject * obj0 = 0 ;
16236 PyObject * obj1 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self",(char *) "id", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16243 {
16244 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 result = (bool)(arg1)->GetToolState(arg2);
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16264 int arg2 ;
16265 bool result;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self",(char *) "id", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16274 {
16275 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 {
16279 PyThreadState* __tstate = wxPyBeginAllowThreads();
16280 result = (bool)(arg1)->GetToolEnabled(arg2);
16281
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16286 return resultobj;
16287 fail:
16288 return NULL;
16289 }
16290
16291
16292 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16295 int arg2 ;
16296 wxString *arg3 = 0 ;
16297 bool temp3 = False ;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 PyObject * obj2 = 0 ;
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "id",(char *) "helpString", NULL
16303 };
16304
16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16307 {
16308 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 {
16312 arg3 = wxString_in_helper(obj2);
16313 if (arg3 == NULL) SWIG_fail;
16314 temp3 = True;
16315 }
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 Py_INCREF(Py_None); resultobj = Py_None;
16324 {
16325 if (temp3)
16326 delete arg3;
16327 }
16328 return resultobj;
16329 fail:
16330 {
16331 if (temp3)
16332 delete arg3;
16333 }
16334 return NULL;
16335 }
16336
16337
16338 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16339 PyObject *resultobj;
16340 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16341 int arg2 ;
16342 wxString result;
16343 PyObject * obj0 = 0 ;
16344 PyObject * obj1 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self",(char *) "id", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16351 {
16352 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 result = (arg1)->GetToolShortHelp(arg2);
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 {
16363 #if wxUSE_UNICODE
16364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16365 #else
16366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16367 #endif
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16378 int arg2 ;
16379 wxString *arg3 = 0 ;
16380 bool temp3 = False ;
16381 PyObject * obj0 = 0 ;
16382 PyObject * obj1 = 0 ;
16383 PyObject * obj2 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self",(char *) "id",(char *) "helpString", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 {
16391 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 {
16395 arg3 = wxString_in_helper(obj2);
16396 if (arg3 == NULL) SWIG_fail;
16397 temp3 = True;
16398 }
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 {
16408 if (temp3)
16409 delete arg3;
16410 }
16411 return resultobj;
16412 fail:
16413 {
16414 if (temp3)
16415 delete arg3;
16416 }
16417 return NULL;
16418 }
16419
16420
16421 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16424 int arg2 ;
16425 wxString result;
16426 PyObject * obj0 = 0 ;
16427 PyObject * obj1 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self",(char *) "id", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16434 {
16435 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 result = (arg1)->GetToolLongHelp(arg2);
16441
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 {
16446 #if wxUSE_UNICODE
16447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16448 #else
16449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16450 #endif
16451 }
16452 return resultobj;
16453 fail:
16454 return NULL;
16455 }
16456
16457
16458 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj;
16460 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16461 int arg2 ;
16462 int arg3 ;
16463 PyObject * obj0 = 0 ;
16464 PyObject * obj1 = 0 ;
16465 PyObject * obj2 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self",(char *) "x",(char *) "y", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16472 {
16473 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 {
16477 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 (arg1)->SetMargins(arg2,arg3);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 Py_INCREF(Py_None); resultobj = Py_None;
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16497 wxSize *arg2 = 0 ;
16498 wxSize temp2 ;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self",(char *) "size", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16507 {
16508 arg2 = &temp2;
16509 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16510 }
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->SetMargins((wxSize const &)*arg2);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16528 int arg2 ;
16529 PyObject * obj0 = 0 ;
16530 PyObject * obj1 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self",(char *) "packing", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 {
16538 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 (arg1)->SetToolPacking(arg2);
16544
16545 wxPyEndAllowThreads(__tstate);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 }
16548 Py_INCREF(Py_None); resultobj = Py_None;
16549 return resultobj;
16550 fail:
16551 return NULL;
16552 }
16553
16554
16555 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16558 int arg2 ;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "separation", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16567 {
16568 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 (arg1)->SetToolSeparation(arg2);
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 Py_INCREF(Py_None); resultobj = Py_None;
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16588 wxSize result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = (arg1)->GetToolMargins();
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 wxSize * resultptr;
16605 resultptr = new wxSize((wxSize &) result);
16606 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16607 }
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16617 wxSize result;
16618 PyObject * obj0 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self", NULL
16621 };
16622
16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (arg1)->GetMargins();
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 {
16633 wxSize * resultptr;
16634 resultptr = new wxSize((wxSize &) result);
16635 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16636 }
16637 return resultobj;
16638 fail:
16639 return NULL;
16640 }
16641
16642
16643 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj;
16645 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16646 int result;
16647 PyObject * obj0 = 0 ;
16648 char *kwnames[] = {
16649 (char *) "self", NULL
16650 };
16651
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16654 {
16655 PyThreadState* __tstate = wxPyBeginAllowThreads();
16656 result = (int)(arg1)->GetToolPacking();
16657
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 resultobj = SWIG_PyObj_FromInt((int)result);
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16671 int result;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (int)(arg1)->GetToolSeparation();
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 resultobj = SWIG_PyObj_FromInt((int)result);
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16696 int arg2 ;
16697 PyObject * obj0 = 0 ;
16698 PyObject * obj1 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self",(char *) "nRows", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16705 {
16706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 (arg1)->SetRows(arg2);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 Py_INCREF(Py_None); resultobj = Py_None;
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16726 int arg2 ;
16727 int arg3 ;
16728 PyObject * obj0 = 0 ;
16729 PyObject * obj1 = 0 ;
16730 PyObject * obj2 = 0 ;
16731 char *kwnames[] = {
16732 (char *) "self",(char *) "rows",(char *) "cols", NULL
16733 };
16734
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16737 {
16738 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 {
16742 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->SetMaxRowsCols(arg2,arg3);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16762 int result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (int)(arg1)->GetMaxRows();
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_PyObj_FromInt((int)result);
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16787 int result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 result = (int)(arg1)->GetMaxCols();
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = SWIG_PyObj_FromInt((int)result);
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16812 wxSize *arg2 = 0 ;
16813 wxSize temp2 ;
16814 PyObject * obj0 = 0 ;
16815 PyObject * obj1 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self",(char *) "size", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16822 {
16823 arg2 = &temp2;
16824 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16825 }
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 Py_INCREF(Py_None); resultobj = Py_None;
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16843 wxSize result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 result = (arg1)->GetToolBitmapSize();
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 {
16859 wxSize * resultptr;
16860 resultptr = new wxSize((wxSize &) result);
16861 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16862 }
16863 return resultobj;
16864 fail:
16865 return NULL;
16866 }
16867
16868
16869 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16870 PyObject *resultobj;
16871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16872 wxSize result;
16873 PyObject * obj0 = 0 ;
16874 char *kwnames[] = {
16875 (char *) "self", NULL
16876 };
16877
16878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 result = (arg1)->GetToolSize();
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 {
16888 wxSize * resultptr;
16889 resultptr = new wxSize((wxSize &) result);
16890 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16891 }
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16901 int arg2 ;
16902 int arg3 ;
16903 wxToolBarToolBase *result;
16904 PyObject * obj0 = 0 ;
16905 PyObject * obj1 = 0 ;
16906 PyObject * obj2 = 0 ;
16907 char *kwnames[] = {
16908 (char *) "self",(char *) "x",(char *) "y", NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
16912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16913 {
16914 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 {
16918 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
16929 resultobj = wxPyMake_wxObject(result);
16930 }
16931 return resultobj;
16932 fail:
16933 return NULL;
16934 }
16935
16936
16937 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16940 int arg2 ;
16941 wxToolBarToolBase *result;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self",(char *) "toolid", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
16949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16950 {
16951 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 {
16962 resultobj = wxPyMake_wxObject(result);
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16973 bool result;
16974 PyObject * obj0 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",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 = (bool)(arg1)->IsVertical();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
16996 PyObject *obj;
16997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16998 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
16999 Py_INCREF(obj);
17000 return Py_BuildValue((char *)"");
17001 }
17002 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj;
17004 wxWindow *arg1 = (wxWindow *) 0 ;
17005 int arg2 ;
17006 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17007 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17008 wxSize const &arg4_defvalue = wxDefaultSize ;
17009 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17010 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17011 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17012 wxString *arg6 = (wxString *) &arg6_defvalue ;
17013 wxToolBar *result;
17014 wxPoint temp3 ;
17015 wxSize temp4 ;
17016 bool temp6 = False ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 PyObject * obj2 = 0 ;
17020 PyObject * obj3 = 0 ;
17021 PyObject * obj4 = 0 ;
17022 PyObject * obj5 = 0 ;
17023 char *kwnames[] = {
17024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17025 };
17026
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17029 {
17030 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 if (obj2) {
17034 {
17035 arg3 = &temp3;
17036 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17037 }
17038 }
17039 if (obj3) {
17040 {
17041 arg4 = &temp4;
17042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17043 }
17044 }
17045 if (obj4) {
17046 {
17047 arg5 = (long) SWIG_PyObj_AsLong(obj4);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 }
17051 if (obj5) {
17052 {
17053 arg6 = wxString_in_helper(obj5);
17054 if (arg6 == NULL) SWIG_fail;
17055 temp6 = True;
17056 }
17057 }
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 {
17066 resultobj = wxPyMake_wxObject(result);
17067 }
17068 {
17069 if (temp6)
17070 delete arg6;
17071 }
17072 return resultobj;
17073 fail:
17074 {
17075 if (temp6)
17076 delete arg6;
17077 }
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxToolBar *result;
17085 char *kwnames[] = {
17086 NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 result = (wxToolBar *)new wxToolBar();
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 {
17098 resultobj = wxPyMake_wxObject(result);
17099 }
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxToolBar *arg1 = (wxToolBar *) 0 ;
17109 wxWindow *arg2 = (wxWindow *) 0 ;
17110 int arg3 ;
17111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17113 wxSize const &arg5_defvalue = wxDefaultSize ;
17114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17115 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17116 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17117 wxString *arg7 = (wxString *) &arg7_defvalue ;
17118 bool result;
17119 wxPoint temp4 ;
17120 wxSize temp5 ;
17121 bool temp7 = False ;
17122 PyObject * obj0 = 0 ;
17123 PyObject * obj1 = 0 ;
17124 PyObject * obj2 = 0 ;
17125 PyObject * obj3 = 0 ;
17126 PyObject * obj4 = 0 ;
17127 PyObject * obj5 = 0 ;
17128 PyObject * obj6 = 0 ;
17129 char *kwnames[] = {
17130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17131 };
17132
17133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17136 {
17137 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 if (obj3) {
17141 {
17142 arg4 = &temp4;
17143 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17144 }
17145 }
17146 if (obj4) {
17147 {
17148 arg5 = &temp5;
17149 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17150 }
17151 }
17152 if (obj5) {
17153 {
17154 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 }
17158 if (obj6) {
17159 {
17160 arg7 = wxString_in_helper(obj6);
17161 if (arg7 == NULL) SWIG_fail;
17162 temp7 = True;
17163 }
17164 }
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17173 {
17174 if (temp7)
17175 delete arg7;
17176 }
17177 return resultobj;
17178 fail:
17179 {
17180 if (temp7)
17181 delete arg7;
17182 }
17183 return NULL;
17184 }
17185
17186
17187 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj;
17189 wxToolBar *arg1 = (wxToolBar *) 0 ;
17190 int arg2 ;
17191 int arg3 ;
17192 wxToolBarToolBase *result;
17193 PyObject * obj0 = 0 ;
17194 PyObject * obj1 = 0 ;
17195 PyObject * obj2 = 0 ;
17196 char *kwnames[] = {
17197 (char *) "self",(char *) "x",(char *) "y", NULL
17198 };
17199
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17202 {
17203 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 {
17207 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 {
17218 resultobj = wxPyMake_wxObject(result);
17219 }
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17227 PyObject *obj;
17228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17229 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17230 Py_INCREF(obj);
17231 return Py_BuildValue((char *)"");
17232 }
17233 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17234 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17235 return 1;
17236 }
17237
17238
17239 static PyObject *_wrap_ListCtrlNameStr_get() {
17240 PyObject *pyobj;
17241
17242 {
17243 #if wxUSE_UNICODE
17244 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17245 #else
17246 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17247 #endif
17248 }
17249 return pyobj;
17250 }
17251
17252
17253 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxColour const &arg1_defvalue = wxNullColour ;
17256 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17257 wxColour const &arg2_defvalue = wxNullColour ;
17258 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17259 wxFont const &arg3_defvalue = wxNullFont ;
17260 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17261 wxListItemAttr *result;
17262 wxColour temp1 ;
17263 wxColour temp2 ;
17264 PyObject * obj0 = 0 ;
17265 PyObject * obj1 = 0 ;
17266 PyObject * obj2 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17272 if (obj0) {
17273 {
17274 arg1 = &temp1;
17275 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17276 }
17277 }
17278 if (obj1) {
17279 {
17280 arg2 = &temp2;
17281 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17282 }
17283 }
17284 if (obj2) {
17285 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17286 if (arg3 == NULL) {
17287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17288 }
17289 }
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17298 return resultobj;
17299 fail:
17300 return NULL;
17301 }
17302
17303
17304 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17307 wxColour *arg2 = 0 ;
17308 wxColour temp2 ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self",(char *) "colText", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17317 {
17318 arg2 = &temp2;
17319 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17320 }
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 (arg1)->SetTextColour((wxColour const &)*arg2);
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 Py_INCREF(Py_None); resultobj = Py_None;
17329 return resultobj;
17330 fail:
17331 return NULL;
17332 }
17333
17334
17335 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj;
17337 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17338 wxColour *arg2 = 0 ;
17339 wxColour temp2 ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self",(char *) "colBack", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17348 {
17349 arg2 = &temp2;
17350 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17351 }
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 Py_INCREF(Py_None); resultobj = Py_None;
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17369 wxFont *arg2 = 0 ;
17370 PyObject * obj0 = 0 ;
17371 PyObject * obj1 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self",(char *) "font", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17379 if (arg2 == NULL) {
17380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17381 }
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 (arg1)->SetFont((wxFont const &)*arg2);
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 Py_INCREF(Py_None); resultobj = Py_None;
17390 return resultobj;
17391 fail:
17392 return NULL;
17393 }
17394
17395
17396 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17399 bool result;
17400 PyObject * obj0 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = (bool)(arg1)->HasTextColour();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17424 bool result;
17425 PyObject * obj0 = 0 ;
17426 char *kwnames[] = {
17427 (char *) "self", NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (bool)(arg1)->HasBackgroundColour();
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17449 bool result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (bool)(arg1)->HasFont();
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17465 return resultobj;
17466 fail:
17467 return NULL;
17468 }
17469
17470
17471 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17474 wxColour result;
17475 PyObject * obj0 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = (arg1)->GetTextColour();
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 {
17490 wxColour * resultptr;
17491 resultptr = new wxColour((wxColour &) result);
17492 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17493 }
17494 return resultobj;
17495 fail:
17496 return NULL;
17497 }
17498
17499
17500 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17501 PyObject *resultobj;
17502 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17503 wxColour result;
17504 PyObject * obj0 = 0 ;
17505 char *kwnames[] = {
17506 (char *) "self", NULL
17507 };
17508
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (arg1)->GetBackgroundColour();
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 {
17519 wxColour * resultptr;
17520 resultptr = new wxColour((wxColour &) result);
17521 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17522 }
17523 return resultobj;
17524 fail:
17525 return NULL;
17526 }
17527
17528
17529 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17530 PyObject *resultobj;
17531 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17532 wxFont result;
17533 PyObject * obj0 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "self", NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (arg1)->GetFont();
17543
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 {
17548 wxFont * resultptr;
17549 resultptr = new wxFont((wxFont &) result);
17550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17551 }
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17561 PyObject * obj0 = 0 ;
17562 char *kwnames[] = {
17563 (char *) "self", NULL
17564 };
17565
17566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 wxListItemAttr_Destroy(arg1);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 Py_INCREF(Py_None); resultobj = Py_None;
17576 return resultobj;
17577 fail:
17578 return NULL;
17579 }
17580
17581
17582 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17583 PyObject *obj;
17584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17585 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17586 Py_INCREF(obj);
17587 return Py_BuildValue((char *)"");
17588 }
17589 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxListItem *result;
17592 char *kwnames[] = {
17593 NULL
17594 };
17595
17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = (wxListItem *)new wxListItem();
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 {
17605 resultobj = wxPyMake_wxObject(result);
17606 }
17607 return resultobj;
17608 fail:
17609 return NULL;
17610 }
17611
17612
17613 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17614 PyObject *resultobj;
17615 wxListItem *arg1 = (wxListItem *) 0 ;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 delete arg1;
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 Py_INCREF(Py_None); resultobj = Py_None;
17631 return resultobj;
17632 fail:
17633 return NULL;
17634 }
17635
17636
17637 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxListItem *arg1 = (wxListItem *) 0 ;
17640 PyObject * obj0 = 0 ;
17641 char *kwnames[] = {
17642 (char *) "self", NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->Clear();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxListItem *arg1 = (wxListItem *) 0 ;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 (arg1)->ClearAttributes();
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 Py_INCREF(Py_None); resultobj = Py_None;
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxListItem *arg1 = (wxListItem *) 0 ;
17688 long arg2 ;
17689 PyObject * obj0 = 0 ;
17690 PyObject * obj1 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self",(char *) "mask", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17697 {
17698 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 (arg1)->SetMask(arg2);
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 Py_INCREF(Py_None); resultobj = Py_None;
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxListItem *arg1 = (wxListItem *) 0 ;
17718 long arg2 ;
17719 PyObject * obj0 = 0 ;
17720 PyObject * obj1 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self",(char *) "id", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 {
17728 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 (arg1)->SetId(arg2);
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 Py_INCREF(Py_None); resultobj = Py_None;
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxListItem *arg1 = (wxListItem *) 0 ;
17748 int arg2 ;
17749 PyObject * obj0 = 0 ;
17750 PyObject * obj1 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self",(char *) "col", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 {
17758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 (arg1)->SetColumn(arg2);
17764
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 Py_INCREF(Py_None); resultobj = Py_None;
17769 return resultobj;
17770 fail:
17771 return NULL;
17772 }
17773
17774
17775 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
17776 PyObject *resultobj;
17777 wxListItem *arg1 = (wxListItem *) 0 ;
17778 long arg2 ;
17779 PyObject * obj0 = 0 ;
17780 PyObject * obj1 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self",(char *) "state", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17787 {
17788 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 (arg1)->SetState(arg2);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 Py_INCREF(Py_None); resultobj = Py_None;
17799 return resultobj;
17800 fail:
17801 return NULL;
17802 }
17803
17804
17805 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxListItem *arg1 = (wxListItem *) 0 ;
17808 long arg2 ;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self",(char *) "stateMask", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17817 {
17818 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 (arg1)->SetStateMask(arg2);
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 Py_INCREF(Py_None); resultobj = Py_None;
17829 return resultobj;
17830 fail:
17831 return NULL;
17832 }
17833
17834
17835 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj;
17837 wxListItem *arg1 = (wxListItem *) 0 ;
17838 wxString *arg2 = 0 ;
17839 bool temp2 = False ;
17840 PyObject * obj0 = 0 ;
17841 PyObject * obj1 = 0 ;
17842 char *kwnames[] = {
17843 (char *) "self",(char *) "text", NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17848 {
17849 arg2 = wxString_in_helper(obj1);
17850 if (arg2 == NULL) SWIG_fail;
17851 temp2 = True;
17852 }
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->SetText((wxString const &)*arg2);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 {
17862 if (temp2)
17863 delete arg2;
17864 }
17865 return resultobj;
17866 fail:
17867 {
17868 if (temp2)
17869 delete arg2;
17870 }
17871 return NULL;
17872 }
17873
17874
17875 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17876 PyObject *resultobj;
17877 wxListItem *arg1 = (wxListItem *) 0 ;
17878 int arg2 ;
17879 PyObject * obj0 = 0 ;
17880 PyObject * obj1 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self",(char *) "image", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17887 {
17888 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 (arg1)->SetImage(arg2);
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 Py_INCREF(Py_None); resultobj = Py_None;
17899 return resultobj;
17900 fail:
17901 return NULL;
17902 }
17903
17904
17905 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17906 PyObject *resultobj;
17907 wxListItem *arg1 = (wxListItem *) 0 ;
17908 long arg2 ;
17909 PyObject * obj0 = 0 ;
17910 PyObject * obj1 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self",(char *) "data", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
17916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17917 {
17918 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17919 if (PyErr_Occurred()) SWIG_fail;
17920 }
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 (arg1)->SetData(arg2);
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 Py_INCREF(Py_None); resultobj = Py_None;
17929 return resultobj;
17930 fail:
17931 return NULL;
17932 }
17933
17934
17935 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxListItem *arg1 = (wxListItem *) 0 ;
17938 int arg2 ;
17939 PyObject * obj0 = 0 ;
17940 PyObject * obj1 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self",(char *) "width", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 {
17948 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 (arg1)->SetWidth(arg2);
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 Py_INCREF(Py_None); resultobj = Py_None;
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxListItem *arg1 = (wxListItem *) 0 ;
17968 int arg2 ;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "align", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17977 {
17978 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->SetAlign((wxListColumnFormat )arg2);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxListItem *arg1 = (wxListItem *) 0 ;
17998 wxColour *arg2 = 0 ;
17999 wxColour temp2 ;
18000 PyObject * obj0 = 0 ;
18001 PyObject * obj1 = 0 ;
18002 char *kwnames[] = {
18003 (char *) "self",(char *) "colText", NULL
18004 };
18005
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18008 {
18009 arg2 = &temp2;
18010 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18011 }
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 (arg1)->SetTextColour((wxColour const &)*arg2);
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 Py_INCREF(Py_None); resultobj = Py_None;
18020 return resultobj;
18021 fail:
18022 return NULL;
18023 }
18024
18025
18026 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxListItem *arg1 = (wxListItem *) 0 ;
18029 wxColour *arg2 = 0 ;
18030 wxColour temp2 ;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj1 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self",(char *) "colBack", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18039 {
18040 arg2 = &temp2;
18041 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18042 }
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 Py_INCREF(Py_None); resultobj = Py_None;
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxListItem *arg1 = (wxListItem *) 0 ;
18060 wxFont *arg2 = 0 ;
18061 PyObject * obj0 = 0 ;
18062 PyObject * obj1 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self",(char *) "font", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 if (arg2 == NULL) {
18071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18072 }
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 (arg1)->SetFont((wxFont const &)*arg2);
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 Py_INCREF(Py_None); resultobj = Py_None;
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxListItem *arg1 = (wxListItem *) 0 ;
18090 long result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (long)(arg1)->GetMask();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = SWIG_PyObj_FromLong((long)result);
18106 return resultobj;
18107 fail:
18108 return NULL;
18109 }
18110
18111
18112 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxListItem *arg1 = (wxListItem *) 0 ;
18115 long result;
18116 PyObject * obj0 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 result = (long)(arg1)->GetId();
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 resultobj = SWIG_PyObj_FromLong((long)result);
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxListItem *arg1 = (wxListItem *) 0 ;
18140 int result;
18141 PyObject * obj0 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (int)(arg1)->GetColumn();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 resultobj = SWIG_PyObj_FromInt((int)result);
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxListItem *arg1 = (wxListItem *) 0 ;
18165 long result;
18166 PyObject * obj0 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 result = (long)(arg1)->GetState();
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_PyObj_FromLong((long)result);
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxListItem *arg1 = (wxListItem *) 0 ;
18190 wxString *result;
18191 PyObject * obj0 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 {
18201 wxString const &_result_ref = (arg1)->GetText();
18202 result = (wxString *) &_result_ref;
18203 }
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 {
18209 #if wxUSE_UNICODE
18210 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18211 #else
18212 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18213 #endif
18214 }
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxListItem *arg1 = (wxListItem *) 0 ;
18224 int result;
18225 PyObject * obj0 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (int)(arg1)->GetImage();
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 resultobj = SWIG_PyObj_FromInt((int)result);
18240 return resultobj;
18241 fail:
18242 return NULL;
18243 }
18244
18245
18246 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxListItem *arg1 = (wxListItem *) 0 ;
18249 long result;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (long)(arg1)->GetData();
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 resultobj = SWIG_PyObj_FromLong((long)result);
18265 return resultobj;
18266 fail:
18267 return NULL;
18268 }
18269
18270
18271 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj;
18273 wxListItem *arg1 = (wxListItem *) 0 ;
18274 int result;
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (int)(arg1)->GetWidth();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 resultobj = SWIG_PyObj_FromInt((int)result);
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxListItem *arg1 = (wxListItem *) 0 ;
18299 int result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 result = (int)(arg1)->GetAlign();
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 resultobj = SWIG_PyObj_FromInt((int)result);
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxListItem *arg1 = (wxListItem *) 0 ;
18324 wxListItemAttr *result;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (wxListItemAttr *)(arg1)->GetAttributes();
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxListItem *arg1 = (wxListItem *) 0 ;
18349 bool result;
18350 PyObject * obj0 = 0 ;
18351 char *kwnames[] = {
18352 (char *) "self", NULL
18353 };
18354
18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 result = (bool)(arg1)->HasAttributes();
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxListItem *arg1 = (wxListItem *) 0 ;
18374 wxColour result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = ((wxListItem const *)arg1)->GetTextColour();
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 {
18390 wxColour * resultptr;
18391 resultptr = new wxColour((wxColour &) result);
18392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18393 }
18394 return resultobj;
18395 fail:
18396 return NULL;
18397 }
18398
18399
18400 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18401 PyObject *resultobj;
18402 wxListItem *arg1 = (wxListItem *) 0 ;
18403 wxColour result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 {
18419 wxColour * resultptr;
18420 resultptr = new wxColour((wxColour &) result);
18421 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxListItem *arg1 = (wxListItem *) 0 ;
18432 wxFont result;
18433 PyObject * obj0 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = ((wxListItem const *)arg1)->GetFont();
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 {
18448 wxFont * resultptr;
18449 resultptr = new wxFont((wxFont &) result);
18450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18451 }
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxListItem *arg1 = (wxListItem *) 0 ;
18461 long arg2 ;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "m_mask", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18470 {
18471 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 if (arg1) (arg1)->m_mask = arg2;
18475
18476 Py_INCREF(Py_None); resultobj = Py_None;
18477 return resultobj;
18478 fail:
18479 return NULL;
18480 }
18481
18482
18483 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj;
18485 wxListItem *arg1 = (wxListItem *) 0 ;
18486 long result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18494 result = (long) ((arg1)->m_mask);
18495
18496 resultobj = SWIG_PyObj_FromLong((long)result);
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 wxListItem *arg1 = (wxListItem *) 0 ;
18506 long arg2 ;
18507 PyObject * obj0 = 0 ;
18508 PyObject * obj1 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self",(char *) "m_itemId", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18515 {
18516 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 if (arg1) (arg1)->m_itemId = arg2;
18520
18521 Py_INCREF(Py_None); resultobj = Py_None;
18522 return resultobj;
18523 fail:
18524 return NULL;
18525 }
18526
18527
18528 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18529 PyObject *resultobj;
18530 wxListItem *arg1 = (wxListItem *) 0 ;
18531 long result;
18532 PyObject * obj0 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 result = (long) ((arg1)->m_itemId);
18540
18541 resultobj = SWIG_PyObj_FromLong((long)result);
18542 return resultobj;
18543 fail:
18544 return NULL;
18545 }
18546
18547
18548 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxListItem *arg1 = (wxListItem *) 0 ;
18551 int arg2 ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self",(char *) "m_col", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18560 {
18561 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 if (arg1) (arg1)->m_col = arg2;
18565
18566 Py_INCREF(Py_None); resultobj = Py_None;
18567 return resultobj;
18568 fail:
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxListItem *arg1 = (wxListItem *) 0 ;
18576 int result;
18577 PyObject * obj0 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18584 result = (int) ((arg1)->m_col);
18585
18586 resultobj = SWIG_PyObj_FromInt((int)result);
18587 return resultobj;
18588 fail:
18589 return NULL;
18590 }
18591
18592
18593 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj;
18595 wxListItem *arg1 = (wxListItem *) 0 ;
18596 long arg2 ;
18597 PyObject * obj0 = 0 ;
18598 PyObject * obj1 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self",(char *) "m_state", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 {
18606 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 if (arg1) (arg1)->m_state = arg2;
18610
18611 Py_INCREF(Py_None); resultobj = Py_None;
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxListItem *arg1 = (wxListItem *) 0 ;
18621 long result;
18622 PyObject * obj0 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18629 result = (long) ((arg1)->m_state);
18630
18631 resultobj = SWIG_PyObj_FromLong((long)result);
18632 return resultobj;
18633 fail:
18634 return NULL;
18635 }
18636
18637
18638 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxListItem *arg1 = (wxListItem *) 0 ;
18641 long arg2 ;
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "m_stateMask", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18650 {
18651 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 if (arg1) (arg1)->m_stateMask = arg2;
18655
18656 Py_INCREF(Py_None); resultobj = Py_None;
18657 return resultobj;
18658 fail:
18659 return NULL;
18660 }
18661
18662
18663 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxListItem *arg1 = (wxListItem *) 0 ;
18666 long result;
18667 PyObject * obj0 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18674 result = (long) ((arg1)->m_stateMask);
18675
18676 resultobj = SWIG_PyObj_FromLong((long)result);
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxListItem *arg1 = (wxListItem *) 0 ;
18686 wxString *arg2 = (wxString *) 0 ;
18687 bool temp2 = False ;
18688 PyObject * obj0 = 0 ;
18689 PyObject * obj1 = 0 ;
18690 char *kwnames[] = {
18691 (char *) "self",(char *) "m_text", NULL
18692 };
18693
18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18696 {
18697 arg2 = wxString_in_helper(obj1);
18698 if (arg2 == NULL) SWIG_fail;
18699 temp2 = True;
18700 }
18701 if (arg1) (arg1)->m_text = *arg2;
18702
18703 Py_INCREF(Py_None); resultobj = Py_None;
18704 {
18705 if (temp2)
18706 delete arg2;
18707 }
18708 return resultobj;
18709 fail:
18710 {
18711 if (temp2)
18712 delete arg2;
18713 }
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj;
18720 wxListItem *arg1 = (wxListItem *) 0 ;
18721 wxString *result;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18729 result = (wxString *)& ((arg1)->m_text);
18730
18731 {
18732 #if wxUSE_UNICODE
18733 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18734 #else
18735 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18736 #endif
18737 }
18738 return resultobj;
18739 fail:
18740 return NULL;
18741 }
18742
18743
18744 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxListItem *arg1 = (wxListItem *) 0 ;
18747 int arg2 ;
18748 PyObject * obj0 = 0 ;
18749 PyObject * obj1 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "m_image", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18756 {
18757 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 if (arg1) (arg1)->m_image = arg2;
18761
18762 Py_INCREF(Py_None); resultobj = Py_None;
18763 return resultobj;
18764 fail:
18765 return NULL;
18766 }
18767
18768
18769 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj;
18771 wxListItem *arg1 = (wxListItem *) 0 ;
18772 int result;
18773 PyObject * obj0 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self", NULL
18776 };
18777
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18780 result = (int) ((arg1)->m_image);
18781
18782 resultobj = SWIG_PyObj_FromInt((int)result);
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxListItem *arg1 = (wxListItem *) 0 ;
18792 long arg2 ;
18793 PyObject * obj0 = 0 ;
18794 PyObject * obj1 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self",(char *) "m_data", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18801 {
18802 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 if (arg1) (arg1)->m_data = arg2;
18806
18807 Py_INCREF(Py_None); resultobj = Py_None;
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj;
18816 wxListItem *arg1 = (wxListItem *) 0 ;
18817 long result;
18818 PyObject * obj0 = 0 ;
18819 char *kwnames[] = {
18820 (char *) "self", NULL
18821 };
18822
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18825 result = (long) ((arg1)->m_data);
18826
18827 resultobj = SWIG_PyObj_FromLong((long)result);
18828 return resultobj;
18829 fail:
18830 return NULL;
18831 }
18832
18833
18834 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxListItem *arg1 = (wxListItem *) 0 ;
18837 int arg2 ;
18838 PyObject * obj0 = 0 ;
18839 PyObject * obj1 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self",(char *) "m_format", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18846 {
18847 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 if (arg1) (arg1)->m_format = arg2;
18851
18852 Py_INCREF(Py_None); resultobj = Py_None;
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj;
18861 wxListItem *arg1 = (wxListItem *) 0 ;
18862 int result;
18863 PyObject * obj0 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18870 result = (int) ((arg1)->m_format);
18871
18872 resultobj = SWIG_PyObj_FromInt((int)result);
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxListItem *arg1 = (wxListItem *) 0 ;
18882 int arg2 ;
18883 PyObject * obj0 = 0 ;
18884 PyObject * obj1 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self",(char *) "m_width", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18891 {
18892 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 if (arg1) (arg1)->m_width = arg2;
18896
18897 Py_INCREF(Py_None); resultobj = Py_None;
18898 return resultobj;
18899 fail:
18900 return NULL;
18901 }
18902
18903
18904 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj;
18906 wxListItem *arg1 = (wxListItem *) 0 ;
18907 int result;
18908 PyObject * obj0 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
18914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18915 result = (int) ((arg1)->m_width);
18916
18917 resultobj = SWIG_PyObj_FromInt((int)result);
18918 return resultobj;
18919 fail:
18920 return NULL;
18921 }
18922
18923
18924 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
18925 PyObject *obj;
18926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18927 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
18928 Py_INCREF(obj);
18929 return Py_BuildValue((char *)"");
18930 }
18931 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18934 int arg2 = (int) 0 ;
18935 wxListEvent *result;
18936 PyObject * obj0 = 0 ;
18937 PyObject * obj1 = 0 ;
18938 char *kwnames[] = {
18939 (char *) "commandType",(char *) "id", NULL
18940 };
18941
18942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
18943 if (obj0) {
18944 {
18945 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 }
18949 if (obj1) {
18950 {
18951 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 }
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = (wxListEvent *)new wxListEvent(arg1,arg2);
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxListEvent *arg1 = (wxListEvent *) 0 ;
18972 int arg2 ;
18973 PyObject * obj0 = 0 ;
18974 PyObject * obj1 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self",(char *) "m_code", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
18980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18981 {
18982 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 if (arg1) (arg1)->m_code = arg2;
18986
18987 Py_INCREF(Py_None); resultobj = Py_None;
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxListEvent *arg1 = (wxListEvent *) 0 ;
18997 int result;
18998 PyObject * obj0 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19005 result = (int) ((arg1)->m_code);
19006
19007 resultobj = SWIG_PyObj_FromInt((int)result);
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxListEvent *arg1 = (wxListEvent *) 0 ;
19017 long arg2 ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "m_oldItemIndex", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19026 {
19027 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 if (arg1) (arg1)->m_oldItemIndex = arg2;
19031
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxListEvent *arg1 = (wxListEvent *) 0 ;
19042 long result;
19043 PyObject * obj0 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19050 result = (long) ((arg1)->m_oldItemIndex);
19051
19052 resultobj = SWIG_PyObj_FromLong((long)result);
19053 return resultobj;
19054 fail:
19055 return NULL;
19056 }
19057
19058
19059 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 wxListEvent *arg1 = (wxListEvent *) 0 ;
19062 long arg2 ;
19063 PyObject * obj0 = 0 ;
19064 PyObject * obj1 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "self",(char *) "m_itemIndex", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19071 {
19072 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 if (arg1) (arg1)->m_itemIndex = arg2;
19076
19077 Py_INCREF(Py_None); resultobj = Py_None;
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxListEvent *arg1 = (wxListEvent *) 0 ;
19087 long result;
19088 PyObject * obj0 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "self", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19095 result = (long) ((arg1)->m_itemIndex);
19096
19097 resultobj = SWIG_PyObj_FromLong((long)result);
19098 return resultobj;
19099 fail:
19100 return NULL;
19101 }
19102
19103
19104 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj;
19106 wxListEvent *arg1 = (wxListEvent *) 0 ;
19107 int arg2 ;
19108 PyObject * obj0 = 0 ;
19109 PyObject * obj1 = 0 ;
19110 char *kwnames[] = {
19111 (char *) "self",(char *) "m_col", NULL
19112 };
19113
19114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19116 {
19117 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 if (arg1) (arg1)->m_col = arg2;
19121
19122 Py_INCREF(Py_None); resultobj = Py_None;
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxListEvent *arg1 = (wxListEvent *) 0 ;
19132 int result;
19133 PyObject * obj0 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19140 result = (int) ((arg1)->m_col);
19141
19142 resultobj = SWIG_PyObj_FromInt((int)result);
19143 return resultobj;
19144 fail:
19145 return NULL;
19146 }
19147
19148
19149 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19150 PyObject *resultobj;
19151 wxListEvent *arg1 = (wxListEvent *) 0 ;
19152 wxPoint *arg2 = (wxPoint *) 0 ;
19153 PyObject * obj0 = 0 ;
19154 PyObject * obj1 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self",(char *) "m_pointDrag", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19162 if (arg1) (arg1)->m_pointDrag = *arg2;
19163
19164 Py_INCREF(Py_None); resultobj = Py_None;
19165 return resultobj;
19166 fail:
19167 return NULL;
19168 }
19169
19170
19171 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19172 PyObject *resultobj;
19173 wxListEvent *arg1 = (wxListEvent *) 0 ;
19174 wxPoint *result;
19175 PyObject * obj0 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "self", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19182 result = (wxPoint *)& ((arg1)->m_pointDrag);
19183
19184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxListEvent *arg1 = (wxListEvent *) 0 ;
19194 wxListItem *result;
19195 PyObject * obj0 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19202 result = (wxListItem *)& ((arg1)->m_item);
19203
19204 {
19205 resultobj = wxPyMake_wxObject(result);
19206 }
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj;
19215 wxListEvent *arg1 = (wxListEvent *) 0 ;
19216 int result;
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 result = (int)(arg1)->GetKeyCode();
19227
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 resultobj = SWIG_PyObj_FromInt((int)result);
19232 return resultobj;
19233 fail:
19234 return NULL;
19235 }
19236
19237
19238 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxListEvent *arg1 = (wxListEvent *) 0 ;
19241 long result;
19242 PyObject * obj0 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "self", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 result = (long)(arg1)->GetIndex();
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 resultobj = SWIG_PyObj_FromLong((long)result);
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19264 PyObject *resultobj;
19265 wxListEvent *arg1 = (wxListEvent *) 0 ;
19266 int result;
19267 PyObject * obj0 = 0 ;
19268 char *kwnames[] = {
19269 (char *) "self", NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19274 {
19275 PyThreadState* __tstate = wxPyBeginAllowThreads();
19276 result = (int)(arg1)->GetColumn();
19277
19278 wxPyEndAllowThreads(__tstate);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 resultobj = SWIG_PyObj_FromInt((int)result);
19282 return resultobj;
19283 fail:
19284 return NULL;
19285 }
19286
19287
19288 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxListEvent *arg1 = (wxListEvent *) 0 ;
19291 wxPoint result;
19292 PyObject * obj0 = 0 ;
19293 char *kwnames[] = {
19294 (char *) "self", NULL
19295 };
19296
19297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 result = (arg1)->GetPoint();
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 {
19307 wxPoint * resultptr;
19308 resultptr = new wxPoint((wxPoint &) result);
19309 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19310 }
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxListEvent *arg1 = (wxListEvent *) 0 ;
19320 wxString *result;
19321 PyObject * obj0 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 {
19331 wxString const &_result_ref = (arg1)->GetLabel();
19332 result = (wxString *) &_result_ref;
19333 }
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 {
19339 #if wxUSE_UNICODE
19340 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19341 #else
19342 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19343 #endif
19344 }
19345 return resultobj;
19346 fail:
19347 return NULL;
19348 }
19349
19350
19351 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 wxListEvent *arg1 = (wxListEvent *) 0 ;
19354 wxString *result;
19355 PyObject * obj0 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 {
19365 wxString const &_result_ref = (arg1)->GetText();
19366 result = (wxString *) &_result_ref;
19367 }
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 {
19373 #if wxUSE_UNICODE
19374 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19375 #else
19376 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19377 #endif
19378 }
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxListEvent *arg1 = (wxListEvent *) 0 ;
19388 int result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (int)(arg1)->GetImage();
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 resultobj = SWIG_PyObj_FromInt((int)result);
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxListEvent *arg1 = (wxListEvent *) 0 ;
19413 long result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (long)(arg1)->GetData();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = SWIG_PyObj_FromLong((long)result);
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxListEvent *arg1 = (wxListEvent *) 0 ;
19438 long result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (long)(arg1)->GetMask();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_PyObj_FromLong((long)result);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxListEvent *arg1 = (wxListEvent *) 0 ;
19463 wxListItem *result;
19464 PyObject * obj0 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 {
19474 wxListItem const &_result_ref = (arg1)->GetItem();
19475 result = (wxListItem *) &_result_ref;
19476 }
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19482 return resultobj;
19483 fail:
19484 return NULL;
19485 }
19486
19487
19488 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxListEvent *arg1 = (wxListEvent *) 0 ;
19491 long result;
19492 PyObject * obj0 = 0 ;
19493 char *kwnames[] = {
19494 (char *) "self", NULL
19495 };
19496
19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 result = (long)(arg1)->GetCacheFrom();
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 resultobj = SWIG_PyObj_FromLong((long)result);
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxListEvent *arg1 = (wxListEvent *) 0 ;
19516 long result;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 result = (long)(arg1)->GetCacheTo();
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 resultobj = SWIG_PyObj_FromLong((long)result);
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxListEvent *arg1 = (wxListEvent *) 0 ;
19541 bool result;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxListEvent *arg1 = (wxListEvent *) 0 ;
19566 bool arg2 ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "editCancelled", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19575 {
19576 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 (arg1)->SetEditCanceled(arg2);
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 Py_INCREF(Py_None); resultobj = Py_None;
19587 return resultobj;
19588 fail:
19589 return NULL;
19590 }
19591
19592
19593 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19594 PyObject *obj;
19595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19596 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19597 Py_INCREF(obj);
19598 return Py_BuildValue((char *)"");
19599 }
19600 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19601 PyObject *resultobj;
19602 wxWindow *arg1 = (wxWindow *) 0 ;
19603 int arg2 = (int) -1 ;
19604 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19605 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19606 wxSize const &arg4_defvalue = wxDefaultSize ;
19607 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19608 long arg5 = (long) wxLC_ICON ;
19609 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19610 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19611 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19612 wxString *arg7 = (wxString *) &arg7_defvalue ;
19613 wxPyListCtrl *result;
19614 wxPoint temp3 ;
19615 wxSize temp4 ;
19616 bool temp7 = False ;
19617 PyObject * obj0 = 0 ;
19618 PyObject * obj1 = 0 ;
19619 PyObject * obj2 = 0 ;
19620 PyObject * obj3 = 0 ;
19621 PyObject * obj4 = 0 ;
19622 PyObject * obj5 = 0 ;
19623 PyObject * obj6 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19630 if (obj1) {
19631 {
19632 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 }
19636 if (obj2) {
19637 {
19638 arg3 = &temp3;
19639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19640 }
19641 }
19642 if (obj3) {
19643 {
19644 arg4 = &temp4;
19645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19646 }
19647 }
19648 if (obj4) {
19649 {
19650 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 }
19654 if (obj5) {
19655 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19656 if (arg6 == NULL) {
19657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19658 }
19659 }
19660 if (obj6) {
19661 {
19662 arg7 = wxString_in_helper(obj6);
19663 if (arg7 == NULL) SWIG_fail;
19664 temp7 = True;
19665 }
19666 }
19667 {
19668 PyThreadState* __tstate = wxPyBeginAllowThreads();
19669 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19670
19671 wxPyEndAllowThreads(__tstate);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 }
19674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19675 {
19676 if (temp7)
19677 delete arg7;
19678 }
19679 return resultobj;
19680 fail:
19681 {
19682 if (temp7)
19683 delete arg7;
19684 }
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPyListCtrl *result;
19692 char *kwnames[] = {
19693 NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (wxPyListCtrl *)new wxPyListCtrl();
19700
19701 wxPyEndAllowThreads(__tstate);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 }
19704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19705 return resultobj;
19706 fail:
19707 return NULL;
19708 }
19709
19710
19711 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19712 PyObject *resultobj;
19713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19714 wxWindow *arg2 = (wxWindow *) 0 ;
19715 int arg3 = (int) -1 ;
19716 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19717 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19718 wxSize const &arg5_defvalue = wxDefaultSize ;
19719 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19720 long arg6 = (long) wxLC_ICON ;
19721 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19722 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19723 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19724 wxString *arg8 = (wxString *) &arg8_defvalue ;
19725 bool result;
19726 wxPoint temp4 ;
19727 wxSize temp5 ;
19728 bool temp8 = False ;
19729 PyObject * obj0 = 0 ;
19730 PyObject * obj1 = 0 ;
19731 PyObject * obj2 = 0 ;
19732 PyObject * obj3 = 0 ;
19733 PyObject * obj4 = 0 ;
19734 PyObject * obj5 = 0 ;
19735 PyObject * obj6 = 0 ;
19736 PyObject * obj7 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19744 if (obj2) {
19745 {
19746 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 }
19750 if (obj3) {
19751 {
19752 arg4 = &temp4;
19753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19754 }
19755 }
19756 if (obj4) {
19757 {
19758 arg5 = &temp5;
19759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19760 }
19761 }
19762 if (obj5) {
19763 {
19764 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 }
19768 if (obj6) {
19769 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19770 if (arg7 == NULL) {
19771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19772 }
19773 }
19774 if (obj7) {
19775 {
19776 arg8 = wxString_in_helper(obj7);
19777 if (arg8 == NULL) SWIG_fail;
19778 temp8 = True;
19779 }
19780 }
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19784
19785 wxPyEndAllowThreads(__tstate);
19786 if (PyErr_Occurred()) SWIG_fail;
19787 }
19788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19789 {
19790 if (temp8)
19791 delete arg8;
19792 }
19793 return resultobj;
19794 fail:
19795 {
19796 if (temp8)
19797 delete arg8;
19798 }
19799 return NULL;
19800 }
19801
19802
19803 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19806 PyObject *arg2 = (PyObject *) 0 ;
19807 PyObject *arg3 = (PyObject *) 0 ;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 PyObject * obj2 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "self",(char *) "_class", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 arg2 = obj1;
19818 arg3 = obj2;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 (arg1)->_setCallbackInfo(arg2,arg3);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19836 wxColour *arg2 = 0 ;
19837 bool result;
19838 wxColour temp2 ;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "col", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 {
19848 arg2 = &temp2;
19849 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19850 }
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19854
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19859 return resultobj;
19860 fail:
19861 return NULL;
19862 }
19863
19864
19865 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj;
19867 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19868 wxColour *arg2 = 0 ;
19869 bool result;
19870 wxColour temp2 ;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "self",(char *) "col", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19879 {
19880 arg2 = &temp2;
19881 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19882 }
19883 {
19884 PyThreadState* __tstate = wxPyBeginAllowThreads();
19885 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj;
19899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19900 int arg2 ;
19901 wxListItem *result;
19902 PyObject * obj0 = 0 ;
19903 PyObject * obj1 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self",(char *) "col", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
19909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19910 {
19911 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 {
19922 resultobj = wxPyMake_wxObject(result);
19923 }
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19933 int arg2 ;
19934 wxListItem *arg3 = 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 PyObject * obj2 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "col",(char *) "item", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 {
19946 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19950 if (arg3 == NULL) {
19951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19952 }
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 result = (bool)(arg1)->SetColumn(arg2,*arg3);
19956
19957 wxPyEndAllowThreads(__tstate);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 }
19960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19961 return resultobj;
19962 fail:
19963 return NULL;
19964 }
19965
19966
19967 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19968 PyObject *resultobj;
19969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19970 int arg2 ;
19971 int result;
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_GetColumnWidth",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 = (int) SWIG_PyObj_AsInt(obj1);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = SWIG_PyObj_FromInt((int)result);
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20001 int arg2 ;
20002 int arg3 ;
20003 bool result;
20004 PyObject * obj0 = 0 ;
20005 PyObject * obj1 = 0 ;
20006 PyObject * obj2 = 0 ;
20007 char *kwnames[] = {
20008 (char *) "self",(char *) "col",(char *) "width", NULL
20009 };
20010
20011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20013 {
20014 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 {
20018 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20038 int result;
20039 PyObject * obj0 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 resultobj = SWIG_PyObj_FromInt((int)result);
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20063 wxRect result;
20064 PyObject * obj0 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 {
20079 wxRect * resultptr;
20080 resultptr = new wxRect((wxRect &) result);
20081 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20082 }
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20092 long arg2 ;
20093 int arg3 = (int) 0 ;
20094 wxListItem *result;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097 PyObject * obj2 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "itemId",(char *) "col", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20104 {
20105 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 if (obj2) {
20109 {
20110 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 }
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20117
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 {
20122 resultobj = wxPyMake_wxObject(result);
20123 }
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20133 wxListItem *arg2 = 0 ;
20134 bool result;
20135 PyObject * obj0 = 0 ;
20136 PyObject * obj1 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self",(char *) "info", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20144 if (arg2 == NULL) {
20145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20146 }
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (bool)(arg1)->SetItem(*arg2);
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20164 long arg2 ;
20165 int arg3 ;
20166 wxString *arg4 = 0 ;
20167 int arg5 = (int) -1 ;
20168 long result;
20169 bool temp4 = False ;
20170 PyObject * obj0 = 0 ;
20171 PyObject * obj1 = 0 ;
20172 PyObject * obj2 = 0 ;
20173 PyObject * obj3 = 0 ;
20174 PyObject * obj4 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20181 {
20182 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 {
20186 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 {
20190 arg4 = wxString_in_helper(obj3);
20191 if (arg4 == NULL) SWIG_fail;
20192 temp4 = True;
20193 }
20194 if (obj4) {
20195 {
20196 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 }
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 resultobj = SWIG_PyObj_FromLong((long)result);
20208 {
20209 if (temp4)
20210 delete arg4;
20211 }
20212 return resultobj;
20213 fail:
20214 {
20215 if (temp4)
20216 delete arg4;
20217 }
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20225 long arg2 ;
20226 long arg3 ;
20227 int result;
20228 PyObject * obj0 = 0 ;
20229 PyObject * obj1 = 0 ;
20230 PyObject * obj2 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20237 {
20238 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 {
20242 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 resultobj = SWIG_PyObj_FromInt((int)result);
20253 return resultobj;
20254 fail:
20255 return NULL;
20256 }
20257
20258
20259 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20260 PyObject *resultobj;
20261 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20262 long arg2 ;
20263 long arg3 ;
20264 long arg4 ;
20265 bool result;
20266 PyObject * obj0 = 0 ;
20267 PyObject * obj1 = 0 ;
20268 PyObject * obj2 = 0 ;
20269 PyObject * obj3 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 {
20277 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 {
20281 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 {
20285 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20296 return resultobj;
20297 fail:
20298 return NULL;
20299 }
20300
20301
20302 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20303 PyObject *resultobj;
20304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20305 long arg2 ;
20306 int arg3 ;
20307 int arg4 ;
20308 bool result;
20309 PyObject * obj0 = 0 ;
20310 PyObject * obj1 = 0 ;
20311 PyObject * obj2 = 0 ;
20312 PyObject * obj3 = 0 ;
20313 char *kwnames[] = {
20314 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20315 };
20316
20317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20319 {
20320 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 {
20324 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 {
20328 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20348 long arg2 ;
20349 wxString result;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "item", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
20364 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 {
20370 #if wxUSE_UNICODE
20371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20372 #else
20373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20374 #endif
20375 }
20376 return resultobj;
20377 fail:
20378 return NULL;
20379 }
20380
20381
20382 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj;
20384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20385 long arg2 ;
20386 wxString *arg3 = 0 ;
20387 bool temp3 = False ;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 PyObject * obj2 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self",(char *) "item",(char *) "str", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20397 {
20398 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 {
20402 arg3 = wxString_in_helper(obj2);
20403 if (arg3 == NULL) SWIG_fail;
20404 temp3 = True;
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 Py_INCREF(Py_None); resultobj = Py_None;
20414 {
20415 if (temp3)
20416 delete arg3;
20417 }
20418 return resultobj;
20419 fail:
20420 {
20421 if (temp3)
20422 delete arg3;
20423 }
20424 return NULL;
20425 }
20426
20427
20428 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20429 PyObject *resultobj;
20430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20431 long arg2 ;
20432 long result;
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self",(char *) "item", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20441 {
20442 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = SWIG_PyObj_FromLong((long)result);
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20462 long arg2 ;
20463 long arg3 ;
20464 bool result;
20465 PyObject * obj0 = 0 ;
20466 PyObject * obj1 = 0 ;
20467 PyObject * obj2 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self",(char *) "item",(char *) "data", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20474 {
20475 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 result = (bool)(arg1)->SetItemData(arg2,arg3);
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20499 long arg2 ;
20500 wxPoint result;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "item", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20509 {
20510 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 {
20521 wxPoint * resultptr;
20522 resultptr = new wxPoint((wxPoint &) result);
20523 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20524 }
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20534 long arg2 ;
20535 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20536 wxRect result;
20537 PyObject * obj0 = 0 ;
20538 PyObject * obj1 = 0 ;
20539 PyObject * obj2 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "self",(char *) "item",(char *) "code", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20546 {
20547 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 if (obj2) {
20551 {
20552 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 }
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 {
20564 wxRect * resultptr;
20565 resultptr = new wxRect((wxRect &) result);
20566 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20567 }
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20577 long arg2 ;
20578 wxPoint *arg3 = 0 ;
20579 bool result;
20580 wxPoint temp3 ;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 PyObject * obj2 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self",(char *) "item",(char *) "pos", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20590 {
20591 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 {
20595 arg3 = &temp3;
20596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20597 }
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj;
20614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20615 int result;
20616 PyObject * obj0 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 resultobj = SWIG_PyObj_FromInt((int)result);
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20640 int result;
20641 PyObject * obj0 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 resultobj = SWIG_PyObj_FromInt((int)result);
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20665 wxSize result;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 {
20681 wxSize * resultptr;
20682 resultptr = new wxSize((wxSize &) result);
20683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20684 }
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20694 int arg2 ;
20695 bool arg3 = (bool) False ;
20696 PyObject * obj0 = 0 ;
20697 PyObject * obj1 = 0 ;
20698 PyObject * obj2 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20705 {
20706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 if (obj2) {
20710 {
20711 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 }
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 (arg1)->SetItemSpacing(arg2,arg3);
20718
20719 wxPyEndAllowThreads(__tstate);
20720 if (PyErr_Occurred()) SWIG_fail;
20721 }
20722 Py_INCREF(Py_None); resultobj = Py_None;
20723 return resultobj;
20724 fail:
20725 return NULL;
20726 }
20727
20728
20729 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20730 PyObject *resultobj;
20731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20732 int result;
20733 PyObject * obj0 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 resultobj = SWIG_PyObj_FromInt((int)result);
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20757 wxColour result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 {
20773 wxColour * resultptr;
20774 resultptr = new wxColour((wxColour &) result);
20775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20776 }
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20786 wxColour *arg2 = 0 ;
20787 wxColour temp2 ;
20788 PyObject * obj0 = 0 ;
20789 PyObject * obj1 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self",(char *) "col", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20796 {
20797 arg2 = &temp2;
20798 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20799 }
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 (arg1)->SetTextColour((wxColour const &)*arg2);
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 Py_INCREF(Py_None); resultobj = Py_None;
20808 return resultobj;
20809 fail:
20810 return NULL;
20811 }
20812
20813
20814 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20817 long result;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = SWIG_PyObj_FromLong((long)result);
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20842 long arg2 ;
20843 bool arg3 = (bool) True ;
20844 PyObject * obj0 = 0 ;
20845 PyObject * obj1 = 0 ;
20846 PyObject * obj2 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self",(char *) "style",(char *) "add", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20853 {
20854 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 if (obj2) {
20858 {
20859 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 }
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 (arg1)->SetSingleStyle(arg2,arg3);
20866
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 Py_INCREF(Py_None); resultobj = Py_None;
20871 return resultobj;
20872 fail:
20873 return NULL;
20874 }
20875
20876
20877 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20878 PyObject *resultobj;
20879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20880 long arg2 ;
20881 PyObject * obj0 = 0 ;
20882 PyObject * obj1 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self",(char *) "style", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20889 {
20890 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 (arg1)->SetWindowStyleFlag(arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 Py_INCREF(Py_None); resultobj = Py_None;
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20910 long arg2 ;
20911 int arg3 = (int) wxLIST_NEXT_ALL ;
20912 int arg4 = (int) wxLIST_STATE_DONTCARE ;
20913 long result;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 PyObject * obj2 = 0 ;
20917 PyObject * obj3 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20924 {
20925 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 if (obj2) {
20929 {
20930 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 }
20934 if (obj3) {
20935 {
20936 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 }
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 resultobj = SWIG_PyObj_FromLong((long)result);
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20957 int arg2 ;
20958 wxImageList *result;
20959 PyObject * obj0 = 0 ;
20960 PyObject * obj1 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self",(char *) "which", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
20966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20967 {
20968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 {
20972 PyThreadState* __tstate = wxPyBeginAllowThreads();
20973 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
20974
20975 wxPyEndAllowThreads(__tstate);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 {
20979 resultobj = wxPyMake_wxObject(result);
20980 }
20981 return resultobj;
20982 fail:
20983 return NULL;
20984 }
20985
20986
20987 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20990 wxImageList *arg2 = (wxImageList *) 0 ;
20991 int arg3 ;
20992 PyObject * obj0 = 0 ;
20993 PyObject * obj1 = 0 ;
20994 PyObject * obj2 = 0 ;
20995 char *kwnames[] = {
20996 (char *) "self",(char *) "imageList",(char *) "which", NULL
20997 };
20998
20999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21002 {
21003 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 (arg1)->SetImageList(arg2,arg3);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 Py_INCREF(Py_None); resultobj = Py_None;
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21023 wxImageList *arg2 = (wxImageList *) 0 ;
21024 int arg3 ;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 PyObject * obj2 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "imageList",(char *) "which", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21035 {
21036 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 (arg1)->AssignImageList(arg2,arg3);
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 Py_INCREF(Py_None); resultobj = Py_None;
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21056 bool result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21081 long arg2 ;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self",(char *) "item", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 {
21091 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 (arg1)->RefreshItem(arg2);
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 Py_INCREF(Py_None); resultobj = Py_None;
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21111 long arg2 ;
21112 long arg3 ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 PyObject * obj2 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21122 {
21123 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 {
21127 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 (arg1)->RefreshItems(arg2,arg3);
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 Py_INCREF(Py_None); resultobj = Py_None;
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21147 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21148 bool result;
21149 PyObject * obj0 = 0 ;
21150 PyObject * obj1 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "flag", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if (obj1) {
21158 {
21159 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 }
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 result = (bool)(arg1)->Arrange(arg2);
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21171 return resultobj;
21172 fail:
21173 return NULL;
21174 }
21175
21176
21177 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21178 PyObject *resultobj;
21179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21180 long arg2 ;
21181 bool result;
21182 PyObject * obj0 = 0 ;
21183 PyObject * obj1 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self",(char *) "item", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21190 {
21191 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 {
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 result = (bool)(arg1)->DeleteItem(arg2);
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21211 bool result;
21212 PyObject * obj0 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 result = (bool)(arg1)->DeleteAllItems();
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21227 return resultobj;
21228 fail:
21229 return NULL;
21230 }
21231
21232
21233 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21234 PyObject *resultobj;
21235 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21236 int arg2 ;
21237 bool result;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 char *kwnames[] = {
21241 (char *) "self",(char *) "col", NULL
21242 };
21243
21244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21246 {
21247 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 {
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 result = (bool)(arg1)->DeleteColumn(arg2);
21253
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21258 return resultobj;
21259 fail:
21260 return NULL;
21261 }
21262
21263
21264 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21267 bool result;
21268 PyObject * obj0 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21275 {
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 result = (bool)(arg1)->DeleteAllColumns();
21278
21279 wxPyEndAllowThreads(__tstate);
21280 if (PyErr_Occurred()) SWIG_fail;
21281 }
21282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21283 return resultobj;
21284 fail:
21285 return NULL;
21286 }
21287
21288
21289 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21290 PyObject *resultobj;
21291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21292 PyObject * obj0 = 0 ;
21293 char *kwnames[] = {
21294 (char *) "self", NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 (arg1)->ClearAll();
21302
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 Py_INCREF(Py_None); resultobj = Py_None;
21307 return resultobj;
21308 fail:
21309 return NULL;
21310 }
21311
21312
21313 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj;
21315 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21316 long arg2 ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self",(char *) "item", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21325 {
21326 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 (arg1)->EditLabel(arg2);
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 Py_INCREF(Py_None); resultobj = Py_None;
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21346 long arg2 ;
21347 bool result;
21348 PyObject * obj0 = 0 ;
21349 PyObject * obj1 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self",(char *) "item", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21356 {
21357 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (bool)(arg1)->EnsureVisible(arg2);
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21368 return resultobj;
21369 fail:
21370 return NULL;
21371 }
21372
21373
21374 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj;
21376 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21377 long arg2 ;
21378 wxString *arg3 = 0 ;
21379 bool arg4 = (bool) False ;
21380 long result;
21381 bool temp3 = False ;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 PyObject * obj2 = 0 ;
21385 PyObject * obj3 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21392 {
21393 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 {
21397 arg3 = wxString_in_helper(obj2);
21398 if (arg3 == NULL) SWIG_fail;
21399 temp3 = True;
21400 }
21401 if (obj3) {
21402 {
21403 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 }
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 resultobj = SWIG_PyObj_FromLong((long)result);
21415 {
21416 if (temp3)
21417 delete arg3;
21418 }
21419 return resultobj;
21420 fail:
21421 {
21422 if (temp3)
21423 delete arg3;
21424 }
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21432 long arg2 ;
21433 long arg3 ;
21434 long result;
21435 PyObject * obj0 = 0 ;
21436 PyObject * obj1 = 0 ;
21437 PyObject * obj2 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self",(char *) "start",(char *) "data", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21444 {
21445 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = (long)(arg1)->FindItem(arg2,arg3);
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 resultobj = SWIG_PyObj_FromLong((long)result);
21460 return resultobj;
21461 fail:
21462 return NULL;
21463 }
21464
21465
21466 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj;
21468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21469 long arg2 ;
21470 wxPoint *arg3 = 0 ;
21471 int arg4 ;
21472 long result;
21473 wxPoint temp3 ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 PyObject * obj2 = 0 ;
21477 PyObject * obj3 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21484 {
21485 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 {
21489 arg3 = &temp3;
21490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21491 }
21492 {
21493 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 resultobj = SWIG_PyObj_FromLong((long)result);
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj;
21512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21513 wxPoint *arg2 = 0 ;
21514 int *arg3 = 0 ;
21515 long result;
21516 wxPoint temp2 ;
21517 int temp3 ;
21518 PyObject * obj0 = 0 ;
21519 PyObject * obj1 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self",(char *) "point", NULL
21522 };
21523
21524 arg3 = &temp3;
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21527 {
21528 arg2 = &temp2;
21529 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21530 }
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21534
21535 wxPyEndAllowThreads(__tstate);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 resultobj = SWIG_PyObj_FromLong((long)result);
21539 {
21540 PyObject *o = PyInt_FromLong((long) (*arg3));
21541 resultobj = t_output_helper(resultobj,o);
21542 }
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21552 wxListItem *arg2 = 0 ;
21553 long result;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self",(char *) "info", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21563 if (arg2 == NULL) {
21564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21565 }
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = (long)(arg1)->InsertItem(*arg2);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 resultobj = SWIG_PyObj_FromLong((long)result);
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj;
21582 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21583 long arg2 ;
21584 wxString *arg3 = 0 ;
21585 long result;
21586 bool temp3 = False ;
21587 PyObject * obj0 = 0 ;
21588 PyObject * obj1 = 0 ;
21589 PyObject * obj2 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self",(char *) "index",(char *) "label", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21596 {
21597 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 arg3 = wxString_in_helper(obj2);
21602 if (arg3 == NULL) SWIG_fail;
21603 temp3 = True;
21604 }
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 resultobj = SWIG_PyObj_FromLong((long)result);
21613 {
21614 if (temp3)
21615 delete arg3;
21616 }
21617 return resultobj;
21618 fail:
21619 {
21620 if (temp3)
21621 delete arg3;
21622 }
21623 return NULL;
21624 }
21625
21626
21627 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21628 PyObject *resultobj;
21629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21630 long arg2 ;
21631 int arg3 ;
21632 long result;
21633 PyObject * obj0 = 0 ;
21634 PyObject * obj1 = 0 ;
21635 PyObject * obj2 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21642 {
21643 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 {
21647 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = (long)(arg1)->InsertItem(arg2,arg3);
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 resultobj = SWIG_PyObj_FromLong((long)result);
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21667 long arg2 ;
21668 wxString *arg3 = 0 ;
21669 int arg4 ;
21670 long result;
21671 bool temp3 = False ;
21672 PyObject * obj0 = 0 ;
21673 PyObject * obj1 = 0 ;
21674 PyObject * obj2 = 0 ;
21675 PyObject * obj3 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21682 {
21683 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 {
21687 arg3 = wxString_in_helper(obj2);
21688 if (arg3 == NULL) SWIG_fail;
21689 temp3 = True;
21690 }
21691 {
21692 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21693 if (PyErr_Occurred()) SWIG_fail;
21694 }
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 resultobj = SWIG_PyObj_FromLong((long)result);
21703 {
21704 if (temp3)
21705 delete arg3;
21706 }
21707 return resultobj;
21708 fail:
21709 {
21710 if (temp3)
21711 delete arg3;
21712 }
21713 return NULL;
21714 }
21715
21716
21717 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21718 PyObject *resultobj;
21719 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21720 long arg2 ;
21721 wxListItem *arg3 = 0 ;
21722 long result;
21723 PyObject * obj0 = 0 ;
21724 PyObject * obj1 = 0 ;
21725 PyObject * obj2 = 0 ;
21726 char *kwnames[] = {
21727 (char *) "self",(char *) "col",(char *) "info", NULL
21728 };
21729
21730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21732 {
21733 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21737 if (arg3 == NULL) {
21738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21739 }
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21743
21744 wxPyEndAllowThreads(__tstate);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 resultobj = SWIG_PyObj_FromLong((long)result);
21748 return resultobj;
21749 fail:
21750 return NULL;
21751 }
21752
21753
21754 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21755 PyObject *resultobj;
21756 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21757 long arg2 ;
21758 wxString *arg3 = 0 ;
21759 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21760 int arg5 = (int) -1 ;
21761 long result;
21762 bool temp3 = False ;
21763 PyObject * obj0 = 0 ;
21764 PyObject * obj1 = 0 ;
21765 PyObject * obj2 = 0 ;
21766 PyObject * obj3 = 0 ;
21767 PyObject * obj4 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21774 {
21775 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 {
21779 arg3 = wxString_in_helper(obj2);
21780 if (arg3 == NULL) SWIG_fail;
21781 temp3 = True;
21782 }
21783 if (obj3) {
21784 {
21785 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 }
21789 if (obj4) {
21790 {
21791 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 }
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 resultobj = SWIG_PyObj_FromLong((long)result);
21803 {
21804 if (temp3)
21805 delete arg3;
21806 }
21807 return resultobj;
21808 fail:
21809 {
21810 if (temp3)
21811 delete arg3;
21812 }
21813 return NULL;
21814 }
21815
21816
21817 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21818 PyObject *resultobj;
21819 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21820 long arg2 ;
21821 PyObject * obj0 = 0 ;
21822 PyObject * obj1 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "count", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21829 {
21830 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 (arg1)->SetItemCount(arg2);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 Py_INCREF(Py_None); resultobj = Py_None;
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21850 int arg2 ;
21851 int arg3 ;
21852 bool result;
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 PyObject * obj2 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self",(char *) "dx",(char *) "dy", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21862 {
21863 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 {
21867 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 result = (bool)(arg1)->ScrollList(arg2,arg3);
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21887 long arg2 ;
21888 wxColour *arg3 = 0 ;
21889 wxColour temp3 ;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 PyObject * obj2 = 0 ;
21893 char *kwnames[] = {
21894 (char *) "self",(char *) "item",(char *) "col", NULL
21895 };
21896
21897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21899 {
21900 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 {
21904 arg3 = &temp3;
21905 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21906 }
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 Py_INCREF(Py_None); resultobj = Py_None;
21915 return resultobj;
21916 fail:
21917 return NULL;
21918 }
21919
21920
21921 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21924 long arg2 ;
21925 wxColour result;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "item", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 {
21935 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 {
21946 wxColour * resultptr;
21947 resultptr = new wxColour((wxColour &) result);
21948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21949 }
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21959 long arg2 ;
21960 wxColour *arg3 = 0 ;
21961 wxColour temp3 ;
21962 PyObject * obj0 = 0 ;
21963 PyObject * obj1 = 0 ;
21964 PyObject * obj2 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self",(char *) "item",(char *) "col", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21971 {
21972 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 {
21976 arg3 = &temp3;
21977 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21978 }
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 Py_INCREF(Py_None); resultobj = Py_None;
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21996 long arg2 ;
21997 wxColour result;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "item", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22006 {
22007 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 {
22018 wxColour * resultptr;
22019 resultptr = new wxColour((wxColour &) result);
22020 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22021 }
22022 return resultobj;
22023 fail:
22024 return NULL;
22025 }
22026
22027
22028 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22031 PyObject *arg2 = (PyObject *) 0 ;
22032 bool result;
22033 PyObject * obj0 = 0 ;
22034 PyObject * obj1 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self",(char *) "func", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22041 arg2 = obj1;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj;
22058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22059 wxWindow *result;
22060 PyObject * obj0 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 {
22075 resultobj = wxPyMake_wxObject(result);
22076 }
22077 return resultobj;
22078 fail:
22079 return NULL;
22080 }
22081
22082
22083 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22084 PyObject *obj;
22085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22086 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22087 Py_INCREF(obj);
22088 return Py_BuildValue((char *)"");
22089 }
22090 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxWindow *arg1 = (wxWindow *) 0 ;
22093 int arg2 = (int) -1 ;
22094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22096 wxSize const &arg4_defvalue = wxDefaultSize ;
22097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22098 long arg5 = (long) wxLC_REPORT ;
22099 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22100 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22101 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22102 wxString *arg7 = (wxString *) &arg7_defvalue ;
22103 wxListView *result;
22104 wxPoint temp3 ;
22105 wxSize temp4 ;
22106 bool temp7 = False ;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 PyObject * obj2 = 0 ;
22110 PyObject * obj3 = 0 ;
22111 PyObject * obj4 = 0 ;
22112 PyObject * obj5 = 0 ;
22113 PyObject * obj6 = 0 ;
22114 char *kwnames[] = {
22115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22116 };
22117
22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22120 if (obj1) {
22121 {
22122 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 }
22125 }
22126 if (obj2) {
22127 {
22128 arg3 = &temp3;
22129 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22130 }
22131 }
22132 if (obj3) {
22133 {
22134 arg4 = &temp4;
22135 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22136 }
22137 }
22138 if (obj4) {
22139 {
22140 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 }
22144 if (obj5) {
22145 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22146 if (arg6 == NULL) {
22147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22148 }
22149 }
22150 if (obj6) {
22151 {
22152 arg7 = wxString_in_helper(obj6);
22153 if (arg7 == NULL) SWIG_fail;
22154 temp7 = True;
22155 }
22156 }
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22165 {
22166 if (temp7)
22167 delete arg7;
22168 }
22169 return resultobj;
22170 fail:
22171 {
22172 if (temp7)
22173 delete arg7;
22174 }
22175 return NULL;
22176 }
22177
22178
22179 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj;
22181 wxListView *result;
22182 char *kwnames[] = {
22183 NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (wxListView *)new wxListView();
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22195 return resultobj;
22196 fail:
22197 return NULL;
22198 }
22199
22200
22201 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxListView *arg1 = (wxListView *) 0 ;
22204 wxWindow *arg2 = (wxWindow *) 0 ;
22205 int arg3 = (int) -1 ;
22206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22208 wxSize const &arg5_defvalue = wxDefaultSize ;
22209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22210 long arg6 = (long) wxLC_REPORT ;
22211 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22212 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22213 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22214 wxString *arg8 = (wxString *) &arg8_defvalue ;
22215 bool result;
22216 wxPoint temp4 ;
22217 wxSize temp5 ;
22218 bool temp8 = False ;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 PyObject * obj2 = 0 ;
22222 PyObject * obj3 = 0 ;
22223 PyObject * obj4 = 0 ;
22224 PyObject * obj5 = 0 ;
22225 PyObject * obj6 = 0 ;
22226 PyObject * obj7 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22234 if (obj2) {
22235 {
22236 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 }
22240 if (obj3) {
22241 {
22242 arg4 = &temp4;
22243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22244 }
22245 }
22246 if (obj4) {
22247 {
22248 arg5 = &temp5;
22249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22250 }
22251 }
22252 if (obj5) {
22253 {
22254 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 }
22258 if (obj6) {
22259 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22260 if (arg7 == NULL) {
22261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22262 }
22263 }
22264 if (obj7) {
22265 {
22266 arg8 = wxString_in_helper(obj7);
22267 if (arg8 == NULL) SWIG_fail;
22268 temp8 = True;
22269 }
22270 }
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22279 {
22280 if (temp8)
22281 delete arg8;
22282 }
22283 return resultobj;
22284 fail:
22285 {
22286 if (temp8)
22287 delete arg8;
22288 }
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxListView *arg1 = (wxListView *) 0 ;
22296 long arg2 ;
22297 bool arg3 = (bool) True ;
22298 PyObject * obj0 = 0 ;
22299 PyObject * obj1 = 0 ;
22300 PyObject * obj2 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self",(char *) "n",(char *) "on", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 {
22308 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 if (obj2) {
22312 {
22313 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 (arg1)->Select(arg2,arg3);
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 Py_INCREF(Py_None); resultobj = Py_None;
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj;
22333 wxListView *arg1 = (wxListView *) 0 ;
22334 long arg2 ;
22335 PyObject * obj0 = 0 ;
22336 PyObject * obj1 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "self",(char *) "index", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22343 {
22344 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 (arg1)->Focus(arg2);
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 Py_INCREF(Py_None); resultobj = Py_None;
22355 return resultobj;
22356 fail:
22357 return NULL;
22358 }
22359
22360
22361 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22362 PyObject *resultobj;
22363 wxListView *arg1 = (wxListView *) 0 ;
22364 long result;
22365 PyObject * obj0 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "self", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_PyObj_FromLong((long)result);
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22387 PyObject *resultobj;
22388 wxListView *arg1 = (wxListView *) 0 ;
22389 long arg2 ;
22390 long result;
22391 PyObject * obj0 = 0 ;
22392 PyObject * obj1 = 0 ;
22393 char *kwnames[] = {
22394 (char *) "self",(char *) "item", NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22399 {
22400 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 resultobj = SWIG_PyObj_FromLong((long)result);
22411 return resultobj;
22412 fail:
22413 return NULL;
22414 }
22415
22416
22417 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxListView *arg1 = (wxListView *) 0 ;
22420 long result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22431
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 resultobj = SWIG_PyObj_FromLong((long)result);
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22443 PyObject *resultobj;
22444 wxListView *arg1 = (wxListView *) 0 ;
22445 long arg2 ;
22446 bool result;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self",(char *) "index", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22455 {
22456 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = (bool)(arg1)->IsSelected(arg2);
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22467 return resultobj;
22468 fail:
22469 return NULL;
22470 }
22471
22472
22473 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22474 PyObject *resultobj;
22475 wxListView *arg1 = (wxListView *) 0 ;
22476 int arg2 ;
22477 int arg3 ;
22478 PyObject * obj0 = 0 ;
22479 PyObject * obj1 = 0 ;
22480 PyObject * obj2 = 0 ;
22481 char *kwnames[] = {
22482 (char *) "self",(char *) "col",(char *) "image", NULL
22483 };
22484
22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22487 {
22488 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 {
22492 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 (arg1)->SetColumnImage(arg2,arg3);
22498
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 Py_INCREF(Py_None); resultobj = Py_None;
22503 return resultobj;
22504 fail:
22505 return NULL;
22506 }
22507
22508
22509 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22510 PyObject *resultobj;
22511 wxListView *arg1 = (wxListView *) 0 ;
22512 int arg2 ;
22513 PyObject * obj0 = 0 ;
22514 PyObject * obj1 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self",(char *) "col", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22521 {
22522 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 (arg1)->ClearColumnImage(arg2);
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 Py_INCREF(Py_None); resultobj = Py_None;
22533 return resultobj;
22534 fail:
22535 return NULL;
22536 }
22537
22538
22539 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22540 PyObject *obj;
22541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22542 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22543 Py_INCREF(obj);
22544 return Py_BuildValue((char *)"");
22545 }
22546 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22547 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22548 return 1;
22549 }
22550
22551
22552 static PyObject *_wrap_TreeCtrlNameStr_get() {
22553 PyObject *pyobj;
22554
22555 {
22556 #if wxUSE_UNICODE
22557 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22558 #else
22559 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22560 #endif
22561 }
22562 return pyobj;
22563 }
22564
22565
22566 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxTreeItemId *result;
22569 char *kwnames[] = {
22570 NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 result = (wxTreeItemId *)new wxTreeItemId();
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22582 return resultobj;
22583 fail:
22584 return NULL;
22585 }
22586
22587
22588 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj;
22590 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22591 PyObject * obj0 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 delete arg1;
22601
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 Py_INCREF(Py_None); resultobj = Py_None;
22606 return resultobj;
22607 fail:
22608 return NULL;
22609 }
22610
22611
22612 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj;
22614 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22615 bool result;
22616 PyObject * obj0 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22631 return resultobj;
22632 fail:
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22640 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22641 bool result;
22642 PyObject * obj0 = 0 ;
22643 PyObject * obj1 = 0 ;
22644 char *kwnames[] = {
22645 (char *) "self",(char *) "other", NULL
22646 };
22647
22648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22651 {
22652 PyThreadState* __tstate = wxPyBeginAllowThreads();
22653 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22654
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22659 return resultobj;
22660 fail:
22661 return NULL;
22662 }
22663
22664
22665 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22666 PyObject *resultobj;
22667 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22668 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22669 bool result;
22670 PyObject * obj0 = 0 ;
22671 PyObject * obj1 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self",(char *) "other", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22687 return resultobj;
22688 fail:
22689 return NULL;
22690 }
22691
22692
22693 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22694 PyObject *resultobj;
22695 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22696 void *arg2 = (void *) 0 ;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "m_pItem", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22706 if (arg1) (arg1)->m_pItem = arg2;
22707
22708 Py_INCREF(Py_None); resultobj = Py_None;
22709 return resultobj;
22710 fail:
22711 return NULL;
22712 }
22713
22714
22715 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj;
22717 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22718 void *result;
22719 PyObject * obj0 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22726 result = (void *) ((arg1)->m_pItem);
22727
22728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22729 return resultobj;
22730 fail:
22731 return NULL;
22732 }
22733
22734
22735 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22736 PyObject *obj;
22737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22738 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22739 Py_INCREF(obj);
22740 return Py_BuildValue((char *)"");
22741 }
22742 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22743 PyObject *resultobj;
22744 PyObject *arg1 = (PyObject *) NULL ;
22745 wxPyTreeItemData *result;
22746 PyObject * obj0 = 0 ;
22747 char *kwnames[] = {
22748 (char *) "obj", NULL
22749 };
22750
22751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22752 if (obj0) {
22753 arg1 = obj0;
22754 }
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
22763 return resultobj;
22764 fail:
22765 return NULL;
22766 }
22767
22768
22769 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22770 PyObject *resultobj;
22771 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22772 PyObject *result;
22773 PyObject * obj0 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self", NULL
22776 };
22777
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 result = (PyObject *)(arg1)->GetData();
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = result;
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22797 PyObject *arg2 = (PyObject *) 0 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self",(char *) "obj", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22806 arg2 = obj1;
22807 {
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 (arg1)->SetData(arg2);
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 Py_INCREF(Py_None); resultobj = Py_None;
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22824 wxTreeItemId *result;
22825 PyObject * obj0 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 {
22835 wxTreeItemId const &_result_ref = (arg1)->GetId();
22836 result = (wxTreeItemId *) &_result_ref;
22837 }
22838
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22852 wxTreeItemId *arg2 = 0 ;
22853 PyObject * obj0 = 0 ;
22854 PyObject * obj1 = 0 ;
22855 char *kwnames[] = {
22856 (char *) "self",(char *) "id", NULL
22857 };
22858
22859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22862 if (arg2 == NULL) {
22863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22864 }
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 (arg1)->SetId((wxTreeItemId const &)*arg2);
22868
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 Py_INCREF(Py_None); resultobj = Py_None;
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22882 PyObject * obj0 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 wxPyTreeItemData_Destroy(arg1);
22892
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 Py_INCREF(Py_None); resultobj = Py_None;
22897 return resultobj;
22898 fail:
22899 return NULL;
22900 }
22901
22902
22903 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
22904 PyObject *obj;
22905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
22907 Py_INCREF(obj);
22908 return Py_BuildValue((char *)"");
22909 }
22910 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22913 int arg2 = (int) 0 ;
22914 wxTreeEvent *result;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "commandType",(char *) "id", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
22922 if (obj0) {
22923 {
22924 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 }
22928 if (obj1) {
22929 {
22930 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 }
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22951 wxTreeItemId result;
22952 PyObject * obj0 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
22958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = ((wxTreeEvent const *)arg1)->GetItem();
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967 wxTreeItemId * resultptr;
22968 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22969 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22970 }
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22980 wxTreeItemId *arg2 = 0 ;
22981 PyObject * obj0 = 0 ;
22982 PyObject * obj1 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self",(char *) "item", NULL
22985 };
22986
22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
22988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22990 if (arg2 == NULL) {
22991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22992 }
22993 {
22994 PyThreadState* __tstate = wxPyBeginAllowThreads();
22995 (arg1)->SetItem((wxTreeItemId const &)*arg2);
22996
22997 wxPyEndAllowThreads(__tstate);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 Py_INCREF(Py_None); resultobj = Py_None;
23001 return resultobj;
23002 fail:
23003 return NULL;
23004 }
23005
23006
23007 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23008 PyObject *resultobj;
23009 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23010 wxTreeItemId result;
23011 PyObject * obj0 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23021
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 {
23026 wxTreeItemId * resultptr;
23027 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23028 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23029 }
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23039 wxTreeItemId *arg2 = 0 ;
23040 PyObject * obj0 = 0 ;
23041 PyObject * obj1 = 0 ;
23042 char *kwnames[] = {
23043 (char *) "self",(char *) "item", NULL
23044 };
23045
23046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23049 if (arg2 == NULL) {
23050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23051 }
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 Py_INCREF(Py_None); resultobj = Py_None;
23060 return resultobj;
23061 fail:
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23069 wxPoint result;
23070 PyObject * obj0 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self", NULL
23073 };
23074
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 result = ((wxTreeEvent const *)arg1)->GetPoint();
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 {
23085 wxPoint * resultptr;
23086 resultptr = new wxPoint((wxPoint &) result);
23087 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23088 }
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23098 wxPoint *arg2 = 0 ;
23099 wxPoint temp2 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 char *kwnames[] = {
23103 (char *) "self",(char *) "pt", NULL
23104 };
23105
23106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23108 {
23109 arg2 = &temp2;
23110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23111 }
23112 {
23113 PyThreadState* __tstate = wxPyBeginAllowThreads();
23114 (arg1)->SetPoint((wxPoint const &)*arg2);
23115
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 Py_INCREF(Py_None); resultobj = Py_None;
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23129 wxKeyEvent *result;
23130 PyObject * obj0 = 0 ;
23131 char *kwnames[] = {
23132 (char *) "self", NULL
23133 };
23134
23135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23137 {
23138 PyThreadState* __tstate = wxPyBeginAllowThreads();
23139 {
23140 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23141 result = (wxKeyEvent *) &_result_ref;
23142 }
23143
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23148 return resultobj;
23149 fail:
23150 return NULL;
23151 }
23152
23153
23154 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj;
23156 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23157 int result;
23158 PyObject * obj0 = 0 ;
23159 char *kwnames[] = {
23160 (char *) "self", NULL
23161 };
23162
23163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
23167 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23168
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 resultobj = SWIG_PyObj_FromInt((int)result);
23173 return resultobj;
23174 fail:
23175 return NULL;
23176 }
23177
23178
23179 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23180 PyObject *resultobj;
23181 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23182 wxKeyEvent *arg2 = 0 ;
23183 PyObject * obj0 = 0 ;
23184 PyObject * obj1 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self",(char *) "evt", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23192 if (arg2 == NULL) {
23193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23194 }
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23198
23199 wxPyEndAllowThreads(__tstate);
23200 if (PyErr_Occurred()) SWIG_fail;
23201 }
23202 Py_INCREF(Py_None); resultobj = Py_None;
23203 return resultobj;
23204 fail:
23205 return NULL;
23206 }
23207
23208
23209 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23210 PyObject *resultobj;
23211 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23212 wxString *result;
23213 PyObject * obj0 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "self", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 {
23223 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23224 result = (wxString *) &_result_ref;
23225 }
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 {
23231 #if wxUSE_UNICODE
23232 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23233 #else
23234 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23235 #endif
23236 }
23237 return resultobj;
23238 fail:
23239 return NULL;
23240 }
23241
23242
23243 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23246 wxString *arg2 = 0 ;
23247 bool temp2 = False ;
23248 PyObject * obj0 = 0 ;
23249 PyObject * obj1 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self",(char *) "label", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23256 {
23257 arg2 = wxString_in_helper(obj1);
23258 if (arg2 == NULL) SWIG_fail;
23259 temp2 = True;
23260 }
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 (arg1)->SetLabel((wxString const &)*arg2);
23264
23265 wxPyEndAllowThreads(__tstate);
23266 if (PyErr_Occurred()) SWIG_fail;
23267 }
23268 Py_INCREF(Py_None); resultobj = Py_None;
23269 {
23270 if (temp2)
23271 delete arg2;
23272 }
23273 return resultobj;
23274 fail:
23275 {
23276 if (temp2)
23277 delete arg2;
23278 }
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj;
23285 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23286 bool result;
23287 PyObject * obj0 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23302 return resultobj;
23303 fail:
23304 return NULL;
23305 }
23306
23307
23308 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj;
23310 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23311 bool arg2 ;
23312 PyObject * obj0 = 0 ;
23313 PyObject * obj1 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self",(char *) "editCancelled", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23320 {
23321 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 (arg1)->SetEditCanceled(arg2);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 Py_INCREF(Py_None); resultobj = Py_None;
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23341 wxString *arg2 = 0 ;
23342 bool temp2 = False ;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "toolTip", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 {
23352 arg2 = wxString_in_helper(obj1);
23353 if (arg2 == NULL) SWIG_fail;
23354 temp2 = True;
23355 }
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 (arg1)->SetToolTip((wxString const &)*arg2);
23359
23360 wxPyEndAllowThreads(__tstate);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 }
23363 Py_INCREF(Py_None); resultobj = Py_None;
23364 {
23365 if (temp2)
23366 delete arg2;
23367 }
23368 return resultobj;
23369 fail:
23370 {
23371 if (temp2)
23372 delete arg2;
23373 }
23374 return NULL;
23375 }
23376
23377
23378 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23379 PyObject *obj;
23380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23381 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23382 Py_INCREF(obj);
23383 return Py_BuildValue((char *)"");
23384 }
23385 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj;
23387 wxWindow *arg1 = (wxWindow *) 0 ;
23388 int arg2 = (int) -1 ;
23389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23391 wxSize const &arg4_defvalue = wxDefaultSize ;
23392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23393 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23394 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23395 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23396 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23397 wxString *arg7 = (wxString *) &arg7_defvalue ;
23398 wxPyTreeCtrl *result;
23399 wxPoint temp3 ;
23400 wxSize temp4 ;
23401 bool temp7 = False ;
23402 PyObject * obj0 = 0 ;
23403 PyObject * obj1 = 0 ;
23404 PyObject * obj2 = 0 ;
23405 PyObject * obj3 = 0 ;
23406 PyObject * obj4 = 0 ;
23407 PyObject * obj5 = 0 ;
23408 PyObject * obj6 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23415 if (obj1) {
23416 {
23417 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 }
23421 if (obj2) {
23422 {
23423 arg3 = &temp3;
23424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23425 }
23426 }
23427 if (obj3) {
23428 {
23429 arg4 = &temp4;
23430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23431 }
23432 }
23433 if (obj4) {
23434 {
23435 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 }
23439 if (obj5) {
23440 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23441 if (arg6 == NULL) {
23442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23443 }
23444 }
23445 if (obj6) {
23446 {
23447 arg7 = wxString_in_helper(obj6);
23448 if (arg7 == NULL) SWIG_fail;
23449 temp7 = True;
23450 }
23451 }
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 resultobj = wxPyMake_wxObject(result);
23461 }
23462 {
23463 if (temp7)
23464 delete arg7;
23465 }
23466 return resultobj;
23467 fail:
23468 {
23469 if (temp7)
23470 delete arg7;
23471 }
23472 return NULL;
23473 }
23474
23475
23476 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj;
23478 wxPyTreeCtrl *result;
23479 char *kwnames[] = {
23480 NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 {
23492 resultobj = wxPyMake_wxObject(result);
23493 }
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23503 wxWindow *arg2 = (wxWindow *) 0 ;
23504 int arg3 = (int) -1 ;
23505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23507 wxSize const &arg5_defvalue = wxDefaultSize ;
23508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23509 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23510 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23511 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23512 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23513 wxString *arg8 = (wxString *) &arg8_defvalue ;
23514 bool result;
23515 wxPoint temp4 ;
23516 wxSize temp5 ;
23517 bool temp8 = False ;
23518 PyObject * obj0 = 0 ;
23519 PyObject * obj1 = 0 ;
23520 PyObject * obj2 = 0 ;
23521 PyObject * obj3 = 0 ;
23522 PyObject * obj4 = 0 ;
23523 PyObject * obj5 = 0 ;
23524 PyObject * obj6 = 0 ;
23525 PyObject * obj7 = 0 ;
23526 char *kwnames[] = {
23527 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23528 };
23529
23530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23533 if (obj2) {
23534 {
23535 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 }
23539 if (obj3) {
23540 {
23541 arg4 = &temp4;
23542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23543 }
23544 }
23545 if (obj4) {
23546 {
23547 arg5 = &temp5;
23548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23549 }
23550 }
23551 if (obj5) {
23552 {
23553 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 }
23557 if (obj6) {
23558 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23559 if (arg7 == NULL) {
23560 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23561 }
23562 }
23563 if (obj7) {
23564 {
23565 arg8 = wxString_in_helper(obj7);
23566 if (arg8 == NULL) SWIG_fail;
23567 temp8 = True;
23568 }
23569 }
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23578 {
23579 if (temp8)
23580 delete arg8;
23581 }
23582 return resultobj;
23583 fail:
23584 {
23585 if (temp8)
23586 delete arg8;
23587 }
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23595 PyObject *arg2 = (PyObject *) 0 ;
23596 PyObject *arg3 = (PyObject *) 0 ;
23597 PyObject * obj0 = 0 ;
23598 PyObject * obj1 = 0 ;
23599 PyObject * obj2 = 0 ;
23600 char *kwnames[] = {
23601 (char *) "self",(char *) "self",(char *) "_class", NULL
23602 };
23603
23604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23606 arg2 = obj1;
23607 arg3 = obj2;
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->_setCallbackInfo(arg2,arg3);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23625 size_t result;
23626 PyObject * obj0 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23641 return resultobj;
23642 fail:
23643 return NULL;
23644 }
23645
23646
23647 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23648 PyObject *resultobj;
23649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23650 unsigned int result;
23651 PyObject * obj0 = 0 ;
23652 char *kwnames[] = {
23653 (char *) "self", NULL
23654 };
23655
23656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23666 return resultobj;
23667 fail:
23668 return NULL;
23669 }
23670
23671
23672 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj;
23674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23675 unsigned int arg2 ;
23676 PyObject * obj0 = 0 ;
23677 PyObject * obj1 = 0 ;
23678 char *kwnames[] = {
23679 (char *) "self",(char *) "indent", NULL
23680 };
23681
23682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23684 {
23685 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 {
23689 PyThreadState* __tstate = wxPyBeginAllowThreads();
23690 (arg1)->SetIndent(arg2);
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 Py_INCREF(Py_None); resultobj = Py_None;
23696 return resultobj;
23697 fail:
23698 return NULL;
23699 }
23700
23701
23702 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23703 PyObject *resultobj;
23704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23705 unsigned int result;
23706 PyObject * obj0 = 0 ;
23707 char *kwnames[] = {
23708 (char *) "self", NULL
23709 };
23710
23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23713 {
23714 PyThreadState* __tstate = wxPyBeginAllowThreads();
23715 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23716
23717 wxPyEndAllowThreads(__tstate);
23718 if (PyErr_Occurred()) SWIG_fail;
23719 }
23720 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23721 return resultobj;
23722 fail:
23723 return NULL;
23724 }
23725
23726
23727 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23728 PyObject *resultobj;
23729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23730 unsigned int arg2 ;
23731 PyObject * obj0 = 0 ;
23732 PyObject * obj1 = 0 ;
23733 char *kwnames[] = {
23734 (char *) "self",(char *) "spacing", NULL
23735 };
23736
23737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23739 {
23740 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 {
23744 PyThreadState* __tstate = wxPyBeginAllowThreads();
23745 (arg1)->SetSpacing(arg2);
23746
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 Py_INCREF(Py_None); resultobj = Py_None;
23751 return resultobj;
23752 fail:
23753 return NULL;
23754 }
23755
23756
23757 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23758 PyObject *resultobj;
23759 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23760 wxImageList *result;
23761 PyObject * obj0 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 {
23776 resultobj = wxPyMake_wxObject(result);
23777 }
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23787 wxImageList *result;
23788 PyObject * obj0 = 0 ;
23789 char *kwnames[] = {
23790 (char *) "self", NULL
23791 };
23792
23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23798
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 {
23803 resultobj = wxPyMake_wxObject(result);
23804 }
23805 return resultobj;
23806 fail:
23807 return NULL;
23808 }
23809
23810
23811 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23812 PyObject *resultobj;
23813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23814 wxImageList *arg2 = (wxImageList *) 0 ;
23815 PyObject * obj0 = 0 ;
23816 PyObject * obj1 = 0 ;
23817 char *kwnames[] = {
23818 (char *) "self",(char *) "imageList", NULL
23819 };
23820
23821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 (arg1)->SetImageList(arg2);
23827
23828 wxPyEndAllowThreads(__tstate);
23829 if (PyErr_Occurred()) SWIG_fail;
23830 }
23831 Py_INCREF(Py_None); resultobj = Py_None;
23832 return resultobj;
23833 fail:
23834 return NULL;
23835 }
23836
23837
23838 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23839 PyObject *resultobj;
23840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23841 wxImageList *arg2 = (wxImageList *) 0 ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self",(char *) "imageList", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 (arg1)->SetStateImageList(arg2);
23854
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 Py_INCREF(Py_None); resultobj = Py_None;
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj;
23867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23868 wxImageList *arg2 = (wxImageList *) 0 ;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "imageList", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 (arg1)->AssignImageList(arg2);
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 Py_INCREF(Py_None); resultobj = Py_None;
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23893 PyObject *resultobj;
23894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23895 wxImageList *arg2 = (wxImageList *) 0 ;
23896 PyObject * obj0 = 0 ;
23897 PyObject * obj1 = 0 ;
23898 char *kwnames[] = {
23899 (char *) "self",(char *) "imageList", NULL
23900 };
23901
23902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
23903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 (arg1)->AssignStateImageList(arg2);
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
23912 Py_INCREF(Py_None); resultobj = Py_None;
23913 return resultobj;
23914 fail:
23915 return NULL;
23916 }
23917
23918
23919 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
23920 PyObject *resultobj;
23921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23922 wxTreeItemId *arg2 = 0 ;
23923 wxString result;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self",(char *) "item", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23933 if (arg2 == NULL) {
23934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23935 }
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 {
23944 #if wxUSE_UNICODE
23945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23946 #else
23947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23948 #endif
23949 }
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23959 wxTreeItemId *arg2 = 0 ;
23960 int arg3 = (int) wxTreeItemIcon_Normal ;
23961 int result;
23962 PyObject * obj0 = 0 ;
23963 PyObject * obj1 = 0 ;
23964 PyObject * obj2 = 0 ;
23965 char *kwnames[] = {
23966 (char *) "self",(char *) "item",(char *) "which", NULL
23967 };
23968
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23972 if (arg2 == NULL) {
23973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23974 }
23975 if (obj2) {
23976 {
23977 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
23978 if (PyErr_Occurred()) SWIG_fail;
23979 }
23980 }
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 resultobj = SWIG_PyObj_FromInt((int)result);
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23998 wxTreeItemId *arg2 = 0 ;
23999 wxPyTreeItemData *result;
24000 PyObject * obj0 = 0 ;
24001 PyObject * obj1 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self",(char *) "item", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24009 if (arg2 == NULL) {
24010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24011 }
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
24020 return resultobj;
24021 fail:
24022 return NULL;
24023 }
24024
24025
24026 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24029 wxTreeItemId *arg2 = 0 ;
24030 PyObject *result;
24031 PyObject * obj0 = 0 ;
24032 PyObject * obj1 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self",(char *) "item", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24040 if (arg2 == NULL) {
24041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24042 }
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24046
24047 wxPyEndAllowThreads(__tstate);
24048 if (PyErr_Occurred()) SWIG_fail;
24049 }
24050 resultobj = result;
24051 return resultobj;
24052 fail:
24053 return NULL;
24054 }
24055
24056
24057 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24060 wxTreeItemId *arg2 = 0 ;
24061 wxColour result;
24062 PyObject * obj0 = 0 ;
24063 PyObject * obj1 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self",(char *) "item", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24071 if (arg2 == NULL) {
24072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24073 }
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24077
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 {
24082 wxColour * resultptr;
24083 resultptr = new wxColour((wxColour &) result);
24084 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24085 }
24086 return resultobj;
24087 fail:
24088 return NULL;
24089 }
24090
24091
24092 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24093 PyObject *resultobj;
24094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24095 wxTreeItemId *arg2 = 0 ;
24096 wxColour result;
24097 PyObject * obj0 = 0 ;
24098 PyObject * obj1 = 0 ;
24099 char *kwnames[] = {
24100 (char *) "self",(char *) "item", NULL
24101 };
24102
24103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24106 if (arg2 == NULL) {
24107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24108 }
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 {
24117 wxColour * resultptr;
24118 resultptr = new wxColour((wxColour &) result);
24119 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24120 }
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24130 wxTreeItemId *arg2 = 0 ;
24131 wxFont 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_GetItemFont",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 = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 {
24152 wxFont * resultptr;
24153 resultptr = new wxFont((wxFont &) result);
24154 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24155 }
24156 return resultobj;
24157 fail:
24158 return NULL;
24159 }
24160
24161
24162 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24163 PyObject *resultobj;
24164 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24165 wxTreeItemId *arg2 = 0 ;
24166 wxString *arg3 = 0 ;
24167 bool temp3 = False ;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170 PyObject * obj2 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "item",(char *) "text", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24178 if (arg2 == NULL) {
24179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24180 }
24181 {
24182 arg3 = wxString_in_helper(obj2);
24183 if (arg3 == NULL) SWIG_fail;
24184 temp3 = True;
24185 }
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 Py_INCREF(Py_None); resultobj = Py_None;
24194 {
24195 if (temp3)
24196 delete arg3;
24197 }
24198 return resultobj;
24199 fail:
24200 {
24201 if (temp3)
24202 delete arg3;
24203 }
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24211 wxTreeItemId *arg2 = 0 ;
24212 int arg3 ;
24213 int arg4 = (int) wxTreeItemIcon_Normal ;
24214 PyObject * obj0 = 0 ;
24215 PyObject * obj1 = 0 ;
24216 PyObject * obj2 = 0 ;
24217 PyObject * obj3 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24225 if (arg2 == NULL) {
24226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24227 }
24228 {
24229 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 if (obj3) {
24233 {
24234 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 }
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24241
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 Py_INCREF(Py_None); resultobj = Py_None;
24246 return resultobj;
24247 fail:
24248 return NULL;
24249 }
24250
24251
24252 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj;
24254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24255 wxTreeItemId *arg2 = 0 ;
24256 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 PyObject * obj2 = 0 ;
24260 char *kwnames[] = {
24261 (char *) "self",(char *) "item",(char *) "data", NULL
24262 };
24263
24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24267 if (arg2 == NULL) {
24268 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24269 }
24270 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 Py_INCREF(Py_None); resultobj = Py_None;
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24288 wxTreeItemId *arg2 = 0 ;
24289 PyObject *arg3 = (PyObject *) 0 ;
24290 PyObject * obj0 = 0 ;
24291 PyObject * obj1 = 0 ;
24292 PyObject * obj2 = 0 ;
24293 char *kwnames[] = {
24294 (char *) "self",(char *) "item",(char *) "obj", NULL
24295 };
24296
24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 if (arg2 == NULL) {
24301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24302 }
24303 arg3 = obj2;
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 Py_INCREF(Py_None); resultobj = Py_None;
24312 return resultobj;
24313 fail:
24314 return NULL;
24315 }
24316
24317
24318 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24321 wxTreeItemId *arg2 = 0 ;
24322 bool arg3 = (bool) True ;
24323 PyObject * obj0 = 0 ;
24324 PyObject * obj1 = 0 ;
24325 PyObject * obj2 = 0 ;
24326 char *kwnames[] = {
24327 (char *) "self",(char *) "item",(char *) "has", NULL
24328 };
24329
24330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24333 if (arg2 == NULL) {
24334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24335 }
24336 if (obj2) {
24337 {
24338 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 }
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 Py_INCREF(Py_None); resultobj = Py_None;
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24359 wxTreeItemId *arg2 = 0 ;
24360 bool arg3 = (bool) True ;
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 PyObject * obj2 = 0 ;
24364 char *kwnames[] = {
24365 (char *) "self",(char *) "item",(char *) "bold", NULL
24366 };
24367
24368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24371 if (arg2 == NULL) {
24372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24373 }
24374 if (obj2) {
24375 {
24376 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 }
24380 {
24381 PyThreadState* __tstate = wxPyBeginAllowThreads();
24382 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24383
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
24387 Py_INCREF(Py_None); resultobj = Py_None;
24388 return resultobj;
24389 fail:
24390 return NULL;
24391 }
24392
24393
24394 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24395 PyObject *resultobj;
24396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24397 wxTreeItemId *arg2 = 0 ;
24398 wxColour *arg3 = 0 ;
24399 wxColour temp3 ;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 PyObject * obj2 = 0 ;
24403 char *kwnames[] = {
24404 (char *) "self",(char *) "item",(char *) "col", NULL
24405 };
24406
24407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24410 if (arg2 == NULL) {
24411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24412 }
24413 {
24414 arg3 = &temp3;
24415 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 Py_INCREF(Py_None); resultobj = Py_None;
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24434 wxTreeItemId *arg2 = 0 ;
24435 wxColour *arg3 = 0 ;
24436 wxColour temp3 ;
24437 PyObject * obj0 = 0 ;
24438 PyObject * obj1 = 0 ;
24439 PyObject * obj2 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "item",(char *) "col", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24447 if (arg2 == NULL) {
24448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24449 }
24450 {
24451 arg3 = &temp3;
24452 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24453 }
24454 {
24455 PyThreadState* __tstate = wxPyBeginAllowThreads();
24456 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24457
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 Py_INCREF(Py_None); resultobj = Py_None;
24462 return resultobj;
24463 fail:
24464 return NULL;
24465 }
24466
24467
24468 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj;
24470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24471 wxTreeItemId *arg2 = 0 ;
24472 wxFont *arg3 = 0 ;
24473 PyObject * obj0 = 0 ;
24474 PyObject * obj1 = 0 ;
24475 PyObject * obj2 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "item",(char *) "font", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24483 if (arg2 == NULL) {
24484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24485 }
24486 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24487 if (arg3 == NULL) {
24488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24489 }
24490 {
24491 PyThreadState* __tstate = wxPyBeginAllowThreads();
24492 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24493
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 Py_INCREF(Py_None); resultobj = Py_None;
24498 return resultobj;
24499 fail:
24500 return NULL;
24501 }
24502
24503
24504 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24505 PyObject *resultobj;
24506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24507 wxTreeItemId *arg2 = 0 ;
24508 bool result;
24509 PyObject * obj0 = 0 ;
24510 PyObject * obj1 = 0 ;
24511 char *kwnames[] = {
24512 (char *) "self",(char *) "item", NULL
24513 };
24514
24515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24518 if (arg2 == NULL) {
24519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24520 }
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24529 return resultobj;
24530 fail:
24531 return NULL;
24532 }
24533
24534
24535 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj;
24537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24538 wxTreeItemId *arg2 = 0 ;
24539 bool result;
24540 PyObject * obj0 = 0 ;
24541 PyObject * obj1 = 0 ;
24542 char *kwnames[] = {
24543 (char *) "self",(char *) "item", NULL
24544 };
24545
24546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24549 if (arg2 == NULL) {
24550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24551 }
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24555
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24560 return resultobj;
24561 fail:
24562 return NULL;
24563 }
24564
24565
24566 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj;
24568 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24569 wxTreeItemId *arg2 = 0 ;
24570 bool result;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self",(char *) "item", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24580 if (arg2 == NULL) {
24581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24582 }
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24600 wxTreeItemId *arg2 = 0 ;
24601 bool result;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self",(char *) "item", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24611 if (arg2 == NULL) {
24612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24613 }
24614 {
24615 PyThreadState* __tstate = wxPyBeginAllowThreads();
24616 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24617
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24622 return resultobj;
24623 fail:
24624 return NULL;
24625 }
24626
24627
24628 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24629 PyObject *resultobj;
24630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24631 wxTreeItemId *arg2 = 0 ;
24632 bool result;
24633 PyObject * obj0 = 0 ;
24634 PyObject * obj1 = 0 ;
24635 char *kwnames[] = {
24636 (char *) "self",(char *) "item", NULL
24637 };
24638
24639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24642 if (arg2 == NULL) {
24643 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24644 }
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
24647 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24648
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24653 return resultobj;
24654 fail:
24655 return NULL;
24656 }
24657
24658
24659 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj;
24661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24662 wxTreeItemId *arg2 = 0 ;
24663 bool arg3 = (bool) True ;
24664 size_t result;
24665 PyObject * obj0 = 0 ;
24666 PyObject * obj1 = 0 ;
24667 PyObject * obj2 = 0 ;
24668 char *kwnames[] = {
24669 (char *) "self",(char *) "item",(char *) "recursively", NULL
24670 };
24671
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24675 if (arg2 == NULL) {
24676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24677 }
24678 if (obj2) {
24679 {
24680 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 }
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj;
24700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24701 wxTreeItemId result;
24702 PyObject * obj0 = 0 ;
24703 char *kwnames[] = {
24704 (char *) "self", NULL
24705 };
24706
24707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 {
24717 wxTreeItemId * resultptr;
24718 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24720 }
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj;
24729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24730 wxTreeItemId result;
24731 PyObject * obj0 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24741
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
24745 {
24746 wxTreeItemId * resultptr;
24747 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24748 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24749 }
24750 return resultobj;
24751 fail:
24752 return NULL;
24753 }
24754
24755
24756 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj;
24758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24759 PyObject *result;
24760 PyObject * obj0 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self", NULL
24763 };
24764
24765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24767 {
24768 PyThreadState* __tstate = wxPyBeginAllowThreads();
24769 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24770
24771 wxPyEndAllowThreads(__tstate);
24772 if (PyErr_Occurred()) SWIG_fail;
24773 }
24774 resultobj = result;
24775 return resultobj;
24776 fail:
24777 return NULL;
24778 }
24779
24780
24781 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24782 PyObject *resultobj;
24783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24784 wxTreeItemId *arg2 = 0 ;
24785 wxTreeItemId result;
24786 PyObject * obj0 = 0 ;
24787 PyObject * obj1 = 0 ;
24788 char *kwnames[] = {
24789 (char *) "self",(char *) "item", NULL
24790 };
24791
24792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24795 if (arg2 == NULL) {
24796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24797 }
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 {
24806 wxTreeItemId * resultptr;
24807 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24808 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24809 }
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24819 wxTreeItemId *arg2 = 0 ;
24820 PyObject *result;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 char *kwnames[] = {
24824 (char *) "self",(char *) "item", NULL
24825 };
24826
24827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
24828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24830 if (arg2 == NULL) {
24831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24832 }
24833 {
24834 PyThreadState* __tstate = wxPyBeginAllowThreads();
24835 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
24836
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
24840 resultobj = result;
24841 return resultobj;
24842 fail:
24843 return NULL;
24844 }
24845
24846
24847 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24848 PyObject *resultobj;
24849 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24850 wxTreeItemId *arg2 = 0 ;
24851 void *arg3 = (void *) 0 ;
24852 PyObject *result;
24853 PyObject * obj0 = 0 ;
24854 PyObject * obj1 = 0 ;
24855 PyObject * obj2 = 0 ;
24856 char *kwnames[] = {
24857 (char *) "self",(char *) "item",(char *) "cookie", NULL
24858 };
24859
24860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24863 if (arg2 == NULL) {
24864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24865 }
24866 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 resultobj = result;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24884 wxTreeItemId *arg2 = 0 ;
24885 wxTreeItemId result;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 char *kwnames[] = {
24889 (char *) "self",(char *) "item", NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
24893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24895 if (arg2 == NULL) {
24896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24897 }
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 {
24906 wxTreeItemId * resultptr;
24907 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24909 }
24910 return resultobj;
24911 fail:
24912 return NULL;
24913 }
24914
24915
24916 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj;
24918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24919 wxTreeItemId *arg2 = 0 ;
24920 wxTreeItemId result;
24921 PyObject * obj0 = 0 ;
24922 PyObject * obj1 = 0 ;
24923 char *kwnames[] = {
24924 (char *) "self",(char *) "item", NULL
24925 };
24926
24927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
24928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24930 if (arg2 == NULL) {
24931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24932 }
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
24941 wxTreeItemId * resultptr;
24942 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24943 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24944 }
24945 return resultobj;
24946 fail:
24947 return NULL;
24948 }
24949
24950
24951 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
24952 PyObject *resultobj;
24953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24954 wxTreeItemId *arg2 = 0 ;
24955 wxTreeItemId result;
24956 PyObject * obj0 = 0 ;
24957 PyObject * obj1 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self",(char *) "item", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
24963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24965 if (arg2 == NULL) {
24966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24967 }
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 {
24976 wxTreeItemId * resultptr;
24977 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24979 }
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24989 wxTreeItemId result;
24990 PyObject * obj0 = 0 ;
24991 char *kwnames[] = {
24992 (char *) "self", NULL
24993 };
24994
24995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
24996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 {
25005 wxTreeItemId * resultptr;
25006 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25007 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25008 }
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25018 wxTreeItemId *arg2 = 0 ;
25019 wxTreeItemId result;
25020 PyObject * obj0 = 0 ;
25021 PyObject * obj1 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self",(char *) "item", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25029 if (arg2 == NULL) {
25030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25031 }
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 {
25040 wxTreeItemId * resultptr;
25041 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25043 }
25044 return resultobj;
25045 fail:
25046 return NULL;
25047 }
25048
25049
25050 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25051 PyObject *resultobj;
25052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25053 wxTreeItemId *arg2 = 0 ;
25054 wxTreeItemId result;
25055 PyObject * obj0 = 0 ;
25056 PyObject * obj1 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "self",(char *) "item", NULL
25059 };
25060
25061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25064 if (arg2 == NULL) {
25065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25066 }
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25070
25071 wxPyEndAllowThreads(__tstate);
25072 if (PyErr_Occurred()) SWIG_fail;
25073 }
25074 {
25075 wxTreeItemId * resultptr;
25076 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25077 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25078 }
25079 return resultobj;
25080 fail:
25081 return NULL;
25082 }
25083
25084
25085 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25088 wxString *arg2 = 0 ;
25089 int arg3 = (int) -1 ;
25090 int arg4 = (int) -1 ;
25091 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25092 wxTreeItemId result;
25093 bool temp2 = False ;
25094 PyObject * obj0 = 0 ;
25095 PyObject * obj1 = 0 ;
25096 PyObject * obj2 = 0 ;
25097 PyObject * obj3 = 0 ;
25098 PyObject * obj4 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25101 };
25102
25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25105 {
25106 arg2 = wxString_in_helper(obj1);
25107 if (arg2 == NULL) SWIG_fail;
25108 temp2 = True;
25109 }
25110 if (obj2) {
25111 {
25112 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 }
25116 if (obj3) {
25117 {
25118 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
25121 }
25122 if (obj4) {
25123 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 }
25125 {
25126 PyThreadState* __tstate = wxPyBeginAllowThreads();
25127 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25128
25129 wxPyEndAllowThreads(__tstate);
25130 if (PyErr_Occurred()) SWIG_fail;
25131 }
25132 {
25133 wxTreeItemId * resultptr;
25134 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25136 }
25137 {
25138 if (temp2)
25139 delete arg2;
25140 }
25141 return resultobj;
25142 fail:
25143 {
25144 if (temp2)
25145 delete arg2;
25146 }
25147 return NULL;
25148 }
25149
25150
25151 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj;
25153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25154 wxTreeItemId *arg2 = 0 ;
25155 wxString *arg3 = 0 ;
25156 int arg4 = (int) -1 ;
25157 int arg5 = (int) -1 ;
25158 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25159 wxTreeItemId result;
25160 bool temp3 = False ;
25161 PyObject * obj0 = 0 ;
25162 PyObject * obj1 = 0 ;
25163 PyObject * obj2 = 0 ;
25164 PyObject * obj3 = 0 ;
25165 PyObject * obj4 = 0 ;
25166 PyObject * obj5 = 0 ;
25167 char *kwnames[] = {
25168 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25169 };
25170
25171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25174 if (arg2 == NULL) {
25175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25176 }
25177 {
25178 arg3 = wxString_in_helper(obj2);
25179 if (arg3 == NULL) SWIG_fail;
25180 temp3 = True;
25181 }
25182 if (obj3) {
25183 {
25184 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 }
25188 if (obj4) {
25189 {
25190 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 }
25194 if (obj5) {
25195 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25196 }
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 {
25205 wxTreeItemId * resultptr;
25206 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25208 }
25209 {
25210 if (temp3)
25211 delete arg3;
25212 }
25213 return resultobj;
25214 fail:
25215 {
25216 if (temp3)
25217 delete arg3;
25218 }
25219 return NULL;
25220 }
25221
25222
25223 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25226 wxTreeItemId *arg2 = 0 ;
25227 wxTreeItemId *arg3 = 0 ;
25228 wxString *arg4 = 0 ;
25229 int arg5 = (int) -1 ;
25230 int arg6 = (int) -1 ;
25231 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25232 wxTreeItemId result;
25233 bool temp4 = False ;
25234 PyObject * obj0 = 0 ;
25235 PyObject * obj1 = 0 ;
25236 PyObject * obj2 = 0 ;
25237 PyObject * obj3 = 0 ;
25238 PyObject * obj4 = 0 ;
25239 PyObject * obj5 = 0 ;
25240 PyObject * obj6 = 0 ;
25241 char *kwnames[] = {
25242 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25243 };
25244
25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25248 if (arg2 == NULL) {
25249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25250 }
25251 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25252 if (arg3 == NULL) {
25253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25254 }
25255 {
25256 arg4 = wxString_in_helper(obj3);
25257 if (arg4 == NULL) SWIG_fail;
25258 temp4 = True;
25259 }
25260 if (obj4) {
25261 {
25262 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 }
25266 if (obj5) {
25267 {
25268 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 }
25272 if (obj6) {
25273 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25274 }
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 {
25283 wxTreeItemId * resultptr;
25284 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25286 }
25287 {
25288 if (temp4)
25289 delete arg4;
25290 }
25291 return resultobj;
25292 fail:
25293 {
25294 if (temp4)
25295 delete arg4;
25296 }
25297 return NULL;
25298 }
25299
25300
25301 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25302 PyObject *resultobj;
25303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25304 wxTreeItemId *arg2 = 0 ;
25305 size_t arg3 ;
25306 wxString *arg4 = 0 ;
25307 int arg5 = (int) -1 ;
25308 int arg6 = (int) -1 ;
25309 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25310 wxTreeItemId result;
25311 bool temp4 = False ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 PyObject * obj2 = 0 ;
25315 PyObject * obj3 = 0 ;
25316 PyObject * obj4 = 0 ;
25317 PyObject * obj5 = 0 ;
25318 PyObject * obj6 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25326 if (arg2 == NULL) {
25327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25328 }
25329 {
25330 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 {
25334 arg4 = wxString_in_helper(obj3);
25335 if (arg4 == NULL) SWIG_fail;
25336 temp4 = True;
25337 }
25338 if (obj4) {
25339 {
25340 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25341 if (PyErr_Occurred()) SWIG_fail;
25342 }
25343 }
25344 if (obj5) {
25345 {
25346 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25347 if (PyErr_Occurred()) SWIG_fail;
25348 }
25349 }
25350 if (obj6) {
25351 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25352 }
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25356
25357 wxPyEndAllowThreads(__tstate);
25358 if (PyErr_Occurred()) SWIG_fail;
25359 }
25360 {
25361 wxTreeItemId * resultptr;
25362 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25364 }
25365 {
25366 if (temp4)
25367 delete arg4;
25368 }
25369 return resultobj;
25370 fail:
25371 {
25372 if (temp4)
25373 delete arg4;
25374 }
25375 return NULL;
25376 }
25377
25378
25379 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj;
25381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25382 wxTreeItemId *arg2 = 0 ;
25383 wxString *arg3 = 0 ;
25384 int arg4 = (int) -1 ;
25385 int arg5 = (int) -1 ;
25386 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25387 wxTreeItemId result;
25388 bool temp3 = False ;
25389 PyObject * obj0 = 0 ;
25390 PyObject * obj1 = 0 ;
25391 PyObject * obj2 = 0 ;
25392 PyObject * obj3 = 0 ;
25393 PyObject * obj4 = 0 ;
25394 PyObject * obj5 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25402 if (arg2 == NULL) {
25403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25404 }
25405 {
25406 arg3 = wxString_in_helper(obj2);
25407 if (arg3 == NULL) SWIG_fail;
25408 temp3 = True;
25409 }
25410 if (obj3) {
25411 {
25412 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 }
25416 if (obj4) {
25417 {
25418 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 }
25422 if (obj5) {
25423 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25424 }
25425 {
25426 PyThreadState* __tstate = wxPyBeginAllowThreads();
25427 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25428
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 {
25433 wxTreeItemId * resultptr;
25434 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25435 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25436 }
25437 {
25438 if (temp3)
25439 delete arg3;
25440 }
25441 return resultobj;
25442 fail:
25443 {
25444 if (temp3)
25445 delete arg3;
25446 }
25447 return NULL;
25448 }
25449
25450
25451 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25452 PyObject *resultobj;
25453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25454 wxTreeItemId *arg2 = 0 ;
25455 PyObject * obj0 = 0 ;
25456 PyObject * obj1 = 0 ;
25457 char *kwnames[] = {
25458 (char *) "self",(char *) "item", NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25464 if (arg2 == NULL) {
25465 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25466 }
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 (arg1)->Delete((wxTreeItemId const &)*arg2);
25470
25471 wxPyEndAllowThreads(__tstate);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 }
25474 Py_INCREF(Py_None); resultobj = Py_None;
25475 return resultobj;
25476 fail:
25477 return NULL;
25478 }
25479
25480
25481 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25482 PyObject *resultobj;
25483 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25484 wxTreeItemId *arg2 = 0 ;
25485 PyObject * obj0 = 0 ;
25486 PyObject * obj1 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self",(char *) "item", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25494 if (arg2 == NULL) {
25495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25496 }
25497 {
25498 PyThreadState* __tstate = wxPyBeginAllowThreads();
25499 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25500
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 Py_INCREF(Py_None); resultobj = Py_None;
25505 return resultobj;
25506 fail:
25507 return NULL;
25508 }
25509
25510
25511 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25512 PyObject *resultobj;
25513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25514 PyObject * obj0 = 0 ;
25515 char *kwnames[] = {
25516 (char *) "self", NULL
25517 };
25518
25519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 (arg1)->DeleteAllItems();
25524
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 Py_INCREF(Py_None); resultobj = Py_None;
25529 return resultobj;
25530 fail:
25531 return NULL;
25532 }
25533
25534
25535 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25536 PyObject *resultobj;
25537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25538 wxTreeItemId *arg2 = 0 ;
25539 PyObject * obj0 = 0 ;
25540 PyObject * obj1 = 0 ;
25541 char *kwnames[] = {
25542 (char *) "self",(char *) "item", NULL
25543 };
25544
25545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25548 if (arg2 == NULL) {
25549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25550 }
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 (arg1)->Expand((wxTreeItemId const &)*arg2);
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 Py_INCREF(Py_None); resultobj = Py_None;
25559 return resultobj;
25560 fail:
25561 return NULL;
25562 }
25563
25564
25565 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25566 PyObject *resultobj;
25567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25568 wxTreeItemId *arg2 = 0 ;
25569 PyObject * obj0 = 0 ;
25570 PyObject * obj1 = 0 ;
25571 char *kwnames[] = {
25572 (char *) "self",(char *) "item", NULL
25573 };
25574
25575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25578 if (arg2 == NULL) {
25579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25580 }
25581 {
25582 PyThreadState* __tstate = wxPyBeginAllowThreads();
25583 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25584
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 Py_INCREF(Py_None); resultobj = Py_None;
25589 return resultobj;
25590 fail:
25591 return NULL;
25592 }
25593
25594
25595 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25596 PyObject *resultobj;
25597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25598 wxTreeItemId *arg2 = 0 ;
25599 PyObject * obj0 = 0 ;
25600 PyObject * obj1 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self",(char *) "item", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25608 if (arg2 == NULL) {
25609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25610 }
25611 {
25612 PyThreadState* __tstate = wxPyBeginAllowThreads();
25613 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25614
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 Py_INCREF(Py_None); resultobj = Py_None;
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25628 wxTreeItemId *arg2 = 0 ;
25629 PyObject * obj0 = 0 ;
25630 PyObject * obj1 = 0 ;
25631 char *kwnames[] = {
25632 (char *) "self",(char *) "item", NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25638 if (arg2 == NULL) {
25639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25640 }
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 Py_INCREF(Py_None); resultobj = Py_None;
25649 return resultobj;
25650 fail:
25651 return NULL;
25652 }
25653
25654
25655 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25656 PyObject *resultobj;
25657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25658 PyObject * obj0 = 0 ;
25659 char *kwnames[] = {
25660 (char *) "self", NULL
25661 };
25662
25663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25665 {
25666 PyThreadState* __tstate = wxPyBeginAllowThreads();
25667 (arg1)->Unselect();
25668
25669 wxPyEndAllowThreads(__tstate);
25670 if (PyErr_Occurred()) SWIG_fail;
25671 }
25672 Py_INCREF(Py_None); resultobj = Py_None;
25673 return resultobj;
25674 fail:
25675 return NULL;
25676 }
25677
25678
25679 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25680 PyObject *resultobj;
25681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25682 wxTreeItemId *arg2 = 0 ;
25683 PyObject * obj0 = 0 ;
25684 PyObject * obj1 = 0 ;
25685 char *kwnames[] = {
25686 (char *) "self",(char *) "item", NULL
25687 };
25688
25689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
25690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25692 if (arg2 == NULL) {
25693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25694 }
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
25698
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
25702 Py_INCREF(Py_None); resultobj = Py_None;
25703 return resultobj;
25704 fail:
25705 return NULL;
25706 }
25707
25708
25709 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25710 PyObject *resultobj;
25711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25712 PyObject * obj0 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "self", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25719 {
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 (arg1)->UnselectAll();
25722
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 Py_INCREF(Py_None); resultobj = Py_None;
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25736 wxTreeItemId *arg2 = 0 ;
25737 bool arg3 = (bool) True ;
25738 PyObject * obj0 = 0 ;
25739 PyObject * obj1 = 0 ;
25740 PyObject * obj2 = 0 ;
25741 char *kwnames[] = {
25742 (char *) "self",(char *) "item",(char *) "select", NULL
25743 };
25744
25745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25748 if (arg2 == NULL) {
25749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25750 }
25751 if (obj2) {
25752 {
25753 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25754 if (PyErr_Occurred()) SWIG_fail;
25755 }
25756 }
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 Py_INCREF(Py_None); resultobj = Py_None;
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj;
25773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25774 wxTreeItemId *arg2 = 0 ;
25775 PyObject * obj0 = 0 ;
25776 PyObject * obj1 = 0 ;
25777 char *kwnames[] = {
25778 (char *) "self",(char *) "item", NULL
25779 };
25780
25781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
25782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25784 if (arg2 == NULL) {
25785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25786 }
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
25790
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 Py_INCREF(Py_None); resultobj = Py_None;
25795 return resultobj;
25796 fail:
25797 return NULL;
25798 }
25799
25800
25801 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25802 PyObject *resultobj;
25803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25804 wxTreeItemId *arg2 = 0 ;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 char *kwnames[] = {
25808 (char *) "self",(char *) "item", NULL
25809 };
25810
25811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25814 if (arg2 == NULL) {
25815 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25816 }
25817 {
25818 PyThreadState* __tstate = wxPyBeginAllowThreads();
25819 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
25820
25821 wxPyEndAllowThreads(__tstate);
25822 if (PyErr_Occurred()) SWIG_fail;
25823 }
25824 Py_INCREF(Py_None); resultobj = Py_None;
25825 return resultobj;
25826 fail:
25827 return NULL;
25828 }
25829
25830
25831 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25832 PyObject *resultobj;
25833 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25834 wxTreeItemId *arg2 = 0 ;
25835 PyObject * obj0 = 0 ;
25836 PyObject * obj1 = 0 ;
25837 char *kwnames[] = {
25838 (char *) "self",(char *) "item", NULL
25839 };
25840
25841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
25842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25844 if (arg2 == NULL) {
25845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25846 }
25847 {
25848 PyThreadState* __tstate = wxPyBeginAllowThreads();
25849 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
25850
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 Py_INCREF(Py_None); resultobj = Py_None;
25855 return resultobj;
25856 fail:
25857 return NULL;
25858 }
25859
25860
25861 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25862 PyObject *resultobj;
25863 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25864 wxTreeItemId *arg2 = 0 ;
25865 PyObject * obj0 = 0 ;
25866 PyObject * obj1 = 0 ;
25867 char *kwnames[] = {
25868 (char *) "self",(char *) "item", NULL
25869 };
25870
25871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25874 if (arg2 == NULL) {
25875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25876 }
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
25880
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 Py_INCREF(Py_None); resultobj = Py_None;
25885 return resultobj;
25886 fail:
25887 return NULL;
25888 }
25889
25890
25891 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25894 wxTextCtrl *result;
25895 PyObject * obj0 = 0 ;
25896 char *kwnames[] = {
25897 (char *) "self", NULL
25898 };
25899
25900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
25901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 {
25910 resultobj = wxPyMake_wxObject(result);
25911 }
25912 return resultobj;
25913 fail:
25914 return NULL;
25915 }
25916
25917
25918 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25919 PyObject *resultobj;
25920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25921 wxTreeItemId *arg2 = 0 ;
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj1 = 0 ;
25924 char *kwnames[] = {
25925 (char *) "self",(char *) "item", NULL
25926 };
25927
25928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
25929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25931 if (arg2 == NULL) {
25932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25933 }
25934 {
25935 PyThreadState* __tstate = wxPyBeginAllowThreads();
25936 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
25937
25938 wxPyEndAllowThreads(__tstate);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 Py_INCREF(Py_None); resultobj = Py_None;
25942 return resultobj;
25943 fail:
25944 return NULL;
25945 }
25946
25947
25948 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
25949 PyObject *resultobj;
25950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25951 wxPoint *arg2 = 0 ;
25952 int *arg3 = 0 ;
25953 wxTreeItemId result;
25954 wxPoint temp2 ;
25955 int temp3 ;
25956 PyObject * obj0 = 0 ;
25957 PyObject * obj1 = 0 ;
25958 char *kwnames[] = {
25959 (char *) "self",(char *) "point", NULL
25960 };
25961
25962 arg3 = &temp3;
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25965 {
25966 arg2 = &temp2;
25967 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25968 }
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25972
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
25976 {
25977 wxTreeItemId * resultptr;
25978 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25980 }
25981 {
25982 PyObject *o = PyInt_FromLong((long) (*arg3));
25983 resultobj = t_output_helper(resultobj,o);
25984 }
25985 return resultobj;
25986 fail:
25987 return NULL;
25988 }
25989
25990
25991 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25994 wxTreeItemId *arg2 = 0 ;
25995 bool arg3 = (bool) False ;
25996 PyObject *result;
25997 PyObject * obj0 = 0 ;
25998 PyObject * obj1 = 0 ;
25999 PyObject * obj2 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26007 if (arg2 == NULL) {
26008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26009 }
26010 if (obj2) {
26011 {
26012 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 }
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 resultobj = result;
26024 return resultobj;
26025 fail:
26026 return NULL;
26027 }
26028
26029
26030 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26031 PyObject *obj;
26032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26033 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26034 Py_INCREF(obj);
26035 return Py_BuildValue((char *)"");
26036 }
26037 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26038 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26039 return 1;
26040 }
26041
26042
26043 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26044 PyObject *pyobj;
26045
26046 {
26047 #if wxUSE_UNICODE
26048 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26049 #else
26050 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26051 #endif
26052 }
26053 return pyobj;
26054 }
26055
26056
26057 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26058 PyObject *resultobj;
26059 wxWindow *arg1 = (wxWindow *) 0 ;
26060 int arg2 = (int) (int)-1 ;
26061 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26062 wxString *arg3 = (wxString *) &arg3_defvalue ;
26063 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26064 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26065 wxSize const &arg5_defvalue = wxDefaultSize ;
26066 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26067 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26068 wxString const &arg7_defvalue = wxPyEmptyString ;
26069 wxString *arg7 = (wxString *) &arg7_defvalue ;
26070 int arg8 = (int) 0 ;
26071 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26072 wxString *arg9 = (wxString *) &arg9_defvalue ;
26073 wxGenericDirCtrl *result;
26074 bool temp3 = False ;
26075 wxPoint temp4 ;
26076 wxSize temp5 ;
26077 bool temp7 = False ;
26078 bool temp9 = False ;
26079 PyObject * obj0 = 0 ;
26080 PyObject * obj1 = 0 ;
26081 PyObject * obj2 = 0 ;
26082 PyObject * obj3 = 0 ;
26083 PyObject * obj4 = 0 ;
26084 PyObject * obj5 = 0 ;
26085 PyObject * obj6 = 0 ;
26086 PyObject * obj7 = 0 ;
26087 PyObject * obj8 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26094 if (obj1) {
26095 {
26096 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 }
26100 if (obj2) {
26101 {
26102 arg3 = wxString_in_helper(obj2);
26103 if (arg3 == NULL) SWIG_fail;
26104 temp3 = True;
26105 }
26106 }
26107 if (obj3) {
26108 {
26109 arg4 = &temp4;
26110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26111 }
26112 }
26113 if (obj4) {
26114 {
26115 arg5 = &temp5;
26116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26117 }
26118 }
26119 if (obj5) {
26120 {
26121 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 }
26125 if (obj6) {
26126 {
26127 arg7 = wxString_in_helper(obj6);
26128 if (arg7 == NULL) SWIG_fail;
26129 temp7 = True;
26130 }
26131 }
26132 if (obj7) {
26133 {
26134 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 }
26138 if (obj8) {
26139 {
26140 arg9 = wxString_in_helper(obj8);
26141 if (arg9 == NULL) SWIG_fail;
26142 temp9 = True;
26143 }
26144 }
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26153 {
26154 if (temp3)
26155 delete arg3;
26156 }
26157 {
26158 if (temp7)
26159 delete arg7;
26160 }
26161 {
26162 if (temp9)
26163 delete arg9;
26164 }
26165 return resultobj;
26166 fail:
26167 {
26168 if (temp3)
26169 delete arg3;
26170 }
26171 {
26172 if (temp7)
26173 delete arg7;
26174 }
26175 {
26176 if (temp9)
26177 delete arg9;
26178 }
26179 return NULL;
26180 }
26181
26182
26183 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxGenericDirCtrl *result;
26186 char *kwnames[] = {
26187 NULL
26188 };
26189
26190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26194
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26199 return resultobj;
26200 fail:
26201 return NULL;
26202 }
26203
26204
26205 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj;
26207 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26208 wxWindow *arg2 = (wxWindow *) 0 ;
26209 int arg3 = (int) (int)-1 ;
26210 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26211 wxString *arg4 = (wxString *) &arg4_defvalue ;
26212 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26213 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26214 wxSize const &arg6_defvalue = wxDefaultSize ;
26215 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26216 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26217 wxString const &arg8_defvalue = wxPyEmptyString ;
26218 wxString *arg8 = (wxString *) &arg8_defvalue ;
26219 int arg9 = (int) 0 ;
26220 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26221 wxString *arg10 = (wxString *) &arg10_defvalue ;
26222 bool result;
26223 bool temp4 = False ;
26224 wxPoint temp5 ;
26225 wxSize temp6 ;
26226 bool temp8 = False ;
26227 bool temp10 = False ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 PyObject * obj2 = 0 ;
26231 PyObject * obj3 = 0 ;
26232 PyObject * obj4 = 0 ;
26233 PyObject * obj5 = 0 ;
26234 PyObject * obj6 = 0 ;
26235 PyObject * obj7 = 0 ;
26236 PyObject * obj8 = 0 ;
26237 PyObject * obj9 = 0 ;
26238 char *kwnames[] = {
26239 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26240 };
26241
26242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26245 if (obj2) {
26246 {
26247 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 }
26251 if (obj3) {
26252 {
26253 arg4 = wxString_in_helper(obj3);
26254 if (arg4 == NULL) SWIG_fail;
26255 temp4 = True;
26256 }
26257 }
26258 if (obj4) {
26259 {
26260 arg5 = &temp5;
26261 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26262 }
26263 }
26264 if (obj5) {
26265 {
26266 arg6 = &temp6;
26267 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26268 }
26269 }
26270 if (obj6) {
26271 {
26272 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
26275 }
26276 if (obj7) {
26277 {
26278 arg8 = wxString_in_helper(obj7);
26279 if (arg8 == NULL) SWIG_fail;
26280 temp8 = True;
26281 }
26282 }
26283 if (obj8) {
26284 {
26285 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 }
26289 if (obj9) {
26290 {
26291 arg10 = wxString_in_helper(obj9);
26292 if (arg10 == NULL) SWIG_fail;
26293 temp10 = True;
26294 }
26295 }
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26299
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26304 {
26305 if (temp4)
26306 delete arg4;
26307 }
26308 {
26309 if (temp8)
26310 delete arg8;
26311 }
26312 {
26313 if (temp10)
26314 delete arg10;
26315 }
26316 return resultobj;
26317 fail:
26318 {
26319 if (temp4)
26320 delete arg4;
26321 }
26322 {
26323 if (temp8)
26324 delete arg8;
26325 }
26326 {
26327 if (temp10)
26328 delete arg10;
26329 }
26330 return NULL;
26331 }
26332
26333
26334 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26335 PyObject *resultobj;
26336 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26337 wxString *arg2 = 0 ;
26338 bool result;
26339 bool temp2 = False ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self",(char *) "path", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26348 {
26349 arg2 = wxString_in_helper(obj1);
26350 if (arg2 == NULL) SWIG_fail;
26351 temp2 = True;
26352 }
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26356
26357 wxPyEndAllowThreads(__tstate);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26361 {
26362 if (temp2)
26363 delete arg2;
26364 }
26365 return resultobj;
26366 fail:
26367 {
26368 if (temp2)
26369 delete arg2;
26370 }
26371 return NULL;
26372 }
26373
26374
26375 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26376 PyObject *resultobj;
26377 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26378 wxString result;
26379 PyObject * obj0 = 0 ;
26380 char *kwnames[] = {
26381 (char *) "self", NULL
26382 };
26383
26384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26389
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 {
26394 #if wxUSE_UNICODE
26395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26396 #else
26397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26398 #endif
26399 }
26400 return resultobj;
26401 fail:
26402 return NULL;
26403 }
26404
26405
26406 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26407 PyObject *resultobj;
26408 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26409 wxString *arg2 = 0 ;
26410 bool temp2 = False ;
26411 PyObject * obj0 = 0 ;
26412 PyObject * obj1 = 0 ;
26413 char *kwnames[] = {
26414 (char *) "self",(char *) "path", NULL
26415 };
26416
26417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26419 {
26420 arg2 = wxString_in_helper(obj1);
26421 if (arg2 == NULL) SWIG_fail;
26422 temp2 = True;
26423 }
26424 {
26425 PyThreadState* __tstate = wxPyBeginAllowThreads();
26426 (arg1)->SetDefaultPath((wxString const &)*arg2);
26427
26428 wxPyEndAllowThreads(__tstate);
26429 if (PyErr_Occurred()) SWIG_fail;
26430 }
26431 Py_INCREF(Py_None); resultobj = Py_None;
26432 {
26433 if (temp2)
26434 delete arg2;
26435 }
26436 return resultobj;
26437 fail:
26438 {
26439 if (temp2)
26440 delete arg2;
26441 }
26442 return NULL;
26443 }
26444
26445
26446 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj;
26448 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26449 wxString result;
26450 PyObject * obj0 = 0 ;
26451 char *kwnames[] = {
26452 (char *) "self", NULL
26453 };
26454
26455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 {
26465 #if wxUSE_UNICODE
26466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26467 #else
26468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26469 #endif
26470 }
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj;
26479 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26480 wxString result;
26481 PyObject * obj0 = 0 ;
26482 char *kwnames[] = {
26483 (char *) "self", NULL
26484 };
26485
26486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
26495 {
26496 #if wxUSE_UNICODE
26497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26498 #else
26499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26500 #endif
26501 }
26502 return resultobj;
26503 fail:
26504 return NULL;
26505 }
26506
26507
26508 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj;
26510 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26511 wxString *arg2 = 0 ;
26512 bool temp2 = False ;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "self",(char *) "path", NULL
26517 };
26518
26519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26521 {
26522 arg2 = wxString_in_helper(obj1);
26523 if (arg2 == NULL) SWIG_fail;
26524 temp2 = True;
26525 }
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 (arg1)->SetPath((wxString const &)*arg2);
26529
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 Py_INCREF(Py_None); resultobj = Py_None;
26534 {
26535 if (temp2)
26536 delete arg2;
26537 }
26538 return resultobj;
26539 fail:
26540 {
26541 if (temp2)
26542 delete arg2;
26543 }
26544 return NULL;
26545 }
26546
26547
26548 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26549 PyObject *resultobj;
26550 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26551 bool arg2 ;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 char *kwnames[] = {
26555 (char *) "self",(char *) "show", NULL
26556 };
26557
26558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26560 {
26561 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 {
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 (arg1)->ShowHidden(arg2);
26567
26568 wxPyEndAllowThreads(__tstate);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 }
26571 Py_INCREF(Py_None); resultobj = Py_None;
26572 return resultobj;
26573 fail:
26574 return NULL;
26575 }
26576
26577
26578 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26579 PyObject *resultobj;
26580 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26581 bool result;
26582 PyObject * obj0 = 0 ;
26583 char *kwnames[] = {
26584 (char *) "self", NULL
26585 };
26586
26587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",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 = (bool)(arg1)->GetShowHidden();
26592
26593 wxPyEndAllowThreads(__tstate);
26594 if (PyErr_Occurred()) SWIG_fail;
26595 }
26596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26597 return resultobj;
26598 fail:
26599 return NULL;
26600 }
26601
26602
26603 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26604 PyObject *resultobj;
26605 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26606 wxString result;
26607 PyObject * obj0 = 0 ;
26608 char *kwnames[] = {
26609 (char *) "self", NULL
26610 };
26611
26612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 {
26622 #if wxUSE_UNICODE
26623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26624 #else
26625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26626 #endif
26627 }
26628 return resultobj;
26629 fail:
26630 return NULL;
26631 }
26632
26633
26634 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26635 PyObject *resultobj;
26636 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26637 wxString *arg2 = 0 ;
26638 bool temp2 = False ;
26639 PyObject * obj0 = 0 ;
26640 PyObject * obj1 = 0 ;
26641 char *kwnames[] = {
26642 (char *) "self",(char *) "filter", NULL
26643 };
26644
26645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26647 {
26648 arg2 = wxString_in_helper(obj1);
26649 if (arg2 == NULL) SWIG_fail;
26650 temp2 = True;
26651 }
26652 {
26653 PyThreadState* __tstate = wxPyBeginAllowThreads();
26654 (arg1)->SetFilter((wxString const &)*arg2);
26655
26656 wxPyEndAllowThreads(__tstate);
26657 if (PyErr_Occurred()) SWIG_fail;
26658 }
26659 Py_INCREF(Py_None); resultobj = Py_None;
26660 {
26661 if (temp2)
26662 delete arg2;
26663 }
26664 return resultobj;
26665 fail:
26666 {
26667 if (temp2)
26668 delete arg2;
26669 }
26670 return NULL;
26671 }
26672
26673
26674 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26675 PyObject *resultobj;
26676 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26677 int result;
26678 PyObject * obj0 = 0 ;
26679 char *kwnames[] = {
26680 (char *) "self", NULL
26681 };
26682
26683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26688
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 resultobj = SWIG_PyObj_FromInt((int)result);
26693 return resultobj;
26694 fail:
26695 return NULL;
26696 }
26697
26698
26699 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj;
26701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26702 int arg2 ;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26705 char *kwnames[] = {
26706 (char *) "self",(char *) "n", NULL
26707 };
26708
26709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26711 {
26712 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 {
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 (arg1)->SetFilterIndex(arg2);
26718
26719 wxPyEndAllowThreads(__tstate);
26720 if (PyErr_Occurred()) SWIG_fail;
26721 }
26722 Py_INCREF(Py_None); resultobj = Py_None;
26723 return resultobj;
26724 fail:
26725 return NULL;
26726 }
26727
26728
26729 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26730 PyObject *resultobj;
26731 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26732 wxTreeItemId result;
26733 PyObject * obj0 = 0 ;
26734 char *kwnames[] = {
26735 (char *) "self", NULL
26736 };
26737
26738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 result = (arg1)->GetRootId();
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 {
26748 wxTreeItemId * resultptr;
26749 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26750 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26751 }
26752 return resultobj;
26753 fail:
26754 return NULL;
26755 }
26756
26757
26758 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26759 PyObject *resultobj;
26760 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26761 wxPyTreeCtrl *result;
26762 PyObject * obj0 = 0 ;
26763 char *kwnames[] = {
26764 (char *) "self", NULL
26765 };
26766
26767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
26768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26769 {
26770 PyThreadState* __tstate = wxPyBeginAllowThreads();
26771 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
26772
26773 wxPyEndAllowThreads(__tstate);
26774 if (PyErr_Occurred()) SWIG_fail;
26775 }
26776 {
26777 resultobj = wxPyMake_wxObject(result);
26778 }
26779 return resultobj;
26780 fail:
26781 return NULL;
26782 }
26783
26784
26785 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj;
26787 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26788 wxDirFilterListCtrl *result;
26789 PyObject * obj0 = 0 ;
26790 char *kwnames[] = {
26791 (char *) "self", NULL
26792 };
26793
26794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
26795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj;
26812 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26813 wxTreeItemId arg2 ;
26814 wxString *arg3 = 0 ;
26815 bool *arg4 = 0 ;
26816 wxTreeItemId result;
26817 wxTreeItemId *argp2 ;
26818 bool temp3 = False ;
26819 bool temp4 ;
26820 PyObject * obj0 = 0 ;
26821 PyObject * obj1 = 0 ;
26822 PyObject * obj2 = 0 ;
26823 char *kwnames[] = {
26824 (char *) "self",(char *) "parentId",(char *) "path", NULL
26825 };
26826
26827 arg4 = &temp4;
26828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26830 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
26831 arg2 = *argp2;
26832 {
26833 arg3 = wxString_in_helper(obj2);
26834 if (arg3 == NULL) SWIG_fail;
26835 temp3 = True;
26836 }
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
26840
26841 wxPyEndAllowThreads(__tstate);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 }
26844 {
26845 wxTreeItemId * resultptr;
26846 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26848 }
26849 {
26850 PyObject *o = PyInt_FromLong((long) (*arg4));
26851 resultobj = t_output_helper(resultobj,o);
26852 }
26853 {
26854 if (temp3)
26855 delete arg3;
26856 }
26857 return resultobj;
26858 fail:
26859 {
26860 if (temp3)
26861 delete arg3;
26862 }
26863 return NULL;
26864 }
26865
26866
26867 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
26868 PyObject *resultobj;
26869 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26870 PyObject * obj0 = 0 ;
26871 char *kwnames[] = {
26872 (char *) "self", NULL
26873 };
26874
26875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
26876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26877 {
26878 PyThreadState* __tstate = wxPyBeginAllowThreads();
26879 (arg1)->DoResize();
26880
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 Py_INCREF(Py_None); resultobj = Py_None;
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj;
26893 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26894 PyObject * obj0 = 0 ;
26895 char *kwnames[] = {
26896 (char *) "self", NULL
26897 };
26898
26899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
26900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 (arg1)->ReCreateTree();
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 Py_INCREF(Py_None); resultobj = Py_None;
26909 return resultobj;
26910 fail:
26911 return NULL;
26912 }
26913
26914
26915 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
26916 PyObject *obj;
26917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26918 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
26919 Py_INCREF(obj);
26920 return Py_BuildValue((char *)"");
26921 }
26922 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26923 PyObject *resultobj;
26924 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26925 int arg2 = (int) (int)-1 ;
26926 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26927 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26928 wxSize const &arg4_defvalue = wxDefaultSize ;
26929 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26930 long arg5 = (long) 0 ;
26931 wxDirFilterListCtrl *result;
26932 wxPoint temp3 ;
26933 wxSize temp4 ;
26934 PyObject * obj0 = 0 ;
26935 PyObject * obj1 = 0 ;
26936 PyObject * obj2 = 0 ;
26937 PyObject * obj3 = 0 ;
26938 PyObject * obj4 = 0 ;
26939 char *kwnames[] = {
26940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26941 };
26942
26943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26945 if (obj1) {
26946 {
26947 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 }
26951 if (obj2) {
26952 {
26953 arg3 = &temp3;
26954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26955 }
26956 }
26957 if (obj3) {
26958 {
26959 arg4 = &temp4;
26960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26961 }
26962 }
26963 if (obj4) {
26964 {
26965 arg5 = (long) SWIG_PyObj_AsLong(obj4);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 }
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
26977 return resultobj;
26978 fail:
26979 return NULL;
26980 }
26981
26982
26983 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26984 PyObject *resultobj;
26985 wxDirFilterListCtrl *result;
26986 char *kwnames[] = {
26987 NULL
26988 };
26989
26990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj;
27007 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27008 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27009 int arg3 = (int) (int)-1 ;
27010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27012 wxSize const &arg5_defvalue = wxDefaultSize ;
27013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27014 long arg6 = (long) 0 ;
27015 bool result;
27016 wxPoint temp4 ;
27017 wxSize temp5 ;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 PyObject * obj2 = 0 ;
27021 PyObject * obj3 = 0 ;
27022 PyObject * obj4 = 0 ;
27023 PyObject * obj5 = 0 ;
27024 char *kwnames[] = {
27025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27031 if (obj2) {
27032 {
27033 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 }
27037 if (obj3) {
27038 {
27039 arg4 = &temp4;
27040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27041 }
27042 }
27043 if (obj4) {
27044 {
27045 arg5 = &temp5;
27046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27047 }
27048 }
27049 if (obj5) {
27050 {
27051 arg6 = (long) SWIG_PyObj_AsLong(obj5);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 }
27055 {
27056 PyThreadState* __tstate = wxPyBeginAllowThreads();
27057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27058
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27063 return resultobj;
27064 fail:
27065 return NULL;
27066 }
27067
27068
27069 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj;
27071 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27072 wxString *arg2 = 0 ;
27073 int arg3 ;
27074 bool temp2 = False ;
27075 PyObject * obj0 = 0 ;
27076 PyObject * obj1 = 0 ;
27077 PyObject * obj2 = 0 ;
27078 char *kwnames[] = {
27079 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27080 };
27081
27082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27084 {
27085 arg2 = wxString_in_helper(obj1);
27086 if (arg2 == NULL) SWIG_fail;
27087 temp2 = True;
27088 }
27089 {
27090 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27096
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 Py_INCREF(Py_None); resultobj = Py_None;
27101 {
27102 if (temp2)
27103 delete arg2;
27104 }
27105 return resultobj;
27106 fail:
27107 {
27108 if (temp2)
27109 delete arg2;
27110 }
27111 return NULL;
27112 }
27113
27114
27115 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27116 PyObject *obj;
27117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27118 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27119 Py_INCREF(obj);
27120 return Py_BuildValue((char *)"");
27121 }
27122 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27123 PyObject *resultobj;
27124 wxWindow *arg1 = (wxWindow *) 0 ;
27125 int arg2 ;
27126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27128 wxSize const &arg4_defvalue = wxDefaultSize ;
27129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27130 long arg5 = (long) 0 ;
27131 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27132 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27133 wxString const &arg7_defvalue = wxPyControlNameStr ;
27134 wxString *arg7 = (wxString *) &arg7_defvalue ;
27135 wxPyControl *result;
27136 wxPoint temp3 ;
27137 wxSize temp4 ;
27138 bool temp7 = False ;
27139 PyObject * obj0 = 0 ;
27140 PyObject * obj1 = 0 ;
27141 PyObject * obj2 = 0 ;
27142 PyObject * obj3 = 0 ;
27143 PyObject * obj4 = 0 ;
27144 PyObject * obj5 = 0 ;
27145 PyObject * obj6 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27152 {
27153 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 if (obj2) {
27157 {
27158 arg3 = &temp3;
27159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27160 }
27161 }
27162 if (obj3) {
27163 {
27164 arg4 = &temp4;
27165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27166 }
27167 }
27168 if (obj4) {
27169 {
27170 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27171 if (PyErr_Occurred()) SWIG_fail;
27172 }
27173 }
27174 if (obj5) {
27175 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27176 if (arg6 == NULL) {
27177 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27178 }
27179 }
27180 if (obj6) {
27181 {
27182 arg7 = wxString_in_helper(obj6);
27183 if (arg7 == NULL) SWIG_fail;
27184 temp7 = True;
27185 }
27186 }
27187 {
27188 PyThreadState* __tstate = wxPyBeginAllowThreads();
27189 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27190
27191 wxPyEndAllowThreads(__tstate);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27195 {
27196 if (temp7)
27197 delete arg7;
27198 }
27199 return resultobj;
27200 fail:
27201 {
27202 if (temp7)
27203 delete arg7;
27204 }
27205 return NULL;
27206 }
27207
27208
27209 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27210 PyObject *resultobj;
27211 wxPyControl *arg1 = (wxPyControl *) 0 ;
27212 PyObject *arg2 = (PyObject *) 0 ;
27213 PyObject *arg3 = (PyObject *) 0 ;
27214 PyObject * obj0 = 0 ;
27215 PyObject * obj1 = 0 ;
27216 PyObject * obj2 = 0 ;
27217 char *kwnames[] = {
27218 (char *) "self",(char *) "self",(char *) "_class", NULL
27219 };
27220
27221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27223 arg2 = obj1;
27224 arg3 = obj2;
27225 {
27226 PyThreadState* __tstate = wxPyBeginAllowThreads();
27227 (arg1)->_setCallbackInfo(arg2,arg3);
27228
27229 wxPyEndAllowThreads(__tstate);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 Py_INCREF(Py_None); resultobj = Py_None;
27233 return resultobj;
27234 fail:
27235 return NULL;
27236 }
27237
27238
27239 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27240 PyObject *resultobj;
27241 wxPyControl *arg1 = (wxPyControl *) 0 ;
27242 int arg2 ;
27243 int arg3 ;
27244 int arg4 ;
27245 int arg5 ;
27246 PyObject * obj0 = 0 ;
27247 PyObject * obj1 = 0 ;
27248 PyObject * obj2 = 0 ;
27249 PyObject * obj3 = 0 ;
27250 PyObject * obj4 = 0 ;
27251 char *kwnames[] = {
27252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27253 };
27254
27255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27257 {
27258 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 {
27262 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 {
27266 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
27269 {
27270 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 Py_INCREF(Py_None); resultobj = Py_None;
27281 return resultobj;
27282 fail:
27283 return NULL;
27284 }
27285
27286
27287 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27288 PyObject *resultobj;
27289 wxPyControl *arg1 = (wxPyControl *) 0 ;
27290 int arg2 ;
27291 int arg3 ;
27292 int arg4 ;
27293 int arg5 ;
27294 int arg6 = (int) wxSIZE_AUTO ;
27295 PyObject * obj0 = 0 ;
27296 PyObject * obj1 = 0 ;
27297 PyObject * obj2 = 0 ;
27298 PyObject * obj3 = 0 ;
27299 PyObject * obj4 = 0 ;
27300 PyObject * obj5 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27307 {
27308 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 {
27312 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
27315 {
27316 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
27319 {
27320 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 if (obj5) {
27324 {
27325 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 }
27329 {
27330 PyThreadState* __tstate = wxPyBeginAllowThreads();
27331 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27332
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 Py_INCREF(Py_None); resultobj = Py_None;
27337 return resultobj;
27338 fail:
27339 return NULL;
27340 }
27341
27342
27343 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxPyControl *arg1 = (wxPyControl *) 0 ;
27346 int arg2 ;
27347 int arg3 ;
27348 PyObject * obj0 = 0 ;
27349 PyObject * obj1 = 0 ;
27350 PyObject * obj2 = 0 ;
27351 char *kwnames[] = {
27352 (char *) "self",(char *) "width",(char *) "height", NULL
27353 };
27354
27355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27357 {
27358 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 {
27362 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 (arg1)->base_DoSetClientSize(arg2,arg3);
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 Py_INCREF(Py_None); resultobj = Py_None;
27373 return resultobj;
27374 fail:
27375 return NULL;
27376 }
27377
27378
27379 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27380 PyObject *resultobj;
27381 wxPyControl *arg1 = (wxPyControl *) 0 ;
27382 int arg2 ;
27383 int arg3 ;
27384 PyObject * obj0 = 0 ;
27385 PyObject * obj1 = 0 ;
27386 PyObject * obj2 = 0 ;
27387 char *kwnames[] = {
27388 (char *) "self",(char *) "x",(char *) "y", NULL
27389 };
27390
27391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27393 {
27394 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27395 if (PyErr_Occurred()) SWIG_fail;
27396 }
27397 {
27398 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27404
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 Py_INCREF(Py_None); resultobj = Py_None;
27409 return resultobj;
27410 fail:
27411 return NULL;
27412 }
27413
27414
27415 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj;
27417 wxPyControl *arg1 = (wxPyControl *) 0 ;
27418 int *arg2 = (int *) 0 ;
27419 int *arg3 = (int *) 0 ;
27420 int temp2 ;
27421 int temp3 ;
27422 PyObject * obj0 = 0 ;
27423 char *kwnames[] = {
27424 (char *) "self", NULL
27425 };
27426
27427 arg2 = &temp2;
27428 arg3 = &temp3;
27429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27431 {
27432 PyThreadState* __tstate = wxPyBeginAllowThreads();
27433 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27434
27435 wxPyEndAllowThreads(__tstate);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 }
27438 Py_INCREF(Py_None); resultobj = Py_None;
27439 {
27440 PyObject *o = PyInt_FromLong((long) (*arg2));
27441 resultobj = t_output_helper(resultobj,o);
27442 }
27443 {
27444 PyObject *o = PyInt_FromLong((long) (*arg3));
27445 resultobj = t_output_helper(resultobj,o);
27446 }
27447 return resultobj;
27448 fail:
27449 return NULL;
27450 }
27451
27452
27453 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27454 PyObject *resultobj;
27455 wxPyControl *arg1 = (wxPyControl *) 0 ;
27456 int *arg2 = (int *) 0 ;
27457 int *arg3 = (int *) 0 ;
27458 int temp2 ;
27459 int temp3 ;
27460 PyObject * obj0 = 0 ;
27461 char *kwnames[] = {
27462 (char *) "self", NULL
27463 };
27464
27465 arg2 = &temp2;
27466 arg3 = &temp3;
27467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 Py_INCREF(Py_None); resultobj = Py_None;
27477 {
27478 PyObject *o = PyInt_FromLong((long) (*arg2));
27479 resultobj = t_output_helper(resultobj,o);
27480 }
27481 {
27482 PyObject *o = PyInt_FromLong((long) (*arg3));
27483 resultobj = t_output_helper(resultobj,o);
27484 }
27485 return resultobj;
27486 fail:
27487 return NULL;
27488 }
27489
27490
27491 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27492 PyObject *resultobj;
27493 wxPyControl *arg1 = (wxPyControl *) 0 ;
27494 int *arg2 = (int *) 0 ;
27495 int *arg3 = (int *) 0 ;
27496 int temp2 ;
27497 int temp3 ;
27498 PyObject * obj0 = 0 ;
27499 char *kwnames[] = {
27500 (char *) "self", NULL
27501 };
27502
27503 arg2 = &temp2;
27504 arg3 = &temp3;
27505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27507 {
27508 PyThreadState* __tstate = wxPyBeginAllowThreads();
27509 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27510
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 Py_INCREF(Py_None); resultobj = Py_None;
27515 {
27516 PyObject *o = PyInt_FromLong((long) (*arg2));
27517 resultobj = t_output_helper(resultobj,o);
27518 }
27519 {
27520 PyObject *o = PyInt_FromLong((long) (*arg3));
27521 resultobj = t_output_helper(resultobj,o);
27522 }
27523 return resultobj;
27524 fail:
27525 return NULL;
27526 }
27527
27528
27529 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27530 PyObject *resultobj;
27531 wxPyControl *arg1 = (wxPyControl *) 0 ;
27532 wxSize result;
27533 PyObject * obj0 = 0 ;
27534 char *kwnames[] = {
27535 (char *) "self", NULL
27536 };
27537
27538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27543
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 {
27548 wxSize * resultptr;
27549 resultptr = new wxSize((wxSize &) result);
27550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27551 }
27552 return resultobj;
27553 fail:
27554 return NULL;
27555 }
27556
27557
27558 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27559 PyObject *resultobj;
27560 wxPyControl *arg1 = (wxPyControl *) 0 ;
27561 wxSize result;
27562 PyObject * obj0 = 0 ;
27563 char *kwnames[] = {
27564 (char *) "self", NULL
27565 };
27566
27567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27572
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 {
27577 wxSize * resultptr;
27578 resultptr = new wxSize((wxSize &) result);
27579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27580 }
27581 return resultobj;
27582 fail:
27583 return NULL;
27584 }
27585
27586
27587 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27588 PyObject *resultobj;
27589 wxPyControl *arg1 = (wxPyControl *) 0 ;
27590 PyObject * obj0 = 0 ;
27591 char *kwnames[] = {
27592 (char *) "self", NULL
27593 };
27594
27595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27597 {
27598 PyThreadState* __tstate = wxPyBeginAllowThreads();
27599 (arg1)->base_InitDialog();
27600
27601 wxPyEndAllowThreads(__tstate);
27602 if (PyErr_Occurred()) SWIG_fail;
27603 }
27604 Py_INCREF(Py_None); resultobj = Py_None;
27605 return resultobj;
27606 fail:
27607 return NULL;
27608 }
27609
27610
27611 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27612 PyObject *resultobj;
27613 wxPyControl *arg1 = (wxPyControl *) 0 ;
27614 bool result;
27615 PyObject * obj0 = 0 ;
27616 char *kwnames[] = {
27617 (char *) "self", NULL
27618 };
27619
27620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27622 {
27623 PyThreadState* __tstate = wxPyBeginAllowThreads();
27624 result = (bool)(arg1)->base_TransferDataToWindow();
27625
27626 wxPyEndAllowThreads(__tstate);
27627 if (PyErr_Occurred()) SWIG_fail;
27628 }
27629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27630 return resultobj;
27631 fail:
27632 return NULL;
27633 }
27634
27635
27636 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27637 PyObject *resultobj;
27638 wxPyControl *arg1 = (wxPyControl *) 0 ;
27639 bool result;
27640 PyObject * obj0 = 0 ;
27641 char *kwnames[] = {
27642 (char *) "self", NULL
27643 };
27644
27645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27647 {
27648 PyThreadState* __tstate = wxPyBeginAllowThreads();
27649 result = (bool)(arg1)->base_TransferDataFromWindow();
27650
27651 wxPyEndAllowThreads(__tstate);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 }
27654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27655 return resultobj;
27656 fail:
27657 return NULL;
27658 }
27659
27660
27661 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27662 PyObject *resultobj;
27663 wxPyControl *arg1 = (wxPyControl *) 0 ;
27664 bool result;
27665 PyObject * obj0 = 0 ;
27666 char *kwnames[] = {
27667 (char *) "self", NULL
27668 };
27669
27670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 result = (bool)(arg1)->base_Validate();
27675
27676 wxPyEndAllowThreads(__tstate);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
27679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27680 return resultobj;
27681 fail:
27682 return NULL;
27683 }
27684
27685
27686 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27687 PyObject *resultobj;
27688 wxPyControl *arg1 = (wxPyControl *) 0 ;
27689 bool result;
27690 PyObject * obj0 = 0 ;
27691 char *kwnames[] = {
27692 (char *) "self", NULL
27693 };
27694
27695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27697 {
27698 PyThreadState* __tstate = wxPyBeginAllowThreads();
27699 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27700
27701 wxPyEndAllowThreads(__tstate);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
27704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27705 return resultobj;
27706 fail:
27707 return NULL;
27708 }
27709
27710
27711 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27712 PyObject *resultobj;
27713 wxPyControl *arg1 = (wxPyControl *) 0 ;
27714 bool result;
27715 PyObject * obj0 = 0 ;
27716 char *kwnames[] = {
27717 (char *) "self", NULL
27718 };
27719
27720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27725
27726 wxPyEndAllowThreads(__tstate);
27727 if (PyErr_Occurred()) SWIG_fail;
27728 }
27729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27730 return resultobj;
27731 fail:
27732 return NULL;
27733 }
27734
27735
27736 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27737 PyObject *resultobj;
27738 wxPyControl *arg1 = (wxPyControl *) 0 ;
27739 wxSize result;
27740 PyObject * obj0 = 0 ;
27741 char *kwnames[] = {
27742 (char *) "self", NULL
27743 };
27744
27745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27747 {
27748 PyThreadState* __tstate = wxPyBeginAllowThreads();
27749 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27750
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 {
27755 wxSize * resultptr;
27756 resultptr = new wxSize((wxSize &) result);
27757 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27758 }
27759 return resultobj;
27760 fail:
27761 return NULL;
27762 }
27763
27764
27765 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27766 PyObject *resultobj;
27767 wxPyControl *arg1 = (wxPyControl *) 0 ;
27768 wxWindow *arg2 = (wxWindow *) 0 ;
27769 PyObject * obj0 = 0 ;
27770 PyObject * obj1 = 0 ;
27771 char *kwnames[] = {
27772 (char *) "self",(char *) "child", NULL
27773 };
27774
27775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
27776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 (arg1)->base_AddChild(arg2);
27781
27782 wxPyEndAllowThreads(__tstate);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 }
27785 Py_INCREF(Py_None); resultobj = Py_None;
27786 return resultobj;
27787 fail:
27788 return NULL;
27789 }
27790
27791
27792 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27793 PyObject *resultobj;
27794 wxPyControl *arg1 = (wxPyControl *) 0 ;
27795 wxWindow *arg2 = (wxWindow *) 0 ;
27796 PyObject * obj0 = 0 ;
27797 PyObject * obj1 = 0 ;
27798 char *kwnames[] = {
27799 (char *) "self",(char *) "child", NULL
27800 };
27801
27802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
27803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27805 {
27806 PyThreadState* __tstate = wxPyBeginAllowThreads();
27807 (arg1)->base_RemoveChild(arg2);
27808
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 Py_INCREF(Py_None); resultobj = Py_None;
27813 return resultobj;
27814 fail:
27815 return NULL;
27816 }
27817
27818
27819 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
27820 PyObject *obj;
27821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27822 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
27823 Py_INCREF(obj);
27824 return Py_BuildValue((char *)"");
27825 }
27826 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
27827 PyObject *resultobj;
27828 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27829 int arg2 = (int) 0 ;
27830 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27831 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27832 wxHelpEvent *result;
27833 wxPoint temp3 ;
27834 PyObject * obj0 = 0 ;
27835 PyObject * obj1 = 0 ;
27836 PyObject * obj2 = 0 ;
27837 char *kwnames[] = {
27838 (char *) "type",(char *) "winid",(char *) "pt", NULL
27839 };
27840
27841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
27842 if (obj0) {
27843 {
27844 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
27845 if (PyErr_Occurred()) SWIG_fail;
27846 }
27847 }
27848 if (obj1) {
27849 {
27850 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 }
27854 if (obj2) {
27855 {
27856 arg3 = &temp3;
27857 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27858 }
27859 }
27860 {
27861 PyThreadState* __tstate = wxPyBeginAllowThreads();
27862 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
27863
27864 wxPyEndAllowThreads(__tstate);
27865 if (PyErr_Occurred()) SWIG_fail;
27866 }
27867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
27868 return resultobj;
27869 fail:
27870 return NULL;
27871 }
27872
27873
27874 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27875 PyObject *resultobj;
27876 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27877 wxPoint *result;
27878 PyObject * obj0 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
27884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27885 {
27886 PyThreadState* __tstate = wxPyBeginAllowThreads();
27887 {
27888 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
27889 result = (wxPoint *) &_result_ref;
27890 }
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
27896 return resultobj;
27897 fail:
27898 return NULL;
27899 }
27900
27901
27902 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27905 wxPoint *arg2 = 0 ;
27906 wxPoint temp2 ;
27907 PyObject * obj0 = 0 ;
27908 PyObject * obj1 = 0 ;
27909 char *kwnames[] = {
27910 (char *) "self",(char *) "pos", NULL
27911 };
27912
27913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
27914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27915 {
27916 arg2 = &temp2;
27917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27918 }
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 (arg1)->SetPosition((wxPoint const &)*arg2);
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 Py_INCREF(Py_None); resultobj = Py_None;
27927 return resultobj;
27928 fail:
27929 return NULL;
27930 }
27931
27932
27933 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27934 PyObject *resultobj;
27935 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27936 wxString *result;
27937 PyObject * obj0 = 0 ;
27938 char *kwnames[] = {
27939 (char *) "self", NULL
27940 };
27941
27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
27943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 {
27947 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
27948 result = (wxString *) &_result_ref;
27949 }
27950
27951 wxPyEndAllowThreads(__tstate);
27952 if (PyErr_Occurred()) SWIG_fail;
27953 }
27954 {
27955 #if wxUSE_UNICODE
27956 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27957 #else
27958 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27959 #endif
27960 }
27961 return resultobj;
27962 fail:
27963 return NULL;
27964 }
27965
27966
27967 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27968 PyObject *resultobj;
27969 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27970 wxString *arg2 = 0 ;
27971 bool temp2 = False ;
27972 PyObject * obj0 = 0 ;
27973 PyObject * obj1 = 0 ;
27974 char *kwnames[] = {
27975 (char *) "self",(char *) "link", NULL
27976 };
27977
27978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
27979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27980 {
27981 arg2 = wxString_in_helper(obj1);
27982 if (arg2 == NULL) SWIG_fail;
27983 temp2 = True;
27984 }
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 (arg1)->SetLink((wxString const &)*arg2);
27988
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 Py_INCREF(Py_None); resultobj = Py_None;
27993 {
27994 if (temp2)
27995 delete arg2;
27996 }
27997 return resultobj;
27998 fail:
27999 {
28000 if (temp2)
28001 delete arg2;
28002 }
28003 return NULL;
28004 }
28005
28006
28007 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj;
28009 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28010 wxString *result;
28011 PyObject * obj0 = 0 ;
28012 char *kwnames[] = {
28013 (char *) "self", NULL
28014 };
28015
28016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 {
28021 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28022 result = (wxString *) &_result_ref;
28023 }
28024
28025 wxPyEndAllowThreads(__tstate);
28026 if (PyErr_Occurred()) SWIG_fail;
28027 }
28028 {
28029 #if wxUSE_UNICODE
28030 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28031 #else
28032 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28033 #endif
28034 }
28035 return resultobj;
28036 fail:
28037 return NULL;
28038 }
28039
28040
28041 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28042 PyObject *resultobj;
28043 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28044 wxString *arg2 = 0 ;
28045 bool temp2 = False ;
28046 PyObject * obj0 = 0 ;
28047 PyObject * obj1 = 0 ;
28048 char *kwnames[] = {
28049 (char *) "self",(char *) "target", NULL
28050 };
28051
28052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28054 {
28055 arg2 = wxString_in_helper(obj1);
28056 if (arg2 == NULL) SWIG_fail;
28057 temp2 = True;
28058 }
28059 {
28060 PyThreadState* __tstate = wxPyBeginAllowThreads();
28061 (arg1)->SetTarget((wxString const &)*arg2);
28062
28063 wxPyEndAllowThreads(__tstate);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 }
28066 Py_INCREF(Py_None); resultobj = Py_None;
28067 {
28068 if (temp2)
28069 delete arg2;
28070 }
28071 return resultobj;
28072 fail:
28073 {
28074 if (temp2)
28075 delete arg2;
28076 }
28077 return NULL;
28078 }
28079
28080
28081 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28082 PyObject *obj;
28083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28084 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28085 Py_INCREF(obj);
28086 return Py_BuildValue((char *)"");
28087 }
28088 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj;
28090 wxWindow *arg1 = (wxWindow *) NULL ;
28091 bool arg2 = (bool) True ;
28092 wxContextHelp *result;
28093 PyObject * obj0 = 0 ;
28094 PyObject * obj1 = 0 ;
28095 char *kwnames[] = {
28096 (char *) "window",(char *) "doNow", NULL
28097 };
28098
28099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28100 if (obj0) {
28101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28102 }
28103 if (obj1) {
28104 {
28105 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 }
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28112
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
28117 return resultobj;
28118 fail:
28119 return NULL;
28120 }
28121
28122
28123 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28124 PyObject *resultobj;
28125 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28126 PyObject * obj0 = 0 ;
28127 char *kwnames[] = {
28128 (char *) "self", NULL
28129 };
28130
28131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28133 {
28134 PyThreadState* __tstate = wxPyBeginAllowThreads();
28135 delete arg1;
28136
28137 wxPyEndAllowThreads(__tstate);
28138 if (PyErr_Occurred()) SWIG_fail;
28139 }
28140 Py_INCREF(Py_None); resultobj = Py_None;
28141 return resultobj;
28142 fail:
28143 return NULL;
28144 }
28145
28146
28147 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28148 PyObject *resultobj;
28149 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28150 wxWindow *arg2 = (wxWindow *) NULL ;
28151 bool result;
28152 PyObject * obj0 = 0 ;
28153 PyObject * obj1 = 0 ;
28154 char *kwnames[] = {
28155 (char *) "self",(char *) "window", NULL
28156 };
28157
28158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28160 if (obj1) {
28161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28162 }
28163 {
28164 PyThreadState* __tstate = wxPyBeginAllowThreads();
28165 result = (bool)(arg1)->BeginContextHelp(arg2);
28166
28167 wxPyEndAllowThreads(__tstate);
28168 if (PyErr_Occurred()) SWIG_fail;
28169 }
28170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28171 return resultobj;
28172 fail:
28173 return NULL;
28174 }
28175
28176
28177 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28178 PyObject *resultobj;
28179 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28180 bool result;
28181 PyObject * obj0 = 0 ;
28182 char *kwnames[] = {
28183 (char *) "self", NULL
28184 };
28185
28186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28188 {
28189 PyThreadState* __tstate = wxPyBeginAllowThreads();
28190 result = (bool)(arg1)->EndContextHelp();
28191
28192 wxPyEndAllowThreads(__tstate);
28193 if (PyErr_Occurred()) SWIG_fail;
28194 }
28195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28196 return resultobj;
28197 fail:
28198 return NULL;
28199 }
28200
28201
28202 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28203 PyObject *obj;
28204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28205 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28206 Py_INCREF(obj);
28207 return Py_BuildValue((char *)"");
28208 }
28209 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj;
28211 wxWindow *arg1 = (wxWindow *) 0 ;
28212 int arg2 = (int) wxID_CONTEXT_HELP ;
28213 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28214 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28215 wxSize const &arg4_defvalue = wxDefaultSize ;
28216 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28217 long arg5 = (long) wxBU_AUTODRAW ;
28218 wxContextHelpButton *result;
28219 wxPoint temp3 ;
28220 wxSize temp4 ;
28221 PyObject * obj0 = 0 ;
28222 PyObject * obj1 = 0 ;
28223 PyObject * obj2 = 0 ;
28224 PyObject * obj3 = 0 ;
28225 PyObject * obj4 = 0 ;
28226 char *kwnames[] = {
28227 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28228 };
28229
28230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28232 if (obj1) {
28233 {
28234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28235 if (PyErr_Occurred()) SWIG_fail;
28236 }
28237 }
28238 if (obj2) {
28239 {
28240 arg3 = &temp3;
28241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28242 }
28243 }
28244 if (obj3) {
28245 {
28246 arg4 = &temp4;
28247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28248 }
28249 }
28250 if (obj4) {
28251 {
28252 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 }
28256 {
28257 PyThreadState* __tstate = wxPyBeginAllowThreads();
28258 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28259
28260 wxPyEndAllowThreads(__tstate);
28261 if (PyErr_Occurred()) SWIG_fail;
28262 }
28263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28264 return resultobj;
28265 fail:
28266 return NULL;
28267 }
28268
28269
28270 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28271 PyObject *obj;
28272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28273 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28274 Py_INCREF(obj);
28275 return Py_BuildValue((char *)"");
28276 }
28277 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj;
28279 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28280 wxHelpProvider *result;
28281 PyObject * obj0 = 0 ;
28282 char *kwnames[] = {
28283 (char *) "helpProvider", NULL
28284 };
28285
28286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28288 {
28289 PyThreadState* __tstate = wxPyBeginAllowThreads();
28290 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28291
28292 wxPyEndAllowThreads(__tstate);
28293 if (PyErr_Occurred()) SWIG_fail;
28294 }
28295 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28296 return resultobj;
28297 fail:
28298 return NULL;
28299 }
28300
28301
28302 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28303 PyObject *resultobj;
28304 wxHelpProvider *result;
28305 char *kwnames[] = {
28306 NULL
28307 };
28308
28309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 result = (wxHelpProvider *)wxHelpProvider::Get();
28313
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj;
28326 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28327 wxWindow *arg2 = (wxWindow *) 0 ;
28328 wxString result;
28329 PyObject * obj0 = 0 ;
28330 PyObject * obj1 = 0 ;
28331 char *kwnames[] = {
28332 (char *) "self",(char *) "window", NULL
28333 };
28334
28335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28337 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28338 {
28339 PyThreadState* __tstate = wxPyBeginAllowThreads();
28340 result = (arg1)->GetHelp((wxWindow const *)arg2);
28341
28342 wxPyEndAllowThreads(__tstate);
28343 if (PyErr_Occurred()) SWIG_fail;
28344 }
28345 {
28346 #if wxUSE_UNICODE
28347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28348 #else
28349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28350 #endif
28351 }
28352 return resultobj;
28353 fail:
28354 return NULL;
28355 }
28356
28357
28358 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28359 PyObject *resultobj;
28360 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28361 wxWindow *arg2 = (wxWindow *) 0 ;
28362 bool result;
28363 PyObject * obj0 = 0 ;
28364 PyObject * obj1 = 0 ;
28365 char *kwnames[] = {
28366 (char *) "self",(char *) "window", NULL
28367 };
28368
28369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28372 {
28373 PyThreadState* __tstate = wxPyBeginAllowThreads();
28374 result = (bool)(arg1)->ShowHelp(arg2);
28375
28376 wxPyEndAllowThreads(__tstate);
28377 if (PyErr_Occurred()) SWIG_fail;
28378 }
28379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28380 return resultobj;
28381 fail:
28382 return NULL;
28383 }
28384
28385
28386 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28387 PyObject *resultobj;
28388 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28389 wxWindow *arg2 = (wxWindow *) 0 ;
28390 wxString *arg3 = 0 ;
28391 bool temp3 = False ;
28392 PyObject * obj0 = 0 ;
28393 PyObject * obj1 = 0 ;
28394 PyObject * obj2 = 0 ;
28395 char *kwnames[] = {
28396 (char *) "self",(char *) "window",(char *) "text", NULL
28397 };
28398
28399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28402 {
28403 arg3 = wxString_in_helper(obj2);
28404 if (arg3 == NULL) SWIG_fail;
28405 temp3 = True;
28406 }
28407 {
28408 PyThreadState* __tstate = wxPyBeginAllowThreads();
28409 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28410
28411 wxPyEndAllowThreads(__tstate);
28412 if (PyErr_Occurred()) SWIG_fail;
28413 }
28414 Py_INCREF(Py_None); resultobj = Py_None;
28415 {
28416 if (temp3)
28417 delete arg3;
28418 }
28419 return resultobj;
28420 fail:
28421 {
28422 if (temp3)
28423 delete arg3;
28424 }
28425 return NULL;
28426 }
28427
28428
28429 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28430 PyObject *resultobj;
28431 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28432 int arg2 ;
28433 wxString *arg3 = 0 ;
28434 bool temp3 = False ;
28435 PyObject * obj0 = 0 ;
28436 PyObject * obj1 = 0 ;
28437 PyObject * obj2 = 0 ;
28438 char *kwnames[] = {
28439 (char *) "self",(char *) "id",(char *) "text", NULL
28440 };
28441
28442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28444 {
28445 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 {
28449 arg3 = wxString_in_helper(obj2);
28450 if (arg3 == NULL) SWIG_fail;
28451 temp3 = True;
28452 }
28453 {
28454 PyThreadState* __tstate = wxPyBeginAllowThreads();
28455 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28456
28457 wxPyEndAllowThreads(__tstate);
28458 if (PyErr_Occurred()) SWIG_fail;
28459 }
28460 Py_INCREF(Py_None); resultobj = Py_None;
28461 {
28462 if (temp3)
28463 delete arg3;
28464 }
28465 return resultobj;
28466 fail:
28467 {
28468 if (temp3)
28469 delete arg3;
28470 }
28471 return NULL;
28472 }
28473
28474
28475 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj;
28477 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28478 PyObject * obj0 = 0 ;
28479 char *kwnames[] = {
28480 (char *) "self", NULL
28481 };
28482
28483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28485 {
28486 PyThreadState* __tstate = wxPyBeginAllowThreads();
28487 wxHelpProvider_Destroy(arg1);
28488
28489 wxPyEndAllowThreads(__tstate);
28490 if (PyErr_Occurred()) SWIG_fail;
28491 }
28492 Py_INCREF(Py_None); resultobj = Py_None;
28493 return resultobj;
28494 fail:
28495 return NULL;
28496 }
28497
28498
28499 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28500 PyObject *obj;
28501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28503 Py_INCREF(obj);
28504 return Py_BuildValue((char *)"");
28505 }
28506 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28507 PyObject *resultobj;
28508 wxSimpleHelpProvider *result;
28509 char *kwnames[] = {
28510 NULL
28511 };
28512
28513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28522 return resultobj;
28523 fail:
28524 return NULL;
28525 }
28526
28527
28528 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28529 PyObject *obj;
28530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28531 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28532 Py_INCREF(obj);
28533 return Py_BuildValue((char *)"");
28534 }
28535 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28536 PyObject *resultobj;
28537 wxBitmap *arg1 = 0 ;
28538 wxCursor const &arg2_defvalue = wxNullCursor ;
28539 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28540 wxGenericDragImage *result;
28541 PyObject * obj0 = 0 ;
28542 PyObject * obj1 = 0 ;
28543 char *kwnames[] = {
28544 (char *) "image",(char *) "cursor", NULL
28545 };
28546
28547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28549 if (arg1 == NULL) {
28550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28551 }
28552 if (obj1) {
28553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28554 if (arg2 == NULL) {
28555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28556 }
28557 }
28558 {
28559 PyThreadState* __tstate = wxPyBeginAllowThreads();
28560 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28561
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
28565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28566 return resultobj;
28567 fail:
28568 return NULL;
28569 }
28570
28571
28572 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28573 PyObject *resultobj;
28574 wxIcon *arg1 = 0 ;
28575 wxCursor const &arg2_defvalue = wxNullCursor ;
28576 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28577 wxGenericDragImage *result;
28578 PyObject * obj0 = 0 ;
28579 PyObject * obj1 = 0 ;
28580 char *kwnames[] = {
28581 (char *) "image",(char *) "cursor", NULL
28582 };
28583
28584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28586 if (arg1 == NULL) {
28587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28588 }
28589 if (obj1) {
28590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28591 if (arg2 == NULL) {
28592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28593 }
28594 }
28595 {
28596 PyThreadState* __tstate = wxPyBeginAllowThreads();
28597 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28598
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
28602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28603 return resultobj;
28604 fail:
28605 return NULL;
28606 }
28607
28608
28609 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28610 PyObject *resultobj;
28611 wxString *arg1 = 0 ;
28612 wxCursor const &arg2_defvalue = wxNullCursor ;
28613 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28614 wxGenericDragImage *result;
28615 bool temp1 = False ;
28616 PyObject * obj0 = 0 ;
28617 PyObject * obj1 = 0 ;
28618 char *kwnames[] = {
28619 (char *) "str",(char *) "cursor", NULL
28620 };
28621
28622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28623 {
28624 arg1 = wxString_in_helper(obj0);
28625 if (arg1 == NULL) SWIG_fail;
28626 temp1 = True;
28627 }
28628 if (obj1) {
28629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28630 if (arg2 == NULL) {
28631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28632 }
28633 }
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28637
28638 wxPyEndAllowThreads(__tstate);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 }
28641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28642 {
28643 if (temp1)
28644 delete arg1;
28645 }
28646 return resultobj;
28647 fail:
28648 {
28649 if (temp1)
28650 delete arg1;
28651 }
28652 return NULL;
28653 }
28654
28655
28656 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28657 PyObject *resultobj;
28658 wxPyTreeCtrl *arg1 = 0 ;
28659 wxTreeItemId *arg2 = 0 ;
28660 wxGenericDragImage *result;
28661 PyObject * obj0 = 0 ;
28662 PyObject * obj1 = 0 ;
28663 char *kwnames[] = {
28664 (char *) "treeCtrl",(char *) "id", NULL
28665 };
28666
28667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28669 if (arg1 == NULL) {
28670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28671 }
28672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28673 if (arg2 == NULL) {
28674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28675 }
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
28678 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28679
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
28683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28684 return resultobj;
28685 fail:
28686 return NULL;
28687 }
28688
28689
28690 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28691 PyObject *resultobj;
28692 wxPyListCtrl *arg1 = 0 ;
28693 long arg2 ;
28694 wxGenericDragImage *result;
28695 PyObject * obj0 = 0 ;
28696 PyObject * obj1 = 0 ;
28697 char *kwnames[] = {
28698 (char *) "listCtrl",(char *) "id", NULL
28699 };
28700
28701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28703 if (arg1 == NULL) {
28704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28705 }
28706 {
28707 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 {
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28713
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28718 return resultobj;
28719 fail:
28720 return NULL;
28721 }
28722
28723
28724 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28725 PyObject *resultobj;
28726 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28727 PyObject * obj0 = 0 ;
28728 char *kwnames[] = {
28729 (char *) "self", NULL
28730 };
28731
28732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28734 {
28735 PyThreadState* __tstate = wxPyBeginAllowThreads();
28736 delete arg1;
28737
28738 wxPyEndAllowThreads(__tstate);
28739 if (PyErr_Occurred()) SWIG_fail;
28740 }
28741 Py_INCREF(Py_None); resultobj = Py_None;
28742 return resultobj;
28743 fail:
28744 return NULL;
28745 }
28746
28747
28748 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28749 PyObject *resultobj;
28750 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28751 wxBitmap *arg2 = (wxBitmap *) 0 ;
28752 PyObject * obj0 = 0 ;
28753 PyObject * obj1 = 0 ;
28754 char *kwnames[] = {
28755 (char *) "self",(char *) "bitmap", NULL
28756 };
28757
28758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
28759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28761 {
28762 PyThreadState* __tstate = wxPyBeginAllowThreads();
28763 (arg1)->SetBackingBitmap(arg2);
28764
28765 wxPyEndAllowThreads(__tstate);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 Py_INCREF(Py_None); resultobj = Py_None;
28769 return resultobj;
28770 fail:
28771 return NULL;
28772 }
28773
28774
28775 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28776 PyObject *resultobj;
28777 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28778 wxPoint *arg2 = 0 ;
28779 wxWindow *arg3 = (wxWindow *) 0 ;
28780 bool arg4 = (bool) False ;
28781 wxRect *arg5 = (wxRect *) NULL ;
28782 bool result;
28783 wxPoint temp2 ;
28784 PyObject * obj0 = 0 ;
28785 PyObject * obj1 = 0 ;
28786 PyObject * obj2 = 0 ;
28787 PyObject * obj3 = 0 ;
28788 PyObject * obj4 = 0 ;
28789 char *kwnames[] = {
28790 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28791 };
28792
28793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28795 {
28796 arg2 = &temp2;
28797 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28798 }
28799 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28800 if (obj3) {
28801 {
28802 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28803 if (PyErr_Occurred()) SWIG_fail;
28804 }
28805 }
28806 if (obj4) {
28807 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28808 }
28809 {
28810 PyThreadState* __tstate = wxPyBeginAllowThreads();
28811 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
28812
28813 wxPyEndAllowThreads(__tstate);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28817 return resultobj;
28818 fail:
28819 return NULL;
28820 }
28821
28822
28823 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
28824 PyObject *resultobj;
28825 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28826 wxPoint *arg2 = 0 ;
28827 wxWindow *arg3 = (wxWindow *) 0 ;
28828 wxWindow *arg4 = (wxWindow *) 0 ;
28829 bool result;
28830 wxPoint temp2 ;
28831 PyObject * obj0 = 0 ;
28832 PyObject * obj1 = 0 ;
28833 PyObject * obj2 = 0 ;
28834 PyObject * obj3 = 0 ;
28835 char *kwnames[] = {
28836 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28837 };
28838
28839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28841 {
28842 arg2 = &temp2;
28843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28844 }
28845 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28846 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
28850
28851 wxPyEndAllowThreads(__tstate);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 }
28854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28855 return resultobj;
28856 fail:
28857 return NULL;
28858 }
28859
28860
28861 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28862 PyObject *resultobj;
28863 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28864 bool result;
28865 PyObject * obj0 = 0 ;
28866 char *kwnames[] = {
28867 (char *) "self", NULL
28868 };
28869
28870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
28871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28872 {
28873 PyThreadState* __tstate = wxPyBeginAllowThreads();
28874 result = (bool)(arg1)->EndDrag();
28875
28876 wxPyEndAllowThreads(__tstate);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 }
28879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28880 return resultobj;
28881 fail:
28882 return NULL;
28883 }
28884
28885
28886 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
28887 PyObject *resultobj;
28888 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28889 wxPoint *arg2 = 0 ;
28890 bool result;
28891 wxPoint temp2 ;
28892 PyObject * obj0 = 0 ;
28893 PyObject * obj1 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self",(char *) "pt", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
28899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28900 {
28901 arg2 = &temp2;
28902 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28903 }
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
28906 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
28907
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28912 return resultobj;
28913 fail:
28914 return NULL;
28915 }
28916
28917
28918 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
28919 PyObject *resultobj;
28920 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28921 bool result;
28922 PyObject * obj0 = 0 ;
28923 char *kwnames[] = {
28924 (char *) "self", NULL
28925 };
28926
28927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
28928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28929 {
28930 PyThreadState* __tstate = wxPyBeginAllowThreads();
28931 result = (bool)(arg1)->Show();
28932
28933 wxPyEndAllowThreads(__tstate);
28934 if (PyErr_Occurred()) SWIG_fail;
28935 }
28936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28937 return resultobj;
28938 fail:
28939 return NULL;
28940 }
28941
28942
28943 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
28944 PyObject *resultobj;
28945 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28946 bool result;
28947 PyObject * obj0 = 0 ;
28948 char *kwnames[] = {
28949 (char *) "self", NULL
28950 };
28951
28952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
28953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28954 {
28955 PyThreadState* __tstate = wxPyBeginAllowThreads();
28956 result = (bool)(arg1)->Hide();
28957
28958 wxPyEndAllowThreads(__tstate);
28959 if (PyErr_Occurred()) SWIG_fail;
28960 }
28961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28962 return resultobj;
28963 fail:
28964 return NULL;
28965 }
28966
28967
28968 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
28969 PyObject *resultobj;
28970 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28971 wxPoint *arg2 = 0 ;
28972 wxRect result;
28973 wxPoint temp2 ;
28974 PyObject * obj0 = 0 ;
28975 PyObject * obj1 = 0 ;
28976 char *kwnames[] = {
28977 (char *) "self",(char *) "pos", NULL
28978 };
28979
28980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
28981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28982 {
28983 arg2 = &temp2;
28984 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28985 }
28986 {
28987 PyThreadState* __tstate = wxPyBeginAllowThreads();
28988 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
28989
28990 wxPyEndAllowThreads(__tstate);
28991 if (PyErr_Occurred()) SWIG_fail;
28992 }
28993 {
28994 wxRect * resultptr;
28995 resultptr = new wxRect((wxRect &) result);
28996 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
28997 }
28998 return resultobj;
28999 fail:
29000 return NULL;
29001 }
29002
29003
29004 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29005 PyObject *resultobj;
29006 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29007 wxDC *arg2 = 0 ;
29008 wxPoint *arg3 = 0 ;
29009 bool result;
29010 wxPoint temp3 ;
29011 PyObject * obj0 = 0 ;
29012 PyObject * obj1 = 0 ;
29013 PyObject * obj2 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "self",(char *) "dc",(char *) "pos", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29021 if (arg2 == NULL) {
29022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29023 }
29024 {
29025 arg3 = &temp3;
29026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29027 }
29028 {
29029 PyThreadState* __tstate = wxPyBeginAllowThreads();
29030 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29031
29032 wxPyEndAllowThreads(__tstate);
29033 if (PyErr_Occurred()) SWIG_fail;
29034 }
29035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29036 return resultobj;
29037 fail:
29038 return NULL;
29039 }
29040
29041
29042 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29043 PyObject *resultobj;
29044 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29045 wxDC *arg2 = 0 ;
29046 wxMemoryDC *arg3 = 0 ;
29047 wxRect *arg4 = 0 ;
29048 wxRect *arg5 = 0 ;
29049 bool result;
29050 wxRect temp4 ;
29051 wxRect temp5 ;
29052 PyObject * obj0 = 0 ;
29053 PyObject * obj1 = 0 ;
29054 PyObject * obj2 = 0 ;
29055 PyObject * obj3 = 0 ;
29056 PyObject * obj4 = 0 ;
29057 char *kwnames[] = {
29058 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29059 };
29060
29061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29064 if (arg2 == NULL) {
29065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29066 }
29067 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29068 if (arg3 == NULL) {
29069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29070 }
29071 {
29072 arg4 = &temp4;
29073 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29074 }
29075 {
29076 arg5 = &temp5;
29077 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29078 }
29079 {
29080 PyThreadState* __tstate = wxPyBeginAllowThreads();
29081 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29082
29083 wxPyEndAllowThreads(__tstate);
29084 if (PyErr_Occurred()) SWIG_fail;
29085 }
29086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29087 return resultobj;
29088 fail:
29089 return NULL;
29090 }
29091
29092
29093 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29094 PyObject *resultobj;
29095 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29096 wxPoint *arg2 = 0 ;
29097 wxPoint *arg3 = 0 ;
29098 bool arg4 ;
29099 bool arg5 ;
29100 bool result;
29101 wxPoint temp2 ;
29102 wxPoint temp3 ;
29103 PyObject * obj0 = 0 ;
29104 PyObject * obj1 = 0 ;
29105 PyObject * obj2 = 0 ;
29106 PyObject * obj3 = 0 ;
29107 PyObject * obj4 = 0 ;
29108 char *kwnames[] = {
29109 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29110 };
29111
29112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29114 {
29115 arg2 = &temp2;
29116 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29117 }
29118 {
29119 arg3 = &temp3;
29120 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29121 }
29122 {
29123 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29124 if (PyErr_Occurred()) SWIG_fail;
29125 }
29126 {
29127 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29128 if (PyErr_Occurred()) SWIG_fail;
29129 }
29130 {
29131 PyThreadState* __tstate = wxPyBeginAllowThreads();
29132 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29133
29134 wxPyEndAllowThreads(__tstate);
29135 if (PyErr_Occurred()) SWIG_fail;
29136 }
29137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29138 return resultobj;
29139 fail:
29140 return NULL;
29141 }
29142
29143
29144 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29145 PyObject *obj;
29146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29147 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29148 Py_INCREF(obj);
29149 return Py_BuildValue((char *)"");
29150 }
29151 static PyMethodDef SwigMethods[] = {
29152 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29153 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29154 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29155 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29156 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29157 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29158 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29159 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29160 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29161 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29162 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29163 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29164 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29165 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29166 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29167 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29168 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29169 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29170 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29171 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29172 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29173 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29174 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29175 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29176 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29177 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29178 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29179 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29180 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29181 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29182 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29183 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29184 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29185 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29186 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29187 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29188 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29189 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29190 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29191 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29192 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29193 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29194 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29195 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29196 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29197 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29198 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29199 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29200 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29201 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29202 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29203 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29204 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29205 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29206 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29207 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29208 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29209 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29210 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29211 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29212 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29213 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29214 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29215 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29216 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29217 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29218 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29219 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29220 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29221 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29222 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29223 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29224 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29225 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29226 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29227 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29228 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29229 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29230 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29231 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29232 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29233 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29234 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29235 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29236 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29237 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29238 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29239 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29240 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29241 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29242 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29243 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29244 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29245 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29246 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29247 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29248 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29249 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29250 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29251 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29252 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29253 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29254 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29255 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29256 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29257 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29258 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29259 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29260 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29261 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29262 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29263 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
29264 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29265 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29266 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29267 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29268 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29269 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29270 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29271 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29272 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29273 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29274 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29275 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29276 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29277 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29278 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29279 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29280 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29281 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29282 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29283 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29284 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29285 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29286 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29287 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29288 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29289 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29290 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29291 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29292 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29293 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29294 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29295 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29296 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29297 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29298 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29299 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29300 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29301 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29302 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29303 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29304 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29305 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29306 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29307 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29308 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29309 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29310 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29311 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29312 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29313 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29314 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29315 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29316 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29317 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29318 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29319 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29320 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29321 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29322 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29323 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29324 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29325 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29326 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29327 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29328 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29329 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29330 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29331 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29332 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29333 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29334 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29335 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29336 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29337 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29338 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29339 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29340 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29341 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29342 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29343 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29344 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29345 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29346 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29347 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29348 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29349 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29350 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29351 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29352 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29353 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29354 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29355 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29356 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29357 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29358 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29359 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29360 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29361 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29362 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29363 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29364 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29365 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29366 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29367 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29368 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29369 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29370 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29371 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29372 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29373 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29374 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29375 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29376 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29377 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29378 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29379 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29380 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29381 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29382 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29383 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29384 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29385 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29386 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29387 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29388 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29389 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29390 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29391 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29392 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29393 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29394 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29395 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29396 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29397 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29398 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29399 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29400 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29401 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29402 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29403 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29404 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29405 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29406 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29407 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29408 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29409 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29410 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29411 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29412 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29413 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29415 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29419 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29421 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29422 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29425 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29427 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29436 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29440 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29441 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29446 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29447 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29450 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29451 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29453 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29456 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29457 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29458 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29463 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29467 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29468 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29469 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29473 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29474 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29479 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29480 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29484 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29486 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29487 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29488 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29490 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29491 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29495 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29496 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29497 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29501 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29502 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29505 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29506 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29507 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29508 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29518 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29537 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29575 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29582 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29587 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29589 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29594 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29599 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29605 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29628 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29651 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29678 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29690 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29713 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29720 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
29747 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
29759 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
29763 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
29767 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
29774 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
29781 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
29790 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
29805 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29811 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
29833 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
29835 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
29838 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
29844 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29847 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
29850 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
29853 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
29854 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
29855 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
29856 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
29861 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29862 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
29863 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
29864 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29867 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
29868 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29870 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
29873 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
29877 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29878 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
29883 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
29885 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
29886 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
29891 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
29912 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
29920 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
29925 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
29927 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
29935 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
29937 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
29942 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
29953 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
29955 { NULL, NULL }
29956 };
29957
29958
29959 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29960
29961 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
29962 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
29963 }
29964 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
29965 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
29966 }
29967 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
29968 return (void *)((wxSizer *) ((wxBoxSizer *) x));
29969 }
29970 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
29971 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
29972 }
29973 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
29974 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29975 }
29976 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
29977 return (void *)((wxSizer *) ((wxGridSizer *) x));
29978 }
29979 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
29980 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
29981 }
29982 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
29983 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
29984 }
29985 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
29986 return (void *)((wxSizer *) ((wxPySizer *) x));
29987 }
29988 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
29989 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
29990 }
29991 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29992 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29993 }
29994 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29995 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29996 }
29997 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29998 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29999 }
30000 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30001 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30002 }
30003 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30004 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30005 }
30006 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30007 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30008 }
30009 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30010 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30011 }
30012 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30013 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30014 }
30015 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30016 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30017 }
30018 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30019 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30020 }
30021 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30022 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30023 }
30024 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30025 return (void *)((wxEvent *) ((wxPyEvent *) x));
30026 }
30027 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30028 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30029 }
30030 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30031 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30032 }
30033 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30034 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30035 }
30036 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30037 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30038 }
30039 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30040 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30041 }
30042 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30043 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30044 }
30045 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30046 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30047 }
30048 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30049 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30050 }
30051 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30052 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30053 }
30054 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30055 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30056 }
30057 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30058 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30059 }
30060 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30061 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30062 }
30063 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30064 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30065 }
30066 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30067 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30068 }
30069 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30070 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30071 }
30072 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30073 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30074 }
30075 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30076 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30077 }
30078 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30079 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30080 }
30081 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30082 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30083 }
30084 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30085 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30086 }
30087 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30088 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30089 }
30090 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30091 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30092 }
30093 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30095 }
30096 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30097 return (void *)((wxEvent *) ((wxShowEvent *) x));
30098 }
30099 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30100 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30101 }
30102 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30104 }
30105 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30107 }
30108 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30109 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30110 }
30111 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30112 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30113 }
30114 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30115 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30116 }
30117 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30118 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30119 }
30120 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30121 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30122 }
30123 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30124 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30125 }
30126 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30127 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30128 }
30129 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30130 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30131 }
30132 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30133 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30134 }
30135 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30136 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30137 }
30138 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30139 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30140 }
30141 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30142 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30143 }
30144 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30145 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30146 }
30147 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30148 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30149 }
30150 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30151 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30152 }
30153 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30154 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30155 }
30156 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30157 return (void *)((wxControl *) ((wxComboBox *) x));
30158 }
30159 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30160 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30161 }
30162 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30163 return (void *)((wxControl *) ((wxStaticBox *) x));
30164 }
30165 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30166 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30167 }
30168 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30169 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30170 }
30171 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30172 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30173 }
30174 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30175 return (void *)((wxControl *) ((wxScrollBar *) x));
30176 }
30177 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30178 return (void *)((wxControl *) ((wxBookCtrl *) x));
30179 }
30180 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30181 return (void *)((wxControl *) ((wxRadioButton *) x));
30182 }
30183 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30184 return (void *)((wxControl *) ((wxToggleButton *) x));
30185 }
30186 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30187 return (void *)((wxControl *) ((wxGauge *) x));
30188 }
30189 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30190 return (void *)((wxControl *) ((wxToolBarBase *) x));
30191 }
30192 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30193 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30194 }
30195 static void *_p_wxButtonTo_p_wxControl(void *x) {
30196 return (void *)((wxControl *) ((wxButton *) x));
30197 }
30198 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30199 return (void *)((wxControl *) ((wxSpinButton *) x));
30200 }
30201 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30202 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30203 }
30204 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30205 return (void *)((wxControl *) ((wxControlWithItems *) x));
30206 }
30207 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30208 return (void *)((wxControl *) ((wxRadioBox *) x));
30209 }
30210 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30211 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30212 }
30213 static void *_p_wxListbookTo_p_wxControl(void *x) {
30214 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30215 }
30216 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30217 return (void *)((wxControl *) ((wxCheckBox *) x));
30218 }
30219 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30220 return (void *)((wxControl *) ((wxTextCtrl *) x));
30221 }
30222 static void *_p_wxListViewTo_p_wxControl(void *x) {
30223 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30224 }
30225 static void *_p_wxSliderTo_p_wxControl(void *x) {
30226 return (void *)((wxControl *) ((wxSlider *) x));
30227 }
30228 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30229 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30230 }
30231 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30232 return (void *)((wxControl *) ((wxPyControl *) x));
30233 }
30234 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30235 return (void *)((wxControl *) ((wxStaticLine *) x));
30236 }
30237 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30238 return (void *)((wxControl *) ((wxStaticText *) x));
30239 }
30240 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30241 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30242 }
30243 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30244 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30245 }
30246 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30247 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30248 }
30249 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30250 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30251 }
30252 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30253 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30254 }
30255 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30256 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30257 }
30258 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30259 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30260 }
30261 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30262 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30263 }
30264 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30265 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30266 }
30267 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30269 }
30270 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30271 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30272 }
30273 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30274 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30275 }
30276 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30277 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30278 }
30279 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30280 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30281 }
30282 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30283 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30284 }
30285 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30287 }
30288 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30289 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30290 }
30291 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30293 }
30294 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30296 }
30297 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30299 }
30300 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30301 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30302 }
30303 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30304 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30305 }
30306 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30307 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30308 }
30309 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30310 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30311 }
30312 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30313 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30314 }
30315 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30316 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30317 }
30318 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30319 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30320 }
30321 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30322 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30323 }
30324 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30325 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30326 }
30327 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30328 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30329 }
30330 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30332 }
30333 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30335 }
30336 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30337 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30338 }
30339 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30340 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30341 }
30342 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30344 }
30345 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30347 }
30348 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30350 }
30351 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30353 }
30354 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30356 }
30357 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30359 }
30360 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30362 }
30363 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30365 }
30366 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30368 }
30369 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30371 }
30372 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30374 }
30375 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30377 }
30378 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30380 }
30381 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30383 }
30384 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30385 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30386 }
30387 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30388 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30389 }
30390 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30391 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30392 }
30393 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30394 return (void *)((wxButton *) ((wxBitmapButton *) x));
30395 }
30396 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30397 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30398 }
30399 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30400 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30401 }
30402 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30403 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30404 }
30405 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30406 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30407 }
30408 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30409 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30410 }
30411 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30412 return (void *)((wxObject *) ((wxSizerItem *) x));
30413 }
30414 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30415 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30416 }
30417 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30418 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30419 }
30420 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30422 }
30423 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30424 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30425 }
30426 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30427 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30428 }
30429 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30430 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30431 }
30432 static void *_p_wxSizerTo_p_wxObject(void *x) {
30433 return (void *)((wxObject *) ((wxSizer *) x));
30434 }
30435 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30436 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30437 }
30438 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30440 }
30441 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30443 }
30444 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30445 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30446 }
30447 static void *_p_wxEventTo_p_wxObject(void *x) {
30448 return (void *)((wxObject *) ((wxEvent *) x));
30449 }
30450 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30451 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30452 }
30453 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30454 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30455 }
30456 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30457 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30458 }
30459 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30461 }
30462 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30464 }
30465 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30467 }
30468 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30469 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30470 }
30471 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30472 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30473 }
30474 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30475 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30476 }
30477 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30478 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30479 }
30480 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30481 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30482 }
30483 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30484 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30485 }
30486 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30488 }
30489 static void *_p_wxControlTo_p_wxObject(void *x) {
30490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30491 }
30492 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30494 }
30495 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30497 }
30498 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30500 }
30501 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30503 }
30504 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30506 }
30507 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30508 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30509 }
30510 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30512 }
30513 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30514 return (void *)((wxObject *) ((wxFSFile *) x));
30515 }
30516 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30517 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30518 }
30519 static void *_p_wxListViewTo_p_wxObject(void *x) {
30520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30521 }
30522 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30524 }
30525 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30527 }
30528 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30529 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30530 }
30531 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30533 }
30534 static void *_p_wxListbookTo_p_wxObject(void *x) {
30535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30536 }
30537 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30538 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30539 }
30540 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30542 }
30543 static void *_p_wxSliderTo_p_wxObject(void *x) {
30544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30545 }
30546 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30547 return (void *)((wxObject *) ((wxMenuItem *) x));
30548 }
30549 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30550 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30551 }
30552 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30553 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30554 }
30555 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30556 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30557 }
30558 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30559 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30560 }
30561 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30562 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30563 }
30564 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30565 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30566 }
30567 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30568 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30569 }
30570 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30571 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30572 }
30573 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30575 }
30576 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30577 return (void *)((wxObject *) ((wxContextHelp *) x));
30578 }
30579 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30580 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30581 }
30582 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30583 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30584 }
30585 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30586 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30587 }
30588 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30589 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30590 }
30591 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30592 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30593 }
30594 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30595 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30596 }
30597 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30598 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30599 }
30600 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30601 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30602 }
30603 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30604 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30605 }
30606 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30607 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30608 }
30609 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30610 return (void *)((wxObject *) ((wxImageHandler *) x));
30611 }
30612 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30613 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30614 }
30615 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30616 return (void *)((wxObject *) ((wxEvtHandler *) x));
30617 }
30618 static void *_p_wxListEventTo_p_wxObject(void *x) {
30619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30620 }
30621 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30623 }
30624 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30626 }
30627 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30629 }
30630 static void *_p_wxButtonTo_p_wxObject(void *x) {
30631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30632 }
30633 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30635 }
30636 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30638 }
30639 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30641 }
30642 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30643 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30644 }
30645 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30647 }
30648 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30650 }
30651 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
30653 }
30654 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30655 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30656 }
30657 static void *_p_wxListItemTo_p_wxObject(void *x) {
30658 return (void *)((wxObject *) ((wxListItem *) x));
30659 }
30660 static void *_p_wxImageTo_p_wxObject(void *x) {
30661 return (void *)((wxObject *) ((wxImage *) x));
30662 }
30663 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30664 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30665 }
30666 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30667 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30668 }
30669 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30670 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30671 }
30672 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30673 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30674 }
30675 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30677 }
30678 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30680 }
30681 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30682 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30683 }
30684 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30686 }
30687 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30688 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30689 }
30690 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30691 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30692 }
30693 static void *_p_wxWindowTo_p_wxObject(void *x) {
30694 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30695 }
30696 static void *_p_wxMenuTo_p_wxObject(void *x) {
30697 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30698 }
30699 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30701 }
30702 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30703 return (void *)((wxObject *) ((wxFileSystem *) x));
30704 }
30705 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30706 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30707 }
30708 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30709 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30710 }
30711 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30712 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30713 }
30714 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30715 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30716 }
30717 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30718 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30719 }
30720 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30721 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30722 }
30723 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30725 }
30726 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30727 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30728 }
30729 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30730 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30731 }
30732 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
30733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
30734 }
30735 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30736 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30737 }
30738 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30739 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30740 }
30741 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30743 }
30744 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30746 }
30747 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
30748 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
30749 }
30750 static void *_p_wxToolBarTo_p_wxObject(void *x) {
30751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30752 }
30753 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30754 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30755 }
30756 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30757 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30758 }
30759 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
30760 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
30761 }
30762 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
30763 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
30764 }
30765 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30766 return (void *)((wxWindow *) ((wxMenuBar *) x));
30767 }
30768 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
30769 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30770 }
30771 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
30772 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
30773 }
30774 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
30775 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
30776 }
30777 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
30778 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
30779 }
30780 static void *_p_wxControlTo_p_wxWindow(void *x) {
30781 return (void *)((wxWindow *) ((wxControl *) x));
30782 }
30783 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
30784 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
30785 }
30786 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
30787 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30788 }
30789 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
30790 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
30791 }
30792 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
30793 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
30794 }
30795 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
30796 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
30797 }
30798 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
30799 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
30800 }
30801 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30802 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30803 }
30804 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
30805 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
30806 }
30807 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
30808 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
30809 }
30810 static void *_p_wxListbookTo_p_wxWindow(void *x) {
30811 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30812 }
30813 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
30814 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
30815 }
30816 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
30817 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
30818 }
30819 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
30820 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
30821 }
30822 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
30823 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30824 }
30825 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
30826 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30827 }
30828 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
30829 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30830 }
30831 static void *_p_wxListViewTo_p_wxWindow(void *x) {
30832 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30833 }
30834 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
30835 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30836 }
30837 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
30838 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
30839 }
30840 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
30841 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
30842 }
30843 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
30844 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
30845 }
30846 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
30847 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
30848 }
30849 static void *_p_wxSliderTo_p_wxWindow(void *x) {
30850 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
30851 }
30852 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
30853 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
30854 }
30855 static void *_p_wxButtonTo_p_wxWindow(void *x) {
30856 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
30857 }
30858 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
30859 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
30860 }
30861 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
30862 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30863 }
30864 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
30865 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
30866 }
30867 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
30868 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30869 }
30870 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
30871 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30872 }
30873 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
30874 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
30875 }
30876 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
30877 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
30878 }
30879 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
30880 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
30881 }
30882 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
30883 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
30884 }
30885 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
30886 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
30887 }
30888 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
30889 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30890 }
30891 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
30892 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30893 }
30894 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
30895 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
30896 }
30897 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
30898 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
30899 }
30900 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
30901 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
30902 }
30903 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
30904 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
30905 }
30906 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
30907 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
30908 }
30909 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
30910 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
30911 }
30912 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
30913 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
30914 }
30915 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
30916 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
30917 }
30918 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
30919 return (void *)((wxControlWithItems *) ((wxChoice *) x));
30920 }
30921 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
30922 return (void *)((wxControlWithItems *) ((wxListBox *) x));
30923 }
30924 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
30925 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
30926 }
30927 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
30928 return (void *)((wxValidator *) ((wxPyValidator *) x));
30929 }
30930 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30931 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}};
30932 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}};
30933 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30934 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30935 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}};
30936 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30937 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30938 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30939 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}};
30940 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30941 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
30942 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30943 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}};
30944 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30945 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30946 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
30947 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30948 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30949 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30950 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
30951 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30952 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30953 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30954 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30955 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30956 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30957 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30958 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30959 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30960 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30961 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}};
30962 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30963 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30964 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30965 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30966 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30967 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30968 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30969 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30970 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}};
30971 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30972 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
30973 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30974 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}};
30975 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30976 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}};
30977 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
30978 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30979 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30980 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30981 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30982 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30983 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30984 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30985 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30986 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30987 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30988 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30989 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30990 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30991 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30992 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
30993 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30994 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30995 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30996 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30997 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30998 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}};
30999 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31000 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31001 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}};
31002 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31003 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31004 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31005 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31006 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}};
31007 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31008 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}};
31009 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31010 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31011 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31012 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31013 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
31014
31015 static swig_type_info *swig_types_initial[] = {
31016 _swigt__p_wxTextUrlEvent,
31017 _swigt__p_wxBookCtrlEvent,
31018 _swigt__p_wxSizer,
31019 _swigt__p_wxCheckBox,
31020 _swigt__p_wxPyTreeCtrl,
31021 _swigt__p_wxEvent,
31022 _swigt__p_wxGenericDirCtrl,
31023 _swigt__p_bool,
31024 _swigt__p_wxPyTreeItemData,
31025 _swigt__p_wxItemContainer,
31026 _swigt__p_wxDirFilterListCtrl,
31027 _swigt__p_wxPyListCtrl,
31028 _swigt__p_wxStaticLine,
31029 _swigt__p_wxControl,
31030 _swigt__p_wxPyControl,
31031 _swigt__p_wxGauge,
31032 _swigt__p_wxToolBarBase,
31033 _swigt__p_wxFont,
31034 _swigt__p_wxToggleButton,
31035 _swigt__p_wxRadioButton,
31036 _swigt__p_wxChoice,
31037 _swigt__p_wxMemoryDC,
31038 _swigt__p_wxListItemAttr,
31039 _swigt__p_void,
31040 _swigt__p_int,
31041 _swigt__p_wxSize,
31042 _swigt__p_wxDC,
31043 _swigt__p_wxListView,
31044 _swigt__p_wxIcon,
31045 _swigt__p_wxTextCtrl,
31046 _swigt__p_wxNotebook,
31047 _swigt__p_wxNotifyEvent,
31048 _swigt__p_wxArrayString,
31049 _swigt__p_wxListbook,
31050 _swigt__p_wxStaticBitmap,
31051 _swigt__p_wxSlider,
31052 _swigt__p_wxStaticBox,
31053 _swigt__p_wxArrayInt,
31054 _swigt__p_wxContextHelp,
31055 _swigt__p_long,
31056 _swigt__p_wxEvtHandler,
31057 _swigt__p_wxListEvent,
31058 _swigt__p_wxListBox,
31059 _swigt__p_wxCheckListBox,
31060 _swigt__p_wxBookCtrl,
31061 _swigt__p_wxSpinButton,
31062 _swigt__p_wxButton,
31063 _swigt__p_wxBitmapButton,
31064 _swigt__p_wxRect,
31065 _swigt__p_wxContextHelpButton,
31066 _swigt__p_wxRadioBox,
31067 _swigt__p_wxScrollBar,
31068 _swigt__p_char,
31069 _swigt__p_wxTreeItemId,
31070 _swigt__p_wxComboBox,
31071 _swigt__p_wxHelpEvent,
31072 _swigt__p_wxListItem,
31073 _swigt__p_wxNotebookSizer,
31074 _swigt__p_wxSpinEvent,
31075 _swigt__p_wxGenericDragImage,
31076 _swigt__p_wxSpinCtrl,
31077 _swigt__p_wxImageList,
31078 _swigt__p_wxHelpProvider,
31079 _swigt__p_wxTextAttr,
31080 _swigt__p_wxSimpleHelpProvider,
31081 _swigt__p_wxPoint,
31082 _swigt__p_wxListbookEvent,
31083 _swigt__p_wxNotebookEvent,
31084 _swigt__p_wxObject,
31085 _swigt__p_wxCursor,
31086 _swigt__p_wxKeyEvent,
31087 _swigt__p_wxWindow,
31088 _swigt__p_wxString,
31089 _swigt__p_wxBitmap,
31090 _swigt__p_wxTreeEvent,
31091 _swigt__p_wxMouseEvent,
31092 _swigt__p_wxCommandEvent,
31093 _swigt__p_wxStaticText,
31094 _swigt__p_wxControlWithItems,
31095 _swigt__p_wxToolBarToolBase,
31096 _swigt__p_wxColour,
31097 _swigt__p_wxToolBar,
31098 _swigt__p_wxBookCtrlSizer,
31099 _swigt__p_wxValidator,
31100 0
31101 };
31102
31103
31104 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31105
31106 static swig_const_info swig_const_table[] = {
31107 {0}};
31108
31109 #ifdef __cplusplus
31110 }
31111 #endif
31112
31113 #ifdef __cplusplus
31114 extern "C"
31115 #endif
31116 SWIGEXPORT(void) SWIG_init(void) {
31117 static PyObject *SWIG_globals = 0;
31118 static int typeinit = 0;
31119 PyObject *m, *d;
31120 int i;
31121 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31122 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31123 d = PyModule_GetDict(m);
31124
31125 if (!typeinit) {
31126 for (i = 0; swig_types_initial[i]; i++) {
31127 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31128 }
31129 typeinit = 1;
31130 }
31131 SWIG_InstallConstants(d,swig_const_table);
31132
31133 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31134 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31135 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31136 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31137 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31138 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31139 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31140 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31141 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31142 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31143 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31144 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31145 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31146 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31147 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31148 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31149 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31150 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31151 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31152 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31153 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31154 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31155 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31156 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31157 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31158 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31159 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31160 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31161 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31162 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31163 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31164 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31165 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31166 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31167 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31168 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31169 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31170 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31171 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31172 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31173 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31174 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31175 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31176 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31177 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31178 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31179 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31180 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31181 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31182 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31183 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31184 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31185 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31186 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31187 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31188 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31189 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31190 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31191 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31192 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31193 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31194 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31195 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31196 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN));
31197 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE));
31198 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT));
31199 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW));
31200 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND));
31201 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31202 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31203 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31204 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31205 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31206 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31207 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31208 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31209 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31210 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31211 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31212 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31213 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31214 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31215 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31216 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31217 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31218 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31219 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31220 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31221 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31222 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31223 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31224 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31225 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31226 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31227 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31228 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31229 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31230 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31231 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31232 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31233 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31234 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31235 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31236 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31237 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31238 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31239 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31240 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31241 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31242 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31243 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31244 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31245 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31246 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31247 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31248 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31249 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31250 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31251 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31252 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31253 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31254 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31255 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31256 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31257 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31258 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31259 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31260 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31261 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31262 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31263 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31264 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31265 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31266 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31267 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31268 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31269 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31270 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31271 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31272 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31273 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31274 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31275 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31276 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31277 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31278 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31279 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31280 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31281 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31282 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31283 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31284 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31285 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31286 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31287 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31288 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31289 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31290 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31291 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31292 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31293 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31294 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31295 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31296 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31297 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31298 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31299 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31300 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31301 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31302 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31303 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31304 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31305 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31306 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31307 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31308 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31309 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31310 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31311 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31312 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31313 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31314 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31315 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31316 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31317 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31318 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31319 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31320 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31321 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31322 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31323 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31324 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31325 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31326 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31327 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31328 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31329 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31330 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31331 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31332 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31336 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31337 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31338 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31339 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31340 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31341 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31342 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31343 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31344
31345 // Map renamed classes back to their common name for OOR
31346 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31347
31348 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31349 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31350 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31351 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31352 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31353 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31354 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31355 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31356 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31357 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31358 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31359 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31360 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31361 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31362 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31363 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31364 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31365 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31366 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31367 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31368 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31369 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31370 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31371 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31372 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31373 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31374 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31375 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31376 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31377 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31378 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31379 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31380 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31381 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31382 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31383 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31384 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31385 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31386 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31387 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31388 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31389 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31390 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31391 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31392 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31393 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31394 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31395 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31396 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31397 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31398 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31399 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31400 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31401 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31402 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31403 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31404
31405 // Map renamed classes back to their common name for OOR
31406 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31407 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31408
31409 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31410 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31411 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31412 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31413 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31414 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31415 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31416 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31417 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31418 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31419
31420 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31421
31422 }
31423